diff options
author | Robin Cook | 2011-08-17 18:47:39 -0500 |
---|---|---|
committer | Robin Cook | 2011-08-17 18:47:39 -0500 |
commit | fdd25d4166ab37f374fc9471ade5c02059f3e5fc (patch) | |
tree | 383f4190ca4340613e6181665cfe22882cc1f4de /archive-libs/zziplib | |
parent | c707c1cd0efd35eeb60e78f5f5cdef8bd0bd3e00 (diff) |
zziplib: added patch to correct -export-dynamic gcc switch
Diffstat (limited to 'archive-libs/zziplib')
-rw-r--r-- | archive-libs/zziplib/HISTORY | 3 | ||||
-rwxr-xr-x | archive-libs/zziplib/PRE_BUILD | 4 | ||||
-rw-r--r-- | archive-libs/zziplib/export-dynamic.patch | 24 |
3 files changed, 30 insertions, 1 deletions
diff --git a/archive-libs/zziplib/HISTORY b/archive-libs/zziplib/HISTORY index 0aef7dc53f..0aa986d2a7 100644 --- a/archive-libs/zziplib/HISTORY +++ b/archive-libs/zziplib/HISTORY @@ -1,3 +1,6 @@ +2011-08-17 Robin Cook <rcook@wyrms.net> + * PRE_BUILD: added patch to correct -export-dynamic gcc switch + 2009-12-18 Bor Kraljič <pyrobor@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 f997d0b557..5e6bcad848 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 0000000000..553a0a2f8c --- /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=' # ' + ;; |