summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2012-06-14 16:12:11 +0000
committerjperkin <jperkin@pkgsrc.org>2012-06-14 16:12:11 +0000
commit30f3fc7dedfdacd6b3a7faa85f9dfabdf80feff1 (patch)
treea3870b0033cf04e7a3ce501588a7452e29b5b887 /lang
parent9c15381b651eba20e2de5db330a360700e2b4a67 (diff)
downloadpkgsrc-30f3fc7dedfdacd6b3a7faa85f9dfabdf80feff1.tar.gz
Apply limited part of patch from perl bug 63604 to fix build on Solaris
with GCC 64-bit. Tested on 32-bit too. Fixes PR pkg/44999.
Diffstat (limited to 'lang')
-rw-r--r--lang/perl5/distinfo3
-rw-r--r--lang/perl5/patches/patch-hints_solaris_2.sh15
2 files changed, 17 insertions, 1 deletions
diff --git a/lang/perl5/distinfo b/lang/perl5/distinfo
index b9459ed9d40..32b51086b1f 100644
--- a/lang/perl5/distinfo
+++ b/lang/perl5/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.84 2012/02/23 13:00:23 fhajny Exp $
+$NetBSD: distinfo,v 1.85 2012/06/14 16:12:11 jperkin Exp $
SHA1 (perl-5.14.2.tar.gz) = df1549d65cdef2b20023af83ecaa2a024109a5ad
RMD160 (perl-5.14.2.tar.gz) = bed043edbebd69e1279e9a70424e2552389bea79
@@ -17,6 +17,7 @@ SHA1 (patch-cpan_Digest_Digest.pm) = bcd507631268608385a1a80d879c44cb2a057560
SHA1 (patch-dist_ExtUtils_CBuilder_lib_ExtUtils_CBuilder_Base.pm) = 322af733b280a3f9c676dcbc890d8dc4f0e3880b
SHA1 (patch-dist_ExtUtils_CBuilder_t_04-base.t) = 362e6f2884fa225f541b22d8f44af1aa58859daf
SHA1 (patch-hints_netbsd.sh) = acbe28ff4b99d45e29e66003bdd370ba5aaaa999
+SHA1 (patch-hints_solaris_2.sh) = ded1dca7f731764c750b5064cc3cc84fbfb98546
SHA1 (patch-ta) = 51a3e02148e78eaab882125f859e59add39a4fbe
SHA1 (patch-zd) = 15532739b4a582da322d3e51fc364905bacbcd7e
SHA1 (patch-ze) = 82f03439ab59aac4adfcb895ca22a0bbaaa0a6d1
diff --git a/lang/perl5/patches/patch-hints_solaris_2.sh b/lang/perl5/patches/patch-hints_solaris_2.sh
new file mode 100644
index 00000000000..c15bad71301
--- /dev/null
+++ b/lang/perl5/patches/patch-hints_solaris_2.sh
@@ -0,0 +1,15 @@
+$NetBSD: patch-hints_solaris_2.sh,v 1.1 2012/06/14 16:12:11 jperkin Exp $
+
+https://rt.perl.org/rt3/Public/Bug/Display.html?id=63604
+
+--- hints/solaris_2.sh.orig 2012-06-14 15:47:47.585206126 +0000
++++ hints/solaris_2.sh 2012-06-14 15:49:23.484363255 +0000
+@@ -568,7 +568,7 @@
+ # ccflags="$ccflags -Wa,`getconf XBS5_LP64_OFF64_CFLAGS 2>/dev/null`"
+ # fi
+ ldflags="$ldflags -m64"
+- lddlflags="$lddlflags -G -m64"
++ lddlflags="$lddlflags -shared -m64"
+ ;;
+ *)
+ getconfccflags="`getconf XBS5_LP64_OFF64_CFLAGS 2>/dev/null`"