components/perl/perl522/patches/1000_largefiles.patch
changeset 5554 63d6ec724bea
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/perl/perl522/patches/1000_largefiles.patch	Fri Mar 04 13:37:19 2016 -0800
@@ -0,0 +1,18 @@
+In house patch to correctly identify large file support in a 64-bit
+compilation environment.
+A correction of this sort should be sent upstream.
+--- perl-5.22.1/hints/solaris_2.sh-orig	2016-02-25 20:22:01.201322692 -0800
++++ perl-5.22.1/hints/solaris_2.sh	2016-02-25 20:22:31.670265384 -0800
+@@ -494,9 +494,9 @@
+ ''|$define|true|[yY]*)
+ 
+ # Keep these in the left margin.
+-ccflags_uselargefiles="`$run getconf LFS_CFLAGS 2>/dev/null`"
+-ldflags_uselargefiles="`$run getconf LFS_LDFLAGS 2>/dev/null`"
+-libswanted_uselargefiles="`$run getconf LFS_LIBS 2>/dev/null|sed -e 's@^-l@@' -e 's@ -l@ @g'`"
++ccflags_uselargefiles="`$run getconf LFS64_CFLAGS 2>/dev/null`"
++ldflags_uselargefiles="`$run getconf LFS64_LDFLAGS 2>/dev/null`"
++libswanted_uselargefiles="`$run getconf LFS64_LIBS 2>/dev/null|sed -e 's@^-l@@' -e 's@ -l@ @g'`"
+ 
+     ccflags="$ccflags $ccflags_uselargefiles"
+     ldflags="$ldflags $ldflags_uselargefiles"