summaryrefslogtreecommitdiff
path: root/java/jc
diff options
context:
space:
mode:
authorArchie Cobbs <archie@FreeBSD.org>2004-03-17 23:21:15 +0000
committerArchie Cobbs <archie@FreeBSD.org>2004-03-17 23:21:15 +0000
commit41ad1572aee0a76e4ae66e62257c5535c8fa87ef (patch)
treecb246e8d1a2e6486afb4cb5a0624e0cabbe4b4e9 /java/jc
parentUpdate to 1.3.1. Be less verbose. (diff)
Build fix for 5.x.
Notes
Notes: svn path=/head/; revision=104336
Diffstat (limited to 'java/jc')
-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>