[csw-devel] SF.net SVN: gar:[10837] csw/mgar/pkg/gettext/trunk

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Mon Aug 30 04:23:36 CEST 2010


Revision: 10837
          http://gar.svn.sourceforge.net/gar/?rev=10837&view=rev
Author:   bdwalton
Date:     2010-08-30 02:23:36 +0000 (Mon, 30 Aug 2010)

Log Message:
-----------
gettext: patch libtool to not strip runpath args (thx Dago)

Modified Paths:
--------------
    csw/mgar/pkg/gettext/trunk/Makefile
    csw/mgar/pkg/gettext/trunk/checksums

Added Paths:
-----------
    csw/mgar/pkg/gettext/trunk/files/0002-Update-ltmain.sh-to-prevent-libtool-stripping-runpat.patch

Modified: csw/mgar/pkg/gettext/trunk/Makefile
===================================================================
--- csw/mgar/pkg/gettext/trunk/Makefile	2010-08-28 22:30:38 UTC (rev 10836)
+++ csw/mgar/pkg/gettext/trunk/Makefile	2010-08-30 02:23:36 UTC (rev 10837)
@@ -35,6 +35,7 @@
 DISTFILES += libintl.so.3.s
 
 PATCHFILES += 0001-Use-the-auto-detected-SHELL-to-run-convert-archive.patch
+PATCHFILES += 0002-Update-ltmain.sh-to-prevent-libtool-stripping-runpat.patch
 
 CONFIGURE_ARGS  = $(DIRPATHS)
 CONFIGURE_ARGS += --program-prefix=g

Modified: csw/mgar/pkg/gettext/trunk/checksums
===================================================================
--- csw/mgar/pkg/gettext/trunk/checksums	2010-08-28 22:30:38 UTC (rev 10836)
+++ csw/mgar/pkg/gettext/trunk/checksums	2010-08-30 02:23:36 UTC (rev 10837)
@@ -1,4 +1,5 @@
 a772021542b5c511ea9542a06996ed64  0001-Use-the-auto-detected-SHELL-to-run-convert-archive.patch
+56f02edaf64175e69988f78bb53c8753  0002-Update-ltmain.sh-to-prevent-libtool-stripping-runpat.patch
 3dd55b952826d2b32f51308f2f91aa89  gettext-0.18.1.1.tar.gz
 d44a9a6ec0952bad7ad07026ccb42a10  libgettextlib-0.14.1.so.i
 ff0219d47dbc11034b55872172488e01  libgettextlib-0.14.1.so.s

Added: csw/mgar/pkg/gettext/trunk/files/0002-Update-ltmain.sh-to-prevent-libtool-stripping-runpat.patch
===================================================================
--- csw/mgar/pkg/gettext/trunk/files/0002-Update-ltmain.sh-to-prevent-libtool-stripping-runpat.patch	                        (rev 0)
+++ csw/mgar/pkg/gettext/trunk/files/0002-Update-ltmain.sh-to-prevent-libtool-stripping-runpat.patch	2010-08-30 02:23:36 UTC (rev 10837)
@@ -0,0 +1,32 @@
+From f07d0231074a94edc074f4732d4fd979faad3829 Mon Sep 17 00:00:00 2001
+From: Ben Walton <bwalton at opencsw.org>
+Date: Mon, 30 Aug 2010 02:48:17 +0200
+Subject: [PATCH] Update ltmain.sh to prevent libtool stripping runpath options
+
+Libtool was stripping some or all of the -xnorunpath and -norunpath
+options at various points during the compilation of libasprintf.
+This prevents that from happening so we don't get things like:
+/opt/SUNWspro/lib/rw7:/opt/SUNWspro/lib/v8:/opt/SUNWspro/lib in the
+R{,UN}PATH variables of the library header.
+
+Signed-off-by: Ben Walton <bwalton at opencsw.org>
+---
+ build-aux/ltmain.sh |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/build-aux/ltmain.sh b/build-aux/ltmain.sh
+index 0dd6f3a..5cab855 100644
+--- a/build-aux/ltmain.sh
++++ b/build-aux/ltmain.sh
+@@ -4901,7 +4901,7 @@ func_mode_link ()
+       # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC
+       # @file GCC response files
+       -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
+-      -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*)
++      -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-xnorunpath|-norunpath)
+         func_quote_for_eval "$arg"
+ 	arg="$func_quote_for_eval_result"
+         func_append compile_command " $arg"
+-- 
+1.7.1
+


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list