aboutsummaryrefslogtreecommitdiffstats
path: root/lang/pm3-base
diff options
context:
space:
mode:
authorjdp <jdp@FreeBSD.org>2003-04-21 03:34:29 +0800
committerjdp <jdp@FreeBSD.org>2003-04-21 03:34:29 +0800
commit196d0f5fc687333ca42c3406e35b6f3f85c27034 (patch)
tree472aca726473831f7c4444a7fa280d8f262f5d80 /lang/pm3-base
parentb56e4c32a3a7cb1cbcf2ce20d4ee636d3cb76832 (diff)
downloadfreebsd-ports-gnome-196d0f5fc687333ca42c3406e35b6f3f85c27034.tar.gz
freebsd-ports-gnome-196d0f5fc687333ca42c3406e35b6f3f85c27034.tar.zst
freebsd-ports-gnome-196d0f5fc687333ca42c3406e35b6f3f85c27034.zip
Deal with the msgsnd() API change in FreeBSD 5.x.
PR: ports/48509 Submitted by: Craig Rodrigues <rodrigc@attbi.com>
Diffstat (limited to 'lang/pm3-base')
-rw-r--r--lang/pm3-base/files/patch-l114
-rw-r--r--lang/pm3-base/files/patch-l216
2 files changed, 27 insertions, 3 deletions
diff --git a/lang/pm3-base/files/patch-l1 b/lang/pm3-base/files/patch-l1
index fa1d6f316a4b..7e239cb27719 100644
--- a/lang/pm3-base/files/patch-l1
+++ b/lang/pm3-base/files/patch-l1
@@ -1,5 +1,5 @@
--- libs/m3core/src/runtime/FreeBSD4/RTHeapDepC.c.orig Wed May 31 13:54:33 2000
-+++ libs/m3core/src/runtime/FreeBSD4/RTHeapDepC.c Fri Nov 23 22:45:32 2001
++++ libs/m3core/src/runtime/FreeBSD4/RTHeapDepC.c Tue Feb 18 09:33:53 2003
@@ -98,7 +98,11 @@
#include <sys/time.h>
#include <nfs/rpcv2.h>
@@ -36,3 +36,15 @@
} else if (strcmp(type, "nfs") == 0) {
n_data = (struct nfs_args*) data;
MAKE_READABLE(n_data);
+@@ -805,7 +813,11 @@
+
+ int msgsnd(msqid, msgp, msgsz, msgflg) /* ok */
+ int msqid;
++#if __FreeBSD_version >= 500100
++const void *msgp;
++#else
+ void *msgp;
++#endif
+ size_t msgsz;
+ int msgflg;
+ { int result;
diff --git a/lang/pm3-base/files/patch-l2 b/lang/pm3-base/files/patch-l2
index 19cb94256238..e18ec3ae81c2 100644
--- a/lang/pm3-base/files/patch-l2
+++ b/lang/pm3-base/files/patch-l2
@@ -1,5 +1,5 @@
---- libs/m3core/src/runtime/FBSD_ALPHA/RTHeapDepC.c.orig Wed May 31 13:54:24 2000
-+++ libs/m3core/src/runtime/FBSD_ALPHA/RTHeapDepC.c Fri Nov 23 22:37:31 2001
+--- libs/m3core/src/runtime/FBSD_ALPHA/RTHeapDepC.c.orig Wed May 31 10:54:24 2000
++++ libs/m3core/src/runtime/FBSD_ALPHA/RTHeapDepC.c Sun Apr 20 12:21:15 2003
@@ -98,7 +98,11 @@
#include <sys/time.h>
#include <nfs/rpcv2.h>
@@ -36,3 +36,15 @@
} else if (strcmp(type, "nfs") == 0) {
n_data = (struct nfs_args*) data;
MAKE_READABLE(n_data);
+@@ -805,7 +813,11 @@
+
+ int msgsnd(msqid, msgp, msgsz, msgflg) /* ok */
+ int msqid;
++#if __FreeBSD_version >= 500100
++const void *msgp;
++#else
+ void *msgp;
++#endif
+ size_t msgsz;
+ int msgflg;
+ { int result;