summaryrefslogtreecommitdiff
path: root/lang/sablevm/patches
diff options
context:
space:
mode:
Diffstat (limited to 'lang/sablevm/patches')
-rw-r--r--lang/sablevm/patches/patch-aa21
-rw-r--r--lang/sablevm/patches/patch-ab13
2 files changed, 34 insertions, 0 deletions
diff --git a/lang/sablevm/patches/patch-aa b/lang/sablevm/patches/patch-aa
new file mode 100644
index 00000000000..3ee08b74ad0
--- /dev/null
+++ b/lang/sablevm/patches/patch-aa
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.3 2006/01/11 23:19:56 joerg Exp $
+
+--- configure.orig 2006-01-11 22:37:08.000000000 +0000
++++ configure
+@@ -19678,13 +19678,13 @@ else
+ echo ***ERROR: libpopt is missing; exit 1
+ fi
+
+-echo "$as_me:$LINENO: checking for pthread_self in -lpthread" >&5
+-echo $ECHO_N "checking for pthread_self in -lpthread... $ECHO_C" >&6
++echo "$as_me:$LINENO: checking for pthread_self in ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}" >&5
++echo $ECHO_N "checking for pthread_self in ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}... $ECHO_C" >&6
+ if test "${ac_cv_lib_pthread_pthread_self+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lpthread $LIBS"
++LIBS="${PTHREAD_LDFLAGS} ${PTHREAD_LIBS} $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h. */
+ _ACEOF
diff --git a/lang/sablevm/patches/patch-ab b/lang/sablevm/patches/patch-ab
new file mode 100644
index 00000000000..aacaa5620c0
--- /dev/null
+++ b/lang/sablevm/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.3 2006/01/11 23:19:56 joerg Exp $
+
+--- src/libsablevm/Makefile.in.orig 2006-01-11 23:05:18.000000000 +0000
++++ src/libsablevm/Makefile.in
+@@ -341,7 +341,7 @@ noinst_HEADERS = \
+ util.m4.c \
+ vm_args.m4.c
+
+-libsablevm_la_LIBADD = -lpthread -lm -lffi -lltdl -lrt
++libsablevm_la_LIBADD = -lm -lffi -lltdl ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}
+ libsablevm_la_LDFLAGS = -release @LIBRELEASE@
+ INCLUDES = \
+ -I$(srcdir)/include -I$(srcdir)/inlinability \