[kaffe] small kaffe-1.1.5 patch

Mike Castle dalgoda at ix.netcom.com
Tue Apr 12 19:41:34 PDT 2005

* Minor fix to include directories ordering

In my case, I build kaffe with --prefix=/usr/X11R6.  Since I had 1.1.4
installed already, it picked up the wrong jni.h and failed during
compilation.  This ensures that the included jni.h gets included first.

To be honest, should probably move X_FLAGS down a line or two to be sure.


patch -p1 << \EOF
diff -ru kaffe-1.1.5.orig/libraries/clib/awt/classpath-gtk/gtk-peer/Makefile.am kaffe-1.1.5/libraries/clib/awt/classpath-gtk/gtk-peer/Makefile.am
--- kaffe-1.1.5.orig/libraries/clib/awt/classpath-gtk/gtk-peer/Makefile.am	2005-04-05 12:48:02.000000000 -0700
+++ kaffe-1.1.5/libraries/clib/awt/classpath-gtk/gtk-peer/Makefile.am	2005-04-12 19:15:04.000000000 -0700
@@ -83,6 +83,7 @@
 libjawt_la_CPPFLAGS = \
+	-I$(top_srcdir)/include/ \
 	@X_CFLAGS@ \
 	-I$(top_srcdir)/libraries/clib/classpath/ \
     Mike Castle      dalgoda at ix.netcom.com      www.netcom.com/~dalgoda/
    We are all of us living in the shadow of Manhattan.  -- Watchmen
fatal ("You are in a maze of twisty compiler features, all different"); -- gcc

More information about the kaffe mailing list