summaryrefslogtreecommitdiff
path: root/java/sablevm/files
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2007-12-15 18:31:01 +0000
committerPav Lucistnik <pav@FreeBSD.org>2007-12-15 18:31:01 +0000
commitb0a5eaa55357dd66fe20bbaec3139d5fce532b66 (patch)
tree1177315d3732b3db1e09054b867cd32d469df97e /java/sablevm/files
parent- Update to 2.9 (diff)
- Update to 1.13
- Take maintainership - Split classpath into separate port - Switch to libffi-devel to allow build on !386 PR: ports/118288, ports/118312 Submitted by: Bjoern Koenig <bkoenig@alpha-tierchen.de>
Notes
Notes: svn path=/head/; revision=203766
Diffstat (limited to 'java/sablevm/files')
-rw-r--r--java/sablevm/files/patch-sablevm-1.1.6-20040725142
-rw-r--r--java/sablevm/files/patch-sablevm-classpath-1.1.6-2004072513
-rw-r--r--java/sablevm/files/patch-sablevm-classpath-1.1.6-2004072614
3 files changed, 0 insertions, 169 deletions
diff --git a/java/sablevm/files/patch-sablevm-1.1.6-20040725 b/java/sablevm/files/patch-sablevm-1.1.6-20040725
deleted file mode 100644
index bf3e959de6bb..000000000000
--- a/java/sablevm/files/patch-sablevm-1.1.6-20040725
+++ /dev/null
@@ -1,142 +0,0 @@
-Index: src/libsablevm/error.c
-===================================================================
---- src/libsablevm/error.c (.../tags/sablevm-1.1.6) (revision 2849)
-+++ src/libsablevm/error.c (.../branches/staging) (revision 2849)
-@@ -8,6 +8,7 @@
-
- /* We remember previously established signal handlers, so that we can
- delegate back to them when we don't handle a signal. */
-+static sigset_t _svmv_old_sigset;
-
- static struct sigaction _svmv_old_sigquit;
- static struct sigaction _svmv_old_siginterrupt;
-@@ -320,8 +321,16 @@
- static jint
- _svmf_error_init (void)
- {
-+ sigset_t svmv_sigset;
- struct sigaction sa;
-
-+ /* save old sigmask before doing any modifications */
-+
-+ if (sigprocmask(0, NULL, &_svmv_old_sigset) != 0)
-+ {
-+ goto error;
-+ }
-+
- _svmm_zero_memory (sa);
-
- /* mask all signals handled by the signal handler */
-@@ -392,6 +401,8 @@
- #endif /* _SABLEVM_INLINABILITY_TESTING */
-
- #if defined(_SABLEVM_HAS_SIGINFO)
-+
-+ /* TODO: add signal support for systems w/o SA_SIGINFO */
-
- /* use extended info version */
- sa.sa_flags = SA_SIGINFO;
-@@ -457,9 +468,77 @@
-
- #endif /* _SABLEVM_HAS_SIGINFO */
-
-+ /* ignore SIGPIPE */
-+
-+ if (sigemptyset (&svmv_sigset) != 0)
-+ {
-+ goto error;
-+ }
-+
-+ if (sigaddset (&svmv_sigset, SIGPIPE) != 0)
-+ {
-+ goto error;
-+ }
-+
-+ if (sigprocmask(SIG_BLOCK, &svmv_sigset, NULL) != 0)
-+ {
-+ goto error;
-+ }
-+
- return JNI_OK;
-
- error:
-
- return JNI_ERR;
- }
-+
-+/*
-+----------------------------------------------------------------------
-+_svmf_error_init
-+----------------------------------------------------------------------
-+*/
-+
-+/* TODO: call this function from the right place. It's unused currently. */
-+
-+static jint
-+_svmf_error_restore (void)
-+{
-+#if defined(_SABLEVM_HAS_SIGINFO)
-+
-+ if (sigaction (SIGQUIT, &_svmv_old_sigquit, NULL) != 0)
-+ {
-+ goto error;
-+ }
-+
-+ if (sigaction (SVM_INTERRUPT_SIGNAL, &_svmv_old_siginterrupt, NULL) != 0)
-+ {
-+ goto error;
-+ }
-+
-+#if defined(_SABLEVM_SIGNALS_FOR_EXCEPTIONS) || defined(_SABLEVM_INLINABILITY_TESTING)
-+
-+ if (sigaction (SIGSEGV, &_svmv_old_sigsegv, NULL) != 0)
-+ {
-+ goto error;
-+ }
-+
-+ if (sigaction (SIGFPE, &_svmv_old_sigfpe, NULL) != 0)
-+ {
-+ goto error;
-+ }
-+
-+#endif /* _SABLEVM_SIGNALS_FOR_EXCEPTIONS || _SABLEVM_INLINABILITY_TESTING */
-+
-+#endif /* _SABLEVM_HAS_SIGINFO */
-+
-+ if (sigprocmask(SIG_SETMASK, &_svmv_old_sigset, NULL) != 0)
-+ {
-+ goto error;
-+ }
-+
-+ return JNI_OK;
-+
-+error:
-+
-+ return JNI_ERR;
-+}
-Index: configure.ac
-===================================================================
---- configure.ac (.../tags/sablevm-1.1.6) (revision 2849)
-+++ configure.ac (.../branches/staging) (revision 2849)
-@@ -408,12 +404,12 @@
- AC_OUTPUT
-
- dnl check whether 'make' is GNU make
--make_bin=`which make`
--if test "X$make_bin" != "X"; then
-- make_test=`$make_bin --version 2>&1 |grep GNU`
-- if test "X$make_test" = "X"; then
-- AC_MSG_WARN("*** Your 'make' command does NOT seem to be GNU Make. ***")
-- AC_MSG_WARN("The build system of SableVM requires GNU Make. On many systems GNU Make")
-- AC_MSG_WARN("is installed as 'gmake'.")
-- fi
--fi
-+dnl make_bin=`which make`
-+dnl if test "X$make_bin" != "X"; then
-+dnl make_test=`$make_bin --version 2>&1 |grep GNU`
-+dnl if test "X$make_test" = "X"; then
-+dnl AC_MSG_WARN("*** Your 'make' command does NOT seem to be GNU Make. ***")
-+dnl AC_MSG_WARN("The build system of SableVM requires GNU Make. On many systems GNU Make")
-+dnl AC_MSG_WARN("is installed as 'gmake'.")
-+dnl fi
-+dnl fi
diff --git a/java/sablevm/files/patch-sablevm-classpath-1.1.6-20040725 b/java/sablevm/files/patch-sablevm-classpath-1.1.6-20040725
deleted file mode 100644
index da4953bed98c..000000000000
--- a/java/sablevm/files/patch-sablevm-classpath-1.1.6-20040725
+++ /dev/null
@@ -1,13 +0,0 @@
-Index: native/target/generic/target_generic_network.h
-===================================================================
---- ../sablevm-classpath-1.1.6/native/target/generic/target_generic_network.h (.../tags/sablevm-classpath-1.1.6) (revision 2849)
-+++ ../sablevm-classpath-1.1.6/native/target/generic/target_generic_network.h (.../branches/staging) (revision 2849)
-@@ -570,7 +570,7 @@
- #include <netinet/in.h>
- #define TARGET_NATIVE_NETWORK_SOCKET_SEND(socketDescriptor,buffer,length,bytesSent) \
- do { \
-- bytesSent=send(socketDescriptor,buffer,length,MSG_NOSIGNAL); \
-+ bytesSent=send(socketDescriptor,buffer,length,0); \
- } while (0)
- #endif
-
diff --git a/java/sablevm/files/patch-sablevm-classpath-1.1.6-20040726 b/java/sablevm/files/patch-sablevm-classpath-1.1.6-20040726
deleted file mode 100644
index 2209bbb84c81..000000000000
--- a/java/sablevm/files/patch-sablevm-classpath-1.1.6-20040726
+++ /dev/null
@@ -1,14 +0,0 @@
---- ../sablevm-classpath-1.1.6/native/jni/gtk-peer/gthread-jni.c Mon Jul 19 08:49:17 2004
-+++ ../sablevm-classpath-1.1.6/native/jni/gtk-peer/gthread-jni.c Mon Jul 26 16:22:55 2004
-@@ -218,7 +218,11 @@
- /* Global data */
- /************************************************************************/
-
-+#if defined HAVE_STDINT_H
- #include <stdint.h> /* provides intptr_t */
-+#elif defined HAVE_INTTYPES_H
-+#include <inttypes.h>
-+#endif
- #include <stdarg.h> /* va_list */
- #include "gthread-jni.h"
- #include <assert.h> /* assert() */