aboutsummaryrefslogtreecommitdiffstats
path: root/lang/pm3-base
diff options
context:
space:
mode:
authorjdp <jdp@FreeBSD.org>2001-07-22 05:07:55 +0800
committerjdp <jdp@FreeBSD.org>2001-07-22 05:07:55 +0800
commit3bfc722c031a3286004eb64f31dfb40006cb3f92 (patch)
treef4fb8602d672f495a1e95ddf7f5f253d253ca07e /lang/pm3-base
parent2d0e6748fd4ccdc39b56fc3bd543a5d60a5e181c (diff)
downloadfreebsd-ports-gnome-3bfc722c031a3286004eb64f31dfb40006cb3f92.tar.gz
freebsd-ports-gnome-3bfc722c031a3286004eb64f31dfb40006cb3f92.tar.zst
freebsd-ports-gnome-3bfc722c031a3286004eb64f31dfb40006cb3f92.zip
Make this port build properly on recent versions of 5.0-current,
from which struct mfs_args has been removed. PR: ports/28093 Submitted by: Motoyuki Konno <motoyuki@freebsd.org>
Diffstat (limited to 'lang/pm3-base')
-rw-r--r--lang/pm3-base/files/patch-l126
-rw-r--r--lang/pm3-base/files/patch-l226
2 files changed, 52 insertions, 0 deletions
diff --git a/lang/pm3-base/files/patch-l1 b/lang/pm3-base/files/patch-l1
new file mode 100644
index 000000000000..8c4736032cfa
--- /dev/null
+++ b/lang/pm3-base/files/patch-l1
@@ -0,0 +1,26 @@
+--- 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 @@
+ void *data;
+ { int result;
+ struct ufs_args *u_data;
++#if __FreeBSD_version < 500019
+ struct mfs_args *m_data;
++#endif
+ struct nfs_args *n_data;
+
+ ENTER_CRITICAL;
+@@ -704,11 +706,13 @@
+ MAKE_READABLE(u_data);
+ MAKE_READABLE(u_data->fspec);
+ result = syscall(SYS_mount, type, dir, flags, data);
++#if __FreeBSD_version < 500019
+ } else if (strcmp(type, "mfs") == 0) {
+ m_data = (struct mfs_args*) data;
+ MAKE_READABLE(m_data);
+ MAKE_READABLE(m_data->fspec);
+ result = syscall(SYS_mount, type, dir, flags, data);
++#endif
+ } else if (strcmp(type, "nfs") == 0) {
+ n_data = (struct nfs_args*) data;
+ MAKE_READABLE(n_data);
diff --git a/lang/pm3-base/files/patch-l2 b/lang/pm3-base/files/patch-l2
new file mode 100644
index 000000000000..0e3d04034a22
--- /dev/null
+++ b/lang/pm3-base/files/patch-l2
@@ -0,0 +1,26 @@
+--- boot-FreeBSD4/m3core/FreeBSD4/RTHeapDepC.c.orig Tue Jun 12 13:53:47 2001
++++ boot-FreeBSD4/m3core/FreeBSD4/RTHeapDepC.c Tue Jun 12 14:08:44 2001
+@@ -693,7 +693,9 @@
+ void *data;
+ { int result;
+ struct ufs_args *u_data;
++#if __FreeBSD_version < 500019
+ struct mfs_args *m_data;
++#endif
+ struct nfs_args *n_data;
+
+ ENTER_CRITICAL;
+@@ -704,11 +706,13 @@
+ MAKE_READABLE(u_data);
+ MAKE_READABLE(u_data->fspec);
+ result = syscall(SYS_mount, type, dir, flags, data);
++#if __FreeBSD_version < 500019
+ } else if (strcmp(type, "mfs") == 0) {
+ m_data = (struct mfs_args*) data;
+ MAKE_READABLE(m_data);
+ MAKE_READABLE(m_data->fspec);
+ result = syscall(SYS_mount, type, dir, flags, data);
++#endif
+ } else if (strcmp(type, "nfs") == 0) {
+ n_data = (struct nfs_args*) data;
+ MAKE_READABLE(n_data);