Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 86422 Details for
Bug 132473
djvu-3.5.17: fix unresolved symbols in libdjvulibre.so (--as-needed)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
files/djvulibre-3.5.17-pthread-flag.patch
djvulibre-3.5.17-pthread-flag.patch (text/plain), 2.36 KB, created by
TGL
on 2006-05-08 06:30:34 UTC
(
hide
)
Description:
files/djvulibre-3.5.17-pthread-flag.patch
Filename:
MIME Type:
Creator:
TGL
Created:
2006-05-08 06:30:34 UTC
Size:
2.36 KB
patch
obsolete
>--- config/acinclude.m4.orig 2006-05-08 15:05:41.000000000 +0200 >+++ config/acinclude.m4 2006-05-08 15:22:15.000000000 +0200 >@@ -332,7 +332,9 @@ > fi > # Create a list of thread flags to try. Items starting with a "-" are > # C compiler flags, and other items are library names, except for "none" >-# which indicates that we try without any flags at all. >+# which indicates that we try without any flags at all. Also, combinations >+# of items (for instance, both a compiler flag and a library name) can be >+# specified using a colon separator. > acx_pthread_flags="pthreads none -Kthread -kthread lthread > -pthread -pthreads -mthreads pthread > --thread-safe -mt" >@@ -364,12 +366,40 @@ > acx_pthread_flags="-pthread -pthreads pthread -mt $acx_pthread_flags" > ;; > esac >+case "${host_os}-${GCC}" in >+ *linux*-yes) >+ # On Linux/GCC, libtool uses -nostdlib for linking, which cancel part >+ # of the -pthread flag effect (libpthread is not automatically linked). >+ # So we'll try to link with both -pthread and -lpthread first: >+ acx_pthread_flags="-pthread:pthread $acx_pthread_flags" >+ ;; >+esac > if test x"$acx_pthread_ok" = xno; then > for flag in $acx_pthread_flags; do > case $flag in > none) > AC_MSG_CHECKING([whether pthreads work without any flags]) > ;; >+ *:*) >+ PTHREAD_CFLAGS="" >+ PTHREAD_LIBS="" >+ message="whether pthreads work with" >+ while test x"$flag" != x; do >+ subflag=`echo $flag | cut -d: -f1` >+ case $subflag in >+ -*) >+ PTHREAD_CFLAGS="$PTHREAD_CFLAGS $subflag" >+ message="$message $subflag" >+ ;; >+ *) >+ PTHREAD_LIBS="$PTHREAD_LIBS -l$subflag" >+ message="$message -l$subflag" >+ ;; >+ esac >+ flag=`echo $flag | cut -s -d: -f2-` >+ done >+ AC_MSG_CHECKING([$message]) >+ ;; > -*) > AC_MSG_CHECKING([whether pthreads work with $flag]) > PTHREAD_CFLAGS="$flag"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 132473
:
86292
| 86422