aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorarchie <archie@FreeBSD.org>2004-03-11 03:43:18 +0800
committerarchie <archie@FreeBSD.org>2004-03-11 03:43:18 +0800
commit926fcc0fc300b5b695341d84ef2e6ab7b64c71f3 (patch)
treec73bc0522c685821695d0bd5f9320a07a7885152 /java
parentff4ed5fc51cdc55aea10609d691018cab4cbb115 (diff)
downloadfreebsd-ports-gnome-926fcc0fc300b5b695341d84ef2e6ab7b64c71f3.tar.gz
freebsd-ports-gnome-926fcc0fc300b5b695341d84ef2e6ab7b64c71f3.tar.zst
freebsd-ports-gnome-926fcc0fc300b5b695341d84ef2e6ab7b64c71f3.zip
Fix build with a patch from CVS.
Diffstat (limited to 'java')
-rw-r--r--java/jc/Makefile4
-rw-r--r--java/jc/files/patch-ab23
2 files changed, 25 insertions, 2 deletions
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 <pwd.h>
+ #include <elf.h>
+
+-#include <ltdl.h>
+ #include <zlib.h>
+
+ #include <openssl/md5.h>
+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;
+ };
+