ports/java/sablevm/files/patch-ae
Archie Cobbs 5189413ce3 Update to version 1.0.3.
Make USE_GNOMELIBS optional. Add a patch that fixes a native library bug.
2002-08-19 05:10:00 +00:00

21 lines
667 B
Text

diff -ur work.orig/sablevm-1.0.3/src/libsablevm/libsablevm.c work/sablevm-1.0.3/src/libsablevm/libsablevm.c
--- work.orig/sablevm-1.0.3/src/libsablevm/libsablevm.c Sun Aug 11 14:33:05 2002
+++ work/sablevm-1.0.3/src/libsablevm/libsablevm.c Sat Aug 17 21:14:51 2002
@@ -5,6 +5,9 @@
* modification of SableVM. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
+#include <ffi.h>
+#undef PACKAGE
+#undef VERSION
#include <config.h>
#include <pthread.h>
@@ -14,7 +17,6 @@
#include <stdlib.h>
#include <assert.h>
#include <string.h>
-#include <ffi.h>
#include <math.h>
#include <ltdl.h>
#include <sys/stat.h>