1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

Build fix for 5.x.

This commit is contained in:
Archie Cobbs 2004-03-17 23:21:15 +00:00
parent 22801fbea2
commit 41ad1572ae
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=104336

13
java/jc/files/patch-ac Normal file
View File

@ -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>