aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-03-25 22:18:16 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-03-25 22:18:16 +0800
commit70636d49074f9134894699652e67a9efe23a54a6 (patch)
tree25dd95c6a25a0ff3fa02f06ac8239156bb3322cc
parent6b4acbfad16955b1a422f442b2c921c4bb4f0171 (diff)
downloadfreebsd-ports-gnome-70636d49074f9134894699652e67a9efe23a54a6.tar.gz
freebsd-ports-gnome-70636d49074f9134894699652e67a9efe23a54a6.tar.zst
freebsd-ports-gnome-70636d49074f9134894699652e67a9efe23a54a6.zip
- Fix build on 9.x
PR: 208265 Submitted by: woodsb02@gmail.com (maintainer)
-rw-r--r--net-p2p/gtk-gnutella/files/patch-src_gcc.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-p2p/gtk-gnutella/files/patch-src_gcc.h b/net-p2p/gtk-gnutella/files/patch-src_gcc.h
new file mode 100644
index 000000000000..8a9ea6e60926
--- /dev/null
+++ b/net-p2p/gtk-gnutella/files/patch-src_gcc.h
@@ -0,0 +1,11 @@
+--- src/gcc.h.orig 2016-03-24 18:58:27 UTC
++++ src/gcc.h
+@@ -310,7 +310,7 @@
+ * warning purposedly for some section of the file and then later restore
+ * the original warnings.
+ */
+-#if HAS_GCC(3, 0)
++#if HAS_GCC(4, 8)
+ #define G_IGNORE_PUSH(x) \
+ G_PRAGMA(GCC diagnostic push) \
+ G_PRAGMA(GCC diagnostic ignored #x)