[Git][haskell-team/DHG_packages][master] haskell-haskell-gi-base: Correct definition of gTypeError / fix reproducibility (Closes: #969958)

Scott Talbert (@swt2c) gitlab at salsa.debian.org
Sat Aug 5 14:59:10 BST 2023



Scott Talbert pushed to branch master at Debian Haskell Group / DHG_packages


Commits:
ddf57113 by Scott Talbert at 2023-08-05T09:46:08-04:00
haskell-haskell-gi-base: Correct definition of gTypeError / fix reproducibility (Closes: #969958)

- - - - -


3 changed files:

- p/haskell-haskell-gi-base/debian/changelog
- + p/haskell-haskell-gi-base/debian/patches/fix-gtypeerror.patch
- + p/haskell-haskell-gi-base/debian/patches/series


Changes:

=====================================
p/haskell-haskell-gi-base/debian/changelog
=====================================
@@ -1,3 +1,10 @@
+haskell-haskell-gi-base (0.26.4-2) unstable; urgency=medium
+
+  * Team upload.
+  * Correct definition of gTypeError / fix reproducibility (Closes: #969958)
+
+ -- Scott Talbert <swt at techie.net>  Sat, 05 Aug 2023 09:45:58 -0400
+
 haskell-haskell-gi-base (0.26.4-1) unstable; urgency=medium
 
   * New upstream release


=====================================
p/haskell-haskell-gi-base/debian/patches/fix-gtypeerror.patch
=====================================
@@ -0,0 +1,38 @@
+From ba4154155f6ebf3d56b60a64db0f4fdbb1bcad6f Mon Sep 17 00:00:00 2001
+From: Scott Talbert <swt at techie.net>
+Date: Sat, 5 Aug 2023 01:51:26 -0400
+Subject: [PATCH] Correct definition of gTypeError to a run-time type (#414)
+
+Fixes #413
+---
+ base/Data/GI/Base/GType.hsc | 10 ++++++----
+ 1 file changed, 6 insertions(+), 4 deletions(-)
+
+diff --git a/base/Data/GI/Base/GType.hsc b/base/Data/GI/Base/GType.hsc
+index 027147b..30d265e 100644
+--- a/Data/GI/Base/GType.hsc
++++ b/Data/GI/Base/GType.hsc
+@@ -107,10 +107,6 @@ gtypeInvalid = GType #const G_TYPE_INVALID
+ gtypeVariant :: GType
+ gtypeVariant = GType #const G_TYPE_VARIANT
+ 
+--- | The `GType` corresponding to 'Data.GI.Base.GError.GError'.
+-gtypeError :: GType
+-gtypeError = GType #const G_TYPE_ERROR
+-
+ -- | The `GType` corresponding to 'Data.GI.Base.BasicTypes.GParamSpec'.
+ gtypeParam :: GType
+ gtypeParam = GType #const G_TYPE_PARAM
+@@ -140,3 +136,9 @@ foreign import ccall haskell_gi_StablePtr_get_type :: CGType
+ -- | The `GType` for boxed `StablePtr`s.
+ gtypeStablePtr :: GType
+ gtypeStablePtr = GType haskell_gi_StablePtr_get_type
++
++foreign import ccall "g_error_get_type" g_error_get_type :: CGType
++
++-- | The `GType` corresponding to 'Data.GI.Base.GError.GError'.
++gtypeError :: GType
++gtypeError = GType g_error_get_type
+-- 
+2.40.1
+


=====================================
p/haskell-haskell-gi-base/debian/patches/series
=====================================
@@ -0,0 +1 @@
+fix-gtypeerror.patch



View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/ddf571130ad39af0b99d66534fdea79c3fbb7610

-- 
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/ddf571130ad39af0b99d66534fdea79c3fbb7610
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-commits/attachments/20230805/98904e26/attachment-0001.htm>


More information about the Pkg-haskell-commits mailing list