head	1.5;
access;
symbols
	RELEASE_7_2_0:1.4
	RELEASE_7_1_0:1.4
	RELEASE_6_4_0:1.4
	RELEASE_5_EOL:1.4
	RELEASE_7_0_0:1.4
	RELEASE_6_3_0:1.4
	PRE_XORG_7:1.4
	RELEASE_4_EOL:1.4
	RELEASE_6_2_0:1.4
	RELEASE_6_1_0:1.4
	RELEASE_5_5_0:1.4
	RELEASE_6_0_0:1.3
	RELEASE_5_4_0:1.3
	RELEASE_4_11_0:1.3
	RELEASE_5_3_0:1.3
	RELEASE_4_10_0:1.3
	RELEASE_5_2_1:1.3
	RELEASE_5_2_0:1.3
	RELEASE_4_9_0:1.3
	RELEASE_5_1_0:1.3
	RELEASE_4_8_0:1.2
	RELEASE_5_0_0:1.2
	RELEASE_4_7_0:1.2
	RELEASE_4_6_2:1.2
	RELEASE_4_6_1:1.2
	RELEASE_4_6_0:1.2
	RELEASE_5_0_DP1:1.2
	RELEASE_4_5_0:1.2
	RELEASE_4_4_0:1.1;
locks; strict;
comment	@# @;


1.5
date	2009.06.15.14.42.13;	author erwin;	state dead;
branches;
next	1.4;

1.4
date	2005.10.16.06.15.36;	author edwin;	state Exp;
branches;
next	1.3;

1.3
date	2003.04.20.19.34.29;	author jdp;	state Exp;
branches;
next	1.2;

1.2
date	2001.11.25.02.51.42;	author jwd;	state Exp;
branches;
next	1.1;

1.1
date	2001.07.21.21.07.55;	author jdp;	state Exp;
branches;
next	;


desc
@@


1.5
log
@Remove pm3-* and friends as it hasn't been able to build for
over a year.

2008-09-19 lang/pm3-base: Has been broken for more than 6 months
2009-01-19 lang/pm3-forms: depends on broken, expired port
2009-01-19 lang/pm3-gui: depends on broken, expired port
2009-01-19 lang/pm3-m3tk: depends on broken, expired port
2009-01-19 lang/pm3-net: depends on broken, expired port
2009-01-19 lang/pm3-netobj: depends on broken, expired port
graphics/juno-2
@
text
@--- 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>
 #include <nfs/nfsproto.h>
+#if __FreeBSD_version >= 500023
+#include <nfsclient/nfs.h>
+#else
 #include <nfs/nfs.h>
+#endif
 #include <ufs/ufs/ufsmount.h>
 #endif
 
@@@@ -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;
+#if __FreeBSD_version < 500019
   struct mfs_args *m_data;
+#endif
   struct nfs_args *n_data;
 
   ENTER_CRITICAL;
@@@@ -704,11 +714,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);
@@@@ -805,7 +817,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;
@


1.4
log
@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>
@
text
@@


1.3
log
@Deal with the msgsnd() API change in FreeBSD 5.x.

PR:		ports/48509
Submitted by:	Craig Rodrigues <rodrigc@@attbi.com>
@
text
@d1 2
a2 2
--- 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
d15 13
a27 1
@@@@ -693,7 +697,9 @@@@
d37 1
a37 1
@@@@ -704,11 +710,13 @@@@
d51 1
a51 1
@@@@ -805,7 +813,11 @@@@
@


1.2
log
@Support new <nfsclient/nfs.h> in -current.

PR:		30899
Submitted by:	Motoyuki Konno <motoyuki@@FreeBSD.org>
Approved by:	jdp
@
text
@d2 1
a2 1
+++ libs/m3core/src/runtime/FreeBSD4/RTHeapDepC.c	Fri Nov 23 22:45:32 2001
d39 12
@


1.1
log
@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>
@
text
@d1 15
a15 3
--- 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 @@@@
d25 1
a25 1
@@@@ -704,11 +706,13 @@@@
@

