Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jul 2010 16:46:46 +0100
From:      Christopher Key <cjk32@cam.ac.uk>
To:        Scott Sanbeg <ssanbeg@gmail.com>
Cc:        ports@freebsd.org
Subject:   Re: lang/perl5.12 segfault (amd64 - 8-STABLE)
Message-ID:  <4C45C4E6.1050103@cam.ac.uk>
In-Reply-To: <34E328CA9DFF430C83108175DB941C79@sunrise>
References:  <20100717041919.70411.qmail@exxodus.fedaykin.here>	<4C414AB5.1060305@gwdg.de>	<alpine.BSF.2.00.1007170744070.9805@tiktik.epipe.com><alpine.BSF.2.00.1007170911460.9805@tiktik.epipe.com> <4C43CA8D.3090404@cam.ac.uk> <34E328CA9DFF430C83108175DB941C79@sunrise>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------020703090305030706020604
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Scott Sanbeg wrote:
> The patch could possibly solve my challenge, but if it works then why do I
> get this?
>
> root@anchorage:/usr/ports/lang/perl5.12# patch < my.patch
> Hmm...  Looks like a unified diff to me...
> The text leading up to this was:
> --------------------------
> |--- files/patch-freebsd.sh     2009-01-13 21:38:50.000000000 +0000
> |+++ files/patch-freebsd.sh     2010-07-16 21:46:31.000000000 +0100
> --------------------------
> Patching file files/patch-freebsd.sh using Plan A...
> patch: **** malformed patch at line 8: @@ -88,6 +88,8 @@
>
>   
I guess that the patch is getting munged somewhere; I'm not sure why its
ended up inline in the pr rather than available to download.  Try the
attached.

Chris.

--------------020703090305030706020604
Content-Type: text/plain;
 name="perl5.12.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="perl5.12.patch"

--- files/patch-freebsd.sh	2009-01-13 21:38:50.000000000 +0000
+++ files/patch-freebsd.sh	2010-07-16 21:46:31.000000000 +0100
@@ -1,5 +1,5 @@
---- hints/freebsd.sh
-+++ hints/freebsd.sh
+--- ./hints/freebsd.sh.orig	2010-05-07 14:34:10.000000000 +0100
++++ ./hints/freebsd.sh	2010-07-16 21:43:38.000000000 +0100
 @@ -88,6 +88,8 @@
  	esac
  	libswanted=`echo $libswanted | sed 's/ malloc / /'`
@@ -29,7 +29,16 @@
              lddlflags="-shared "
          fi
          cccdlflags='-DPIC -fPIC'
-@@ -136,7 +142,7 @@
+@@ -133,7 +139,7 @@
+ *)
+        libpth="/usr/lib /usr/local/lib"
+        glibpth="/usr/lib /usr/local/lib"
+-       ldflags="-Wl,-E "
++       ldflags="%%PTHREAD_LIBS%% -Wl,-E "
+         lddlflags="-shared "
+         cccdlflags='-DPIC -fPIC'
+        ;;
+@@ -143,7 +149,7 @@
  0*|1*|2*|3*) ;;
  
  *)
@@ -38,7 +47,7 @@
  	if /usr/bin/file -L /usr/lib/libc.so | /usr/bin/grep -vq "not stripped" ; then
  	    usenm=false
  	fi
-@@ -183,7 +189,9 @@
+@@ -190,7 +196,9 @@
  
  # This script UU/usethreads.cbu will get 'called-back' by Configure 
  # after it has prompted the user for whether to use threads.

--------------020703090305030706020604--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C45C4E6.1050103>