aboutsummaryrefslogtreecommitdiff
path: root/devel/anjuta/files
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2004-04-09 02:10:54 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2004-04-09 02:10:54 +0000
commitb04bb7cdec770e836a0628df7a6a2d32aa1ca5fc (patch)
tree21ecd07b03d202f1b0df9ab3c1acc7aac776f6a5 /devel/anjuta/files
parent7f3eda059faff3939b70c185e0164814655c34fb (diff)
downloadports-b04bb7cdec770e836a0628df7a6a2d32aa1ca5fc.tar.gz
ports-b04bb7cdec770e836a0628df7a6a2d32aa1ca5fc.zip
Fix threading issues with libc_r on 5.2.1 by making sure to pass -lc_r to
the linker (Dreaded Thread Problem). Thanks to bland for digging into this.
Notes
Notes: svn path=/head/; revision=106527
Diffstat (limited to 'devel/anjuta/files')
-rw-r--r--devel/anjuta/files/patch-ltmain.sh21
1 files changed, 15 insertions, 6 deletions
diff --git a/devel/anjuta/files/patch-ltmain.sh b/devel/anjuta/files/patch-ltmain.sh
index 1c2fba5d533f..cd8532332c91 100644
--- a/devel/anjuta/files/patch-ltmain.sh
+++ b/devel/anjuta/files/patch-ltmain.sh
@@ -1,6 +1,15 @@
---- ltmain.sh.orig Fri Sep 13 15:38:11 2002
-+++ ltmain.sh Fri Oct 11 01:44:24 2002
-@@ -1073,8 +1073,16 @@
+--- ltmain.sh.orig Thu Jan 22 10:41:27 2004
++++ ltmain.sh Thu Apr 8 22:08:27 2004
+@@ -1075,7 +1075,7 @@
+ esac
+ elif test "X$arg" = "X-lc_r"; then
+ case $host in
+- *-*-openbsd* | *-*-freebsd*)
++ *-*-openbsd* | *-*-freebsd4*)
+ # Do not include libc_r directly, use -pthread flag.
+ continue
+ ;;
+@@ -1085,8 +1085,16 @@
continue
;;
@@ -17,8 +26,8 @@
continue
;;
-@@ -2502,6 +2510,9 @@
- *-*-openbsd*)
+@@ -2485,6 +2493,9 @@
+ *-*-openbsd* | *-*-freebsd*)
# Do not include libc due to us having libc/libc_r.
;;
+ *-*-freebsd*)
@@ -27,7 +36,7 @@
*)
# Add libc to deplibs on all other systems if necessary.
if test $build_libtool_need_lc = "yes"; then
-@@ -4286,10 +4297,12 @@
+@@ -4342,10 +4353,12 @@
fi
# Install the pseudo-library for information purposes.