aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjwd <jwd@FreeBSD.org>2001-11-25 10:51:42 +0800
committerjwd <jwd@FreeBSD.org>2001-11-25 10:51:42 +0800
commit8a236b71e520d6327df296f31050a50bb55b9c9f (patch)
tree9fa933f324420e09fd0d3b89396dc5f541e3d1eb
parentaff1f538077b9139d05cbc9248238597e03c1198 (diff)
downloadfreebsd-ports-gnome-8a236b71e520d6327df296f31050a50bb55b9c9f.tar.gz
freebsd-ports-gnome-8a236b71e520d6327df296f31050a50bb55b9c9f.tar.zst
freebsd-ports-gnome-8a236b71e520d6327df296f31050a50bb55b9c9f.zip
Support new <nfsclient/nfs.h> in -current.
PR: 30899 Submitted by: Motoyuki Konno <motoyuki@FreeBSD.org> Approved by: jdp
-rw-r--r--lang/pm3-base/files/patch-l120
-rw-r--r--lang/pm3-base/files/patch-l220
2 files changed, 32 insertions, 8 deletions
diff --git a/lang/pm3-base/files/patch-l1 b/lang/pm3-base/files/patch-l1
index 8c4736032cfa..fa1d6f316a4b 100644
--- a/lang/pm3-base/files/patch-l1
+++ b/lang/pm3-base/files/patch-l1
@@ -1,6 +1,18 @@
---- libs/m3core/src/runtime/FreeBSD4/RTHeapDepC.c.old Thu Jun 1 02:54:33 2000
-+++ libs/m3core/src/runtime/FreeBSD4/RTHeapDepC.c Tue Jun 12 14:07:31 2001
-@@ -693,7 +693,9 @@
+--- 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
+@@ -98,7 +98,11 @@
+ #include <sys/time.h>
+ #include <nfs/rpcv2.h>
+ #include <nfs/nfsproto.h>
++#if __FreeBSD_version >= 500023
++#include <nfsclient/nfs.h>
++#else
+ #include <nfs/nfs.h>
++#endif
+ #include <ufs/ufs/ufsmount.h>
+ #endif
+
+@@ -693,7 +697,9 @@
void *data;
{ int result;
struct ufs_args *u_data;
@@ -10,7 +22,7 @@
struct nfs_args *n_data;
ENTER_CRITICAL;
-@@ -704,11 +706,13 @@
+@@ -704,11 +710,13 @@
MAKE_READABLE(u_data);
MAKE_READABLE(u_data->fspec);
result = syscall(SYS_mount, type, dir, flags, data);
diff --git a/lang/pm3-base/files/patch-l2 b/lang/pm3-base/files/patch-l2
index 949e8c15b61c..19cb94256238 100644
--- a/lang/pm3-base/files/patch-l2
+++ b/lang/pm3-base/files/patch-l2
@@ -1,6 +1,18 @@
---- libs/m3core/src/runtime/FBSD_ALPHA/RTHeapDepC.c.old Thu Jun 1 02:54:33 2000
-+++ libs/m3core/src/runtime/FBSD_ALPHA/RTHeapDepC.c Tue Jun 12 14:07:31 2001
-@@ -693,7 +693,9 @@
+--- 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
+@@ -98,7 +98,11 @@
+ #include <sys/time.h>
+ #include <nfs/rpcv2.h>
+ #include <nfs/nfsproto.h>
++#if __FreeBSD_version >= 500023
++#include <nfsclient/nfs.h>
++#else
+ #include <nfs/nfs.h>
++#endif
+ #include <ufs/ufs/ufsmount.h>
+ #endif
+
+@@ -693,7 +697,9 @@
void *data;
{ int result;
struct ufs_args *u_data;
@@ -10,7 +22,7 @@
struct nfs_args *n_data;
ENTER_CRITICAL;
-@@ -704,11 +706,13 @@
+@@ -704,11 +710,13 @@
MAKE_READABLE(u_data);
MAKE_READABLE(u_data->fspec);
result = syscall(SYS_mount, type, dir, flags, data);