summaryrefslogtreecommitdiff
path: root/math/rcalc/files/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--math/rcalc/files/patch-aa11
1 files changed, 11 insertions, 0 deletions
diff --git a/math/rcalc/files/patch-aa b/math/rcalc/files/patch-aa
new file mode 100644
index 000000000000..0c6b505d86c9
--- /dev/null
+++ b/math/rcalc/files/patch-aa
@@ -0,0 +1,11 @@
+--- src/config.c.orig Sat Apr 15 13:21:31 2000
++++ src/config.c Thu Apr 20 11:52:30 2000
+@@ -191,7 +191,7 @@
+
+ /* From the man page of semctl(2)
+ */
+-#if defined(__GNU_LIBRARY__) && !defined(_SEM_SEMUN_UNDEFINED)
++#if (defined(__GNU_LIBRARY__) && !defined(_SEM_SEMUN_UNDEFINED)) || defined(__FreeBSD__)
+ /* union semun is defined by including <sys/sem.h> */
+ #else
+ /* according to X/OPEN we have to define it ourselves */