diff options
Diffstat (limited to 'net-p2p/gtk-gnutella/files/patch-src__common.h')
-rw-r--r-- | net-p2p/gtk-gnutella/files/patch-src__common.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net-p2p/gtk-gnutella/files/patch-src__common.h b/net-p2p/gtk-gnutella/files/patch-src__common.h new file mode 100644 index 000000000000..6d5fd540f0d2 --- /dev/null +++ b/net-p2p/gtk-gnutella/files/patch-src__common.h @@ -0,0 +1,11 @@ +--- src/common.h.orig 2012-11-12 01:29:34.000000000 +0900 ++++ src/common.h 2012-12-05 16:43:09.000000000 +0900 +@@ -756,7 +756,7 @@ + * warnings on a wrong __asm__ statement with glib 1.2. This version + * should be as efficient as the one defined by glib. + */ +-#if HAS_GCC(4, 0) ++#if HAS_GCC(4, 0) && !defined(__FreeBSD__) + #define GUINT32_SWAP(x_) \ + (IS_CONSTANT(x_) ? GUINT32_SWAP_CONSTANT(x_) : __builtin_bswap32(x_)) + #else |