diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2005-10-16 06:15:36 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2005-10-16 06:15:36 +0000 |
commit | fc665b188411fa01f878128c291693f5c4bedcd5 (patch) | |
tree | 8dcb6359b5b89d79d0a6273aea3471e74ade7aa1 /lang/pm3-base/files/patch-l1 | |
parent | Remove myself from MAINTAINER (diff) |
Unbreak port: lang/pm3-base
Unbreak pm3-base:
* extend files/patch-l1 and files/patch-l2 to match gethostname(3)
prototype on 5.x and above
* add patch for language/modula3/m3compiler/m3cc/gcc/m3.c to make it use
stdarg.h instead of varargs.h
PR: ports/85038
Submitted by: Vasil Dimov <vd@datamax.bg>
Notes
Notes:
svn path=/head/; revision=145522
Diffstat (limited to 'lang/pm3-base/files/patch-l1')
-rw-r--r-- | lang/pm3-base/files/patch-l1 | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/lang/pm3-base/files/patch-l1 b/lang/pm3-base/files/patch-l1 index 7e239cb27719..91d8c9cd6ed6 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 Tue Feb 18 09:33:53 2003 +--- libs/m3core/src/runtime/FreeBSD4/RTHeapDepC.c.orig Wed May 31 20:54:33 2000 ++++ libs/m3core/src/runtime/FreeBSD4/RTHeapDepC.c Wed Aug 17 11:59:31 2005 @@ -98,7 +98,11 @@ #include <sys/time.h> #include <nfs/rpcv2.h> @@ -12,7 +12,19 @@ #include <ufs/ufs/ufsmount.h> #endif -@@ -693,7 +697,9 @@ +@@ -451,7 +455,11 @@ + + int gethostname(name, namelen) /* ok */ + char *name; ++#if __FreeBSD__ >= 5 ++size_t namelen; ++#else + int namelen; ++#endif + { int result; + #if __FreeBSD__ >= 2 + int mib[2]; +@@ -693,7 +701,9 @@ void *data; { int result; struct ufs_args *u_data; @@ -22,7 +34,7 @@ struct nfs_args *n_data; ENTER_CRITICAL; -@@ -704,11 +710,13 @@ +@@ -704,11 +714,13 @@ MAKE_READABLE(u_data); MAKE_READABLE(u_data->fspec); result = syscall(SYS_mount, type, dir, flags, data); @@ -36,7 +48,7 @@ } else if (strcmp(type, "nfs") == 0) { n_data = (struct nfs_args*) data; MAKE_READABLE(n_data); -@@ -805,7 +813,11 @@ +@@ -805,7 +817,11 @@ int msgsnd(msqid, msgp, msgsz, msgflg) /* ok */ int msqid; |