diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
commit | 0f558761aa2dee1017b4751e4017205e015a9560 (patch) | |
tree | 037df795519468a25d9362b4e95cdaeb84eb1cf9 /net-libs/gloox/files | |
parent | 752d6256e5204b958b0ef7905675a940b5e9172f (diff) |
gentoo resync : 29.12.2022
Diffstat (limited to 'net-libs/gloox/files')
-rw-r--r-- | net-libs/gloox/files/gloox-1.0.24-bashism-configure.patch | 11 | ||||
-rw-r--r-- | net-libs/gloox/files/gloox-1.0.24-fix-gcc12-time.patch | 21 |
2 files changed, 32 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 diff --git a/net-libs/gloox/files/gloox-1.0.24-fix-gcc12-time.patch b/net-libs/gloox/files/gloox-1.0.24-fix-gcc12-time.patch new file mode 100644 index 000000000000..dc0c4cd1aced --- /dev/null +++ b/net-libs/gloox/files/gloox-1.0.24-fix-gcc12-time.patch @@ -0,0 +1,21 @@ +https://bugs.gentoo.org/852182 +--- a/src/tests/tag/tag_perf.cpp ++++ b/src/tests/tag/tag_perf.cpp +@@ -20,6 +20,7 @@ using namespace gloox; + #include <cstdlib> + #include <string> + #include <cstdio> // [s]print[f] ++#include <ctime> + + #include <sys/time.h> + +--- a/src/tests/zlib/zlib_perf.cpp ++++ b/src/tests/zlib/zlib_perf.cpp +@@ -24,6 +24,7 @@ using namespace gloox; + #include <string> + #include <sys/time.h> + #include <cstdio> // [s]print[f] ++#include <ctime> + + #ifdef HAVE_ZLIB + |