[Git][haskell-team/DHG_packages][master] haskell-gi: force overloading on (except for haddocks)
Clint Adams
gitlab at salsa.debian.org
Sun Nov 25 01:31:10 GMT 2018
Clint Adams pushed to branch master at Debian Haskell Group / DHG_packages
Commits:
c97b7284 by Clint Adams at 2018-11-25T01:30:43Z
haskell-gi: force overloading on (except for haddocks)
- - - - -
3 changed files:
- p/haskell-haskell-gi/debian/changelog
- + p/haskell-haskell-gi/debian/patches/force-overloading
- p/haskell-haskell-gi/debian/patches/series
Changes:
=====================================
p/haskell-haskell-gi/debian/changelog
=====================================
@@ -1,3 +1,9 @@
+haskell-haskell-gi (0.21.4-2) unstable; urgency=medium
+
+ * Force overloading on (except for haddocks).
+
+ -- Clint Adams <clint at debian.org> Sat, 24 Nov 2018 20:29:18 -0500
+
haskell-haskell-gi (0.21.4-1) unstable; urgency=low
* Initial release
=====================================
p/haskell-haskell-gi/debian/patches/force-overloading
=====================================
@@ -0,0 +1,14 @@
+--- a/lib/Data/GI/CodeGen/Code.hs
++++ b/lib/Data/GI/CodeGen/Code.hs
+@@ -789,9 +789,9 @@
+
+ -- | Generate some convenience CPP macros.
+ cppMacros :: Text
+-cppMacros = T.unlines ["#define ENABLE_OVERLOADING (MIN_VERSION_haskell_gi_overloading(1,0,0) \\"
++cppMacros = T.unlines ["#define ENABLE_OVERLOADING \\"
+ -- Haddocks look better without overloading
+- , " && !defined(__HADDOCK_VERSION__))"
++ , " !defined(__HADDOCK_VERSION__))"
+ ]
+
+ -- | Standard fields for every module.
=====================================
p/haskell-haskell-gi/debian/patches/series
=====================================
@@ -1 +1,2 @@
fix-doctests
+force-overloading
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/commit/c97b7284368abf84a8681aa237acb3126bf164de
--
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/commit/c97b7284368abf84a8681aa237acb3126bf164de
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/20181125/cfe8c9d3/attachment.html>
More information about the Pkg-haskell-commits
mailing list