From: nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Mon, 17 Oct 2005 12:21:13 +0000 (+0000)
Subject: fix svn patch breakage in glib
X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/a14b6eb9921365d5c2ce4e3f9c7cbc73213770e7

fix svn patch breakage in glib

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2129 3c298f89-4303-0410-b956-a3cf2f4a3e73
---

diff --git a/openwrt/package/glib/patches/01-debian-9 b/openwrt/package/glib/patches/01-debian-9
index 78358e07d..20608c0e8 100644
--- a/openwrt/package/glib/patches/01-debian-9
+++ b/openwrt/package/glib/patches/01-debian-9
@@ -16611,22 +16611,6 @@
  };
  
  /* This works around a problem in FreeBSD linker */
-@@ -2613,13 +3455,13 @@
- 	  fi
- 
- 	  pic_flag_for_symtable=
--	  case "$host" in
-+	  case $host in
- 	  # compiling the symbol table file with pic_flag works around
- 	  # a FreeBSD bug that causes programs to crash when -lm is
- 	  # linked before any other PIC object.  But we must not use
- 	  # pic_flag when linking with -static.  The problem exists in
- 	  # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1.
--	  *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
-+	  *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
- 	    case "$compile_command " in
- 	    *" -static "*) ;;
- 	    *) pic_flag_for_symtable=" $pic_flag -DPIC -DFREEBSD_WORKAROUND";;
 @@ -2658,7 +3500,7 @@
  	finalize_command=`$echo "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"`
        fi