aboutsummaryrefslogtreecommitdiff
path: root/4.5.0
diff options
context:
space:
mode:
authorRyan Hill <rhill@gentoo.org>2010-06-20 08:01:38 +0000
committerRyan Hill <rhill@gentoo.org>2010-06-20 08:01:38 +0000
commitcb84805ad9d43686cc260a1d9a576ef8f9314fe6 (patch)
treeef9ad298fb4d2c4d670855565f563ef5a99215f6 /4.5.0
parentDocument patch. (diff)
downloadgcc-patches-cb84805ad9d43686cc260a1d9a576ef8f9314fe6.tar.gz
gcc-patches-cb84805ad9d43686cc260a1d9a576ef8f9314fe6.tar.bz2
gcc-patches-cb84805ad9d43686cc260a1d9a576ef8f9314fe6.zip
Add patch for bug #317269 (shared libs on freebsd not linked against libc).
Diffstat (limited to '4.5.0')
-rw-r--r--4.5.0/gentoo/91_all_gcc-fbsdshared-spec.patch16
-rw-r--r--4.5.0/gentoo/README.history2
2 files changed, 18 insertions, 0 deletions
diff --git a/4.5.0/gentoo/91_all_gcc-fbsdshared-spec.patch b/4.5.0/gentoo/91_all_gcc-fbsdshared-spec.patch
new file mode 100644
index 0000000..02d21db
--- /dev/null
+++ b/4.5.0/gentoo/91_all_gcc-fbsdshared-spec.patch
@@ -0,0 +1,16 @@
+Link shared libs to libc on FreeBSD.
+
+http://bugs.gentoo.org/show_bug.cgi?id=317269
+
+--- gcc/config/freebsd-spec.h
++++ gcc/config/freebsd-spec.h
+@@ -139,7 +139,8 @@
+ %{!shared: \
+ %{!pg: %{pthread:-lpthread} -lc} \
+ %{pg: %{pthread:-lpthread_p} -lc_p} \
+- }"
++ } \
++ %{shared: %{pthread:-lpthread} -lc}"
+ #endif
+ #endif
+
diff --git a/4.5.0/gentoo/README.history b/4.5.0/gentoo/README.history
index 1c42ea2..90d1953 100644
--- a/4.5.0/gentoo/README.history
+++ b/4.5.0/gentoo/README.history
@@ -1,6 +1,8 @@
+
+ 30_all_gcc45-pr44046-core2-native.patch
+ 31_all_gcc45-pr43921-atom-bootstrap.patch
+ 32_all_gcc45-pr43572-tailcall.patch
+ + 91_all_gcc-fbsdshared-spec.patch
1.1 17.05.2010
+ 02_all_gcc45-pr42347.patch