summaryrefslogtreecommitdiffhomepage
path: root/patches/classpath/classpath-0.99.no-warn-deprecated-declaration.patch
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2018-06-07 15:19:20 +0000
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2018-06-07 15:19:20 +0000
commit7670fc6b9bca0938df3a28f505ccf1a4e35a8ebd (patch)
tree46f0a6b15a4f4b0da66b20062538121ab60095e4 /patches/classpath/classpath-0.99.no-warn-deprecated-declaration.patch
parent52e2925ffbc9741180aa1e19017166a34272c3ff (diff)
downloadmidipix_build-7670fc6b9bca0938df3a28f505ccf1a4e35a8ebd.tar.bz2
midipix_build-7670fc6b9bca0938df3a28f505ccf1a4e35a8ebd.tar.xz
patches/classpath/classpath-0.99.*.patch: via Redfoxmoon.
Diffstat (limited to 'patches/classpath/classpath-0.99.no-warn-deprecated-declaration.patch')
-rw-r--r--patches/classpath/classpath-0.99.no-warn-deprecated-declaration.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/patches/classpath/classpath-0.99.no-warn-deprecated-declaration.patch b/patches/classpath/classpath-0.99.no-warn-deprecated-declaration.patch
new file mode 100644
index 00000000..511ddc6b
--- /dev/null
+++ b/patches/classpath/classpath-0.99.no-warn-deprecated-declaration.patch
@@ -0,0 +1,11 @@
+--- classpath-0.99.orig/native/jni/gtk-peer/Makefile.am 2008-06-23 16:12:24.000000000 +0200
++++ classpath-0.99/native/jni/gtk-peer/Makefile.am 2018-06-07 16:12:33.902649795 +0200
+@@ -52,7 +52,7 @@
+
+ AM_LDFLAGS = @CLASSPATH_MODULE@ @GTK_LIBS@ @FREETYPE2_LIBS@ \
+ @PANGOFT2_LIBS@ @X_PRE_LIBS@ @X_LIBS@ @X_EXTRA_LIBS@ @XTEST_LIBS@
+-AM_CPPFLAGS = @CLASSPATH_INCLUDES@
++AM_CPPFLAGS = @CLASSPATH_INCLUDES@ -Wno-deprecated-declarations
+
+ # Just the WARNING_CFLAGS. We cannot use the strict flags since the gtk
+ # headers contain broken prototypes (by design, see gtkitemfactory.h).