diff options
Diffstat (limited to 'java/sablevm/files/patch-ae')
-rw-r--r-- | java/sablevm/files/patch-ae | 34 |
1 files changed, 19 insertions, 15 deletions
diff --git a/java/sablevm/files/patch-ae b/java/sablevm/files/patch-ae index 4e77bebea848..b927fb01cb0d 100644 --- a/java/sablevm/files/patch-ae +++ b/java/sablevm/files/patch-ae @@ -1,17 +1,21 @@ -diff -ur sablevm-0.1.6.orig/src/libsablevm/error.c sablevm-0.1.6/src/libsablevm/error.c ---- sablevm-0.1.6.orig/src/libsablevm/error.c Sun Apr 15 03:52:45 2001 -+++ sablevm-0.1.6/src/libsablevm/error.c Tue Jul 9 13:11:04 2002 -@@ -202,11 +202,13 @@ - { - /* probably NULL pointer exception. Let's check... */ +diff -ur work.orig/sablevm-1.0.2/src/libsablevm/libsablevm.c work/sablevm-1.0.2/src/libsablevm/libsablevm.c +--- work.orig/sablevm-1.0.2/src/libsablevm/libsablevm.c Sun Aug 11 14:33:05 2002 ++++ work/sablevm-1.0.2/src/libsablevm/libsablevm.c Thu Aug 15 15:09:36 2002 +@@ -5,6 +5,9 @@ + * modification of SableVM. * + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ -+#if 0 - if (info->si_addr != NULL) - { - /* not a NULL memory access. We don't handle this. */ - goto delegate_0; - } -+#endif ++#include <ffi.h> ++#undef PACKAGE ++#undef VERSION + #include <config.h> - signal_throw (NULL_POINTER_EXCEPTION); - } + #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> |