diff options
author | 2010-06-12 07:03:16 +0000 | |
---|---|---|
committer | 2010-06-12 07:03:16 +0000 | |
commit | f8ab008b2246e37a5f5311535b03d2f07f63ad67 (patch) | |
tree | 86a89f3a2e8464a6539ebbd00b357224a39f47aa /dev-libs/protobuf/files | |
parent | Version bump (diff) | |
download | historical-f8ab008b2246e37a5f5311535b03d2f07f63ad67.tar.gz historical-f8ab008b2246e37a5f5311535b03d2f07f63ad67.tar.bz2 historical-f8ab008b2246e37a5f5311535b03d2f07f63ad67.zip |
Updated patch to fix as-needed issue (bug #271509, thanks to Xarthisius). Added static-libs USE flag.
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'dev-libs/protobuf/files')
-rw-r--r-- | dev-libs/protobuf/files/protobuf-2.3.0-asneeded-2.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/dev-libs/protobuf/files/protobuf-2.3.0-asneeded-2.patch b/dev-libs/protobuf/files/protobuf-2.3.0-asneeded-2.patch new file mode 100644 index 000000000000..418622e547f4 --- /dev/null +++ b/dev-libs/protobuf/files/protobuf-2.3.0-asneeded-2.patch @@ -0,0 +1,28 @@ +Fixing as-needed issue + +http://bugs.gentoo.org/show_bug.cgi?id=271509 + +--- m4/acx_pthread.m4 ++++ m4/acx_pthread.m4 +@@ -278,7 +278,8 @@ + fi + fi + +- if test x"$done" = xno; then ++ if test x"$done" = xyes; then ++ done="no" + AC_MSG_CHECKING([whether -pthread is sufficient with -shared]) + AC_TRY_LINK([#include <pthread.h>], + [pthread_t th; pthread_join(th, 0); +--- gtest/m4/acx_pthread.m4 ++++ gtest/m4/acx_pthread.m4 +@@ -278,7 +278,8 @@ + fi + fi + +- if test x"$done" = xno; then ++ if test x"$done" = xyes; then ++ done="no" + AC_MSG_CHECKING([whether -pthread is sufficient with -shared]) + AC_TRY_LINK([#include <pthread.h>], + [pthread_t th; pthread_join(th, 0); |