Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 128391 Details for
Bug 184542
net-libs/opal-2.2.8 fails to build
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
pwlib-1.10.7-gcc42-atomic.diff
pwlib-1.10.7-gcc42-atomic.diff (text/plain), 1.54 KB, created by
Andreas Proschofsky (RETIRED)
on 2007-08-17 11:56:29 UTC
(
hide
)
Description:
pwlib-1.10.7-gcc42-atomic.diff
Filename:
MIME Type:
Creator:
Andreas Proschofsky (RETIRED)
Created:
2007-08-17 11:56:29 UTC
Size:
1.54 KB
patch
obsolete
>Index: pwlib-1.10.4/configure.ac >=================================================================== >--- pwlib-1.10.4.orig/configure.ac >+++ pwlib-1.10.4/configure.ac >@@ -594,12 +594,23 @@ P_HAS_ATOMIC_INT=0 > P_NEEDS_GNU_CXX_NAMESPACE=0 > AC_MSG_CHECKING(if atomic integer available) > AC_TRY_COMPILE([#include <bits/atomicity.h>], >- [_Atomic_word val;], P_HAS_ATOMIC_INT=1) >-if test ${P_HAS_ATOMIC_INT} = 1 ; then >+ [_Atomic_word val;], P_HAS_ATOMIC_INT=1, >+ AC_TRY_COMPILE([#include <ext/atomicity.h>], >+ [_Atomic_word val;], P_HAS_ATOMIC_INT=2) >+) >+if test ${P_HAS_ATOMIC_INT} != 0 ; then > AC_MSG_RESULT(yes) > AC_MSG_CHECKING(if __exchange_and_add is in __gnu_cxx namespace) >- AC_TRY_COMPILE([#include <bits/atomicity.h>], >- [_Atomic_word val; __gnu_cxx::__exchange_and_add(&val, 1)], P_NEEDS_GNU_CXX_NAMESPACE=1) >+ if test ${P_HAS_ATOMIC_INT} = 1 ; then >+ AC_TRY_COMPILE([#include <bits/atomicity.h>], >+ [_Atomic_word val; __gnu_cxx::__exchange_and_add(&val, 1)], >+ P_NEEDS_GNU_CXX_NAMESPACE=1) >+ else >+ P_HAS_ATOMIC_INT=1 >+ AC_TRY_COMPILE([#include <ext/atomicity.h>], >+ [_Atomic_word val; __gnu_cxx::__exchange_and_add(&val, 1)], >+ P_NEEDS_GNU_CXX_NAMESPACE=1) >+ fi > if test ${P_NEEDS_GNU_CXX_NAMESPACE} = 1 ; then > AC_MSG_RESULT(yes) > else >@@ -608,6 +619,7 @@ if test ${P_HAS_ATOMIC_INT} = 1 ; then > else > AC_MSG_RESULT(no) > fi >+ > AC_DEFINE_UNQUOTED(P_HAS_ATOMIC_INT, ${P_HAS_ATOMIC_INT}) > AC_DEFINE_UNQUOTED(P_NEEDS_GNU_CXX_NAMESPACE, ${P_NEEDS_GNU_CXX_NAMESPACE}) >
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 184542
: 128391 |
131941