From 2dd045a933658cfe1f9aaed361891207695c6fcf Mon Sep 17 00:00:00 2001 From: Archie Cobbs Date: Wed, 10 Mar 2004 19:43:18 +0000 Subject: Fix build with a patch from CVS. --- java/jc/Makefile | 4 ++-- java/jc/files/patch-ab | 23 +++++++++++++++++++++++ 2 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 java/jc/files/patch-ab diff --git a/java/jc/Makefile b/java/jc/Makefile index b24e2a638284..7e979a36668f 100644 --- a/java/jc/Makefile +++ b/java/jc/Makefile @@ -22,8 +22,8 @@ BUILD_DEPENDS= jikes:${PORTSDIR}/java/jikes \ LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt \ ffi.2:${PORTSDIR}/devel/libffi -USE_LIBTOOL= yes -LIBTOOLFILES= ${JCDIR}/aclocal.m4 ${CLASSPATHDIR}/aclocal.m4 +#USE_LIBTOOL= yes +#LIBTOOLFILES= ${JCDIR}/aclocal.m4 ${CLASSPATHDIR}/aclocal.m4 USE_GMAKE= yes INSTALLS_SHLIB= yes PLIST_SUB= PORTVERSION=${PORTVERSION} diff --git a/java/jc/files/patch-ab b/java/jc/files/patch-ab new file mode 100644 index 000000000000..17afe43b6777 --- /dev/null +++ b/java/jc/files/patch-ab @@ -0,0 +1,23 @@ +diff -u -r1.2 libjc.h +--- jc-1.0.1/libjc/libjc.h 28 Feb 2004 04:20:48 -0000 1.2 ++++ jc-1.0.1/libjc/libjc.h 10 Mar 2004 19:29:19 -0000 +@@ -33,7 +33,6 @@ + #include + #include + +-#include + #include + + #include +diff -u -r1.3 structures.h +--- jc-1.0.1/libjc/structures.h 23 Feb 2004 19:46:35 -0000 1.3 ++++ jc-1.0.1/libjc/structures.h 10 Mar 2004 19:29:19 -0000 +@@ -466,7 +466,7 @@ + */ + struct _jc_native_lib { + char *name; +- lt_dlhandle handle; ++ void *handle; + STAILQ_ENTRY(_jc_native_lib) link; + }; + -- cgit v1.2.3