summaryrefslogtreecommitdiffhomepage
path: root/patches/classpath/classpath-0.99.no-warn-deprecated-declaration.patch
blob: 511ddc6b9560080dfca75cacd6b668f2abc74489 (plain)
1
2
3
4
5
6
7
8
9
10
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).