summaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorarchie <archie@FreeBSD.org>2004-03-17 23:21:15 +0000
committerarchie <archie@FreeBSD.org>2004-03-17 23:21:15 +0000
commita763ee9b1a43df8819032e5f26c9d2fa929d190a (patch)
treec311b58cb2afef92f77e6da9cf90bae42df9c071 /java
parent6c67d3564e1a12c55086defce79d84846b6997a3 (diff)
downloadFreeBSD-ports-a763ee9b1a43df8819032e5f26c9d2fa929d190a.zip
FreeBSD-ports-a763ee9b1a43df8819032e5f26c9d2fa929d190a.tar.gz
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 0000000..d6899c1a
--- /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>
OpenPOWER on IntegriCloud