aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorarchie <archie@FreeBSD.org>2004-03-18 07:21:15 +0800
committerarchie <archie@FreeBSD.org>2004-03-18 07:21:15 +0800
commita763ee9b1a43df8819032e5f26c9d2fa929d190a (patch)
treec311b58cb2afef92f77e6da9cf90bae42df9c071 /java
parent6c67d3564e1a12c55086defce79d84846b6997a3 (diff)
downloadfreebsd-ports-gnome-a763ee9b1a43df8819032e5f26c9d2fa929d190a.tar.gz
freebsd-ports-gnome-a763ee9b1a43df8819032e5f26c9d2fa929d190a.tar.zst
freebsd-ports-gnome-a763ee9b1a43df8819032e5f26c9d2fa929d190a.zip
Build fix for 5.x.
Diffstat (limited to 'java')
-rw-r--r--java/jc/files/patch-ac13
1 files changed, 13 insertions, 0 deletions
diff --git a/java/jc/files/patch-ac b/java/jc/files/patch-ac
new file mode 100644
index 000000000000..d6899c1a4486
--- /dev/null
+++ b/java/jc/files/patch-ac
@@ -0,0 +1,13 @@
+--- jc-1.0.1/libjc/libjc.h.orig Wed Mar 17 16:25:39 2004
++++ jc-1.0.1/libjc/libjc.h Wed Mar 17 16:25:58 2004
+@@ -10,6 +10,10 @@
+
+ #include "config.h"
+
++/* FreeBSD hack */
++#define __XSI_VISIBLE 600
++#define __BSD_VISIBLE 1
++
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <sys/mman.h>