diff options
Diffstat (limited to 'graphics/libgii')
-rw-r--r-- | graphics/libgii/files/patch-sum | 3 | ||||
-rw-r--r-- | graphics/libgii/patches/patch-ab | 46 |
2 files changed, 48 insertions, 1 deletions
diff --git a/graphics/libgii/files/patch-sum b/graphics/libgii/files/patch-sum index 541868de599..77e434b235e 100644 --- a/graphics/libgii/files/patch-sum +++ b/graphics/libgii/files/patch-sum @@ -1,3 +1,4 @@ -$NetBSD: patch-sum,v 1.1 2000/06/27 01:55:14 hubertf Exp $ +$NetBSD: patch-sum,v 1.2 2000/10/01 13:40:24 rh Exp $ MD5 (patch-aa) = 678f869022479f7780f361cc9021241a +MD5 (patch-ab) = c061db98a346936576656a62ef08a594 diff --git a/graphics/libgii/patches/patch-ab b/graphics/libgii/patches/patch-ab new file mode 100644 index 00000000000..a7050fd564f --- /dev/null +++ b/graphics/libgii/patches/patch-ab @@ -0,0 +1,46 @@ +$NetBSD: patch-ab,v 1.1 2000/10/01 13:40:26 rh Exp $ + +--- ltmain.sh.orig Sun Oct 1 15:28:43 2000 ++++ ltmain.sh +@@ -794,6 +794,7 @@ + old_convenience= + deplibs= + linkopts= ++ wllinkopts= + lib_search_path=`pwd` + + avoid_version=no +@@ -1105,6 +1106,25 @@ + continue + ;; + ++ -Wl,*) ++ args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'` ++ arg= ++ IFS="${IFS= }"; save_ifs="$IFS"; IFS=',' ++ for flag in $args; do ++ IFS="$save_ifs" ++ case "$flag" in ++ *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") ++ flag="\"$flag\"" ++ ;; ++ esac ++ arg="$arg $wl$flag" ++ linkopts="$linkopts $flag" ++ wllinkopts="$wllinkopts $wl$flag" ++ done ++ IFS="$save_ifs" ++ arg=`$echo "X$arg" | $Xsed -e "s/^ //"` ++ ;; ++ + # Some other compiler flag. + -* | +*) + # Unknown arguments in both finalize_command and compile_command need +@@ -2244,6 +2264,7 @@ + if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then + eval flag=\"$thread_safe_flag_spec\" + linkopts="$linkopts $flag" ++ wllinkopts="$linkopts $wl$flag" + fi + + # Prepare the list of exported symbols |