summaryrefslogtreecommitdiff
path: root/math/rcalc/files/patch-aa
diff options
context:
space:
mode:
authorChris D. Faulhaber <jedgar@FreeBSD.org>2000-04-20 22:39:56 +0000
committerChris D. Faulhaber <jedgar@FreeBSD.org>2000-04-20 22:39:56 +0000
commit3b2266d7ec737e4bcfdd0809a4015c5729aa3e50 (patch)
treeadd0ef3158d714f11c9ba92b829e221b55f9d9b5 /math/rcalc/files/patch-aa
parentUpgrade to version 1.2.3 with a CVS of a few hours ago. New stuff in (diff)
Update port to 0.2.1
Notes
Notes: svn path=/head/; revision=27829
Diffstat (limited to 'math/rcalc/files/patch-aa')
-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 */