diff options
Diffstat (limited to 'net-libs/gloox/files/gloox-1.0.24-bashism-configure.patch')
-rw-r--r-- | net-libs/gloox/files/gloox-1.0.24-bashism-configure.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net-libs/gloox/files/gloox-1.0.24-bashism-configure.patch b/net-libs/gloox/files/gloox-1.0.24-bashism-configure.patch new file mode 100644 index 000000000000..a9e09f113bcc --- /dev/null +++ b/net-libs/gloox/files/gloox-1.0.24-bashism-configure.patch @@ -0,0 +1,11 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -51,7 +51,7 @@ if test -z "`${CC} check_atomicbuiltins.c -o check_atomicbuiltins 2>&1`" ; then + HAVE_GCC_ATOMIC_BUILTINS=yes + AC_DEFINE(HAVE_GCC_ATOMIC_BUILTINS, 1, [Define to 1 if GCC atomic builtins are available]) + AC_MSG_RESULT([yes]) +- if test $cross_compiling == "yes"; then ++ if test $cross_compiling = "yes"; then + # Some platforms don't seem to be fully happy for libraries using GCC atomic builtins + # unless -lgcc and -lgcc_s are explicitly included. + # (Errors like |