[SM-Commit] GIT changes to master grimoire by Robin Cook (fdd25d4166ab37f374fc9471ade5c02059f3e5fc)

Robin Cook scm at sourcemage.org
Wed Aug 17 19:48:36 EDT 2011


GIT changes to master grimoire by Robin Cook <rcook at wyrms.net>:

 archive-libs/zziplib/HISTORY              |    3 +++
 archive-libs/zziplib/PRE_BUILD            |    4 +++-
 archive-libs/zziplib/export-dynamic.patch |   24 ++++++++++++++++++++++++
 3 files changed, 30 insertions(+), 1 deletion(-)

New commits:
commit fdd25d4166ab37f374fc9471ade5c02059f3e5fc
Author: Robin Cook <rcook at wyrms.net>
Commit: Robin Cook <rcook at wyrms.net>

    zziplib: added patch to correct -export-dynamic gcc switch

diff --git a/archive-libs/zziplib/HISTORY b/archive-libs/zziplib/HISTORY
index 0aef7dc..0aa986d 100644
--- a/archive-libs/zziplib/HISTORY
+++ b/archive-libs/zziplib/HISTORY
@@ -1,3 +1,6 @@
+2011-08-17 Robin Cook <rcook at wyrms.net>
+	* PRE_BUILD: added patch to correct -export-dynamic gcc switch
+
 2009-12-18 Bor Kraljič <pyrobor at ver.si>
 	* DETAILS: updated spell to 0.13.58
 	  fixed long description wrap
diff --git a/archive-libs/zziplib/PRE_BUILD b/archive-libs/zziplib/PRE_BUILD
index f997d0b..5e6bcad 100755
--- a/archive-libs/zziplib/PRE_BUILD
+++ b/archive-libs/zziplib/PRE_BUILD
@@ -2,4 +2,6 @@ default_pre_build &&
 cd "$SOURCE_DIRECTORY" &&
 message "${MESSAGE_COLOR}Removing that chmod * thing that may choke on install (too many args).$DEFAULT_COLOR" &&
 sed -i 's/chmod 664 \*/true/' docs/Makefile.am &&
-sed -i 's/chmod 664 \*/true/' docs/Makefile.in
+sed -i 's/chmod 664 \*/true/' docs/Makefile.in &&
+
+patch -p1 < $SCRIPT_DIRECTORY/export-dynamic.patch
diff --git a/archive-libs/zziplib/export-dynamic.patch b/archive-libs/zziplib/export-dynamic.patch
new file mode 100644
index 0000000..553a0a2
--- /dev/null
+++ b/archive-libs/zziplib/export-dynamic.patch
@@ -0,0 +1,24 @@
+diff -ur zziplib-0.13.58/configure zziplib-mod/configure
+--- zziplib-0.13.58/configure	2009-08-23 06:38:19.000000000 -0500
++++ zziplib-mod/configure	2011-08-11 18:53:13.259003119 -0500
+@@ -16179,7 +16179,7 @@
+ 
+     if test ".$can_build_shared" = .no
+     then ZZIPLIB_LDFLAGS=""
+-    else ZZIPLIB_LDFLAGS="--export-dynamic"
++    else ZZIPLIB_LDFLAGS="-Wl,--export-dynamic"
+     fi
+     RESOLVES=' # '
+   ;;
+diff -ur zziplib-0.13.58/configure.ac zziplib-mod/configure.ac
+--- zziplib-0.13.58/configure.ac	2009-08-23 06:38:24.000000000 -0500
++++ zziplib-mod/configure.ac	2011-08-11 18:53:49.758001053 -0500
+@@ -288,7 +288,7 @@
+ 
+     if test ".$can_build_shared" = .no
+     then ZZIPLIB_LDFLAGS=""
+-    else ZZIPLIB_LDFLAGS="--export-dynamic"
++    else ZZIPLIB_LDFLAGS="-Wl,--export-dynamic"
+     fi
+     RESOLVES=' # '
+   ;;


More information about the SM-Commit mailing list