diff options
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.patch | 11 |
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). |