summaryrefslogtreecommitdiff
path: root/lang/ghc7
diff options
context:
space:
mode:
authorpho <pho@pkgsrc.org>2015-02-16 07:04:58 +0000
committerpho <pho@pkgsrc.org>2015-02-16 07:04:58 +0000
commit77ec4d2f852139f8cc967dbb9cead74a8e1578cf (patch)
treeb4bfee6089f1686789b5e4fbc13dd288d52692f8 /lang/ghc7
parent3fef38e96a8e0abf38a38f9414b76369bf1dd2a6 (diff)
downloadpkgsrc-77ec4d2f852139f8cc967dbb9cead74a8e1578cf.tar.gz
Add upstream Trac URL
Diffstat (limited to 'lang/ghc7')
-rw-r--r--lang/ghc7/distinfo4
-rw-r--r--lang/ghc7/patches/patch-libraries_base_configure.ac11
2 files changed, 9 insertions, 6 deletions
diff --git a/lang/ghc7/distinfo b/lang/ghc7/distinfo
index 456f1d8f646..373c1ee4e2d 100644
--- a/lang/ghc7/distinfo
+++ b/lang/ghc7/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.10 2015/02/13 19:28:40 pho Exp $
+$NetBSD: distinfo,v 1.11 2015/02/16 07:04:58 pho Exp $
SHA1 (ghc-7.6.3-boot-i386-unknown-freebsd.tar.xz) = aea6224f30aa52d9998f2c77f473902179f03b8c
RMD160 (ghc-7.6.3-boot-i386-unknown-freebsd.tar.xz) = 39a588cac4a0411db45ef269fbe6a63c6cb428ee
@@ -14,7 +14,7 @@ RMD160 (ghc-7.6.3-src.tar.bz2) = 82a673ed38b7cf9a59afeb01057625fc761a822b
Size (ghc-7.6.3-src.tar.bz2) = 110763823 bytes
SHA1 (patch-Makefile) = a6692a4a90b8003a8719c51d82d15f5af0ba1907
SHA1 (patch-ghc.mk) = c4210aaa3e2b4a319b0b70da375ac89fddde5cb7
-SHA1 (patch-libraries_base_configure.ac) = 4f160844cf0e0fe6c5825b9a0ad8287d6eaaecc1
+SHA1 (patch-libraries_base_configure.ac) = dd6132c5335d7e0421ec2181ebb5a34bb162e255
SHA1 (patch-libraries_integer-gmp_configure.ac) = bc5ce3a6c39d681c413eb08b66e7287e39406fe0
SHA1 (patch-libraries_integer-simple_GHC_Integer.hs) = f079285bc489c194959b9bee2aa5c977ec77ae1e
SHA1 (patch-libraries_integer-simple_GHC_Integer_Type.hs) = b3140e169726f78f6d3b4edcd4cc119b6f767bfa
diff --git a/lang/ghc7/patches/patch-libraries_base_configure.ac b/lang/ghc7/patches/patch-libraries_base_configure.ac
index 5a42d47c598..078f32555a3 100644
--- a/lang/ghc7/patches/patch-libraries_base_configure.ac
+++ b/lang/ghc7/patches/patch-libraries_base_configure.ac
@@ -1,4 +1,7 @@
-$NetBSD: patch-libraries_base_configure.ac,v 1.1 2015/02/04 06:53:18 pho Exp $
+$NetBSD: patch-libraries_base_configure.ac,v 1.2 2015/02/16 07:04:58 pho Exp $
+
+Upstream Trac #10093:
+https://ghc.haskell.org/trac/ghc/ticket/10093
Do not clobber CPPFLAGS nor LDFLAGS:
@@ -8,11 +11,11 @@ FP_SEARCH_LIBS_PROTO(iconv) appends "-liconv" to $LIBS so it will be
linked to any conftest executables that follow, including one which
will be generated by AC_CHECK_SIZEOF().
-The problem that if libraries listed in $LIBS are in a non-standard
+The problem is that if libraries listed in $LIBS are in a non-standard
path while rpath flags are missing (due to LDFLAGS being clobbered in
this case), conftest executables cannot run even if they can be
linked. And if anything goes wrong during AC_CHECK_SIZEOF(T), it
-considers sizeof(T) as 0 unless T is known to be an existing type.
+considers sizeof(T) as 0 unless T is known to be an existing type:
...
checking for library containing iconv... -liconv
@@ -20,7 +23,7 @@ considers sizeof(T) as 0 unless T is known to be an existing type.
checking size of struct MD5Context... 0
...
-This means SIZEOF_STRUCT_MD5CONTEXT is defined to 0,
+This means SIZEOF_STRUCT_MD5CONTEXT gets defined to 0,
GHC.Fingerprint.fingerprintData allocates 0 bytes on the heap,
MD5Init/Update/Final corrupts the heap and then Bad Things will
happen.