Date: Thu, 20 Feb 2003 21:34:51 -0500 (EST) From: Craig Rodrigues <rodrigc@attbi.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/48509: Fix msgnd() pm3-base for -CURRENT Message-ID: <200302210234.h1L2Ypkq035325@h00609772adf0.ne.client2.attbi.com>
next in thread | raw e-mail | index | archive | help
>Number: 48509 >Category: ports >Synopsis: Fix msgnd() pm3-base for -CURRENT >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Feb 20 18:40:07 PST 2003 >Closed-Date: >Last-Modified: >Originator: Craig Rodrigues >Release: FreeBSD 5.0-CURRENT i386 >Organization: >Environment: System: FreeBSD h00609772adf0.ne.client2.attbi.com 5.0-CURRENT FreeBSD 5.0-CURRENT #15: Mon Jan 27 09:45:31 EST 2003 rodrigc@h00609772adf0.ne.client2.attbi.com:/usr/obj/usr/src/sys/MYKERNEL1 i386 >Description: Prototype for msgsnd() changed to reflect POSIX standard. pm3-base must be patched. >How-To-Repeat: >Fix: Index: patch-l1 =================================================================== RCS file: /home/ncvs/ports/lang/pm3-base/files/patch-l1,v retrieving revision 1.2 diff -u -r1.2 patch-l1 --- patch-l1 2001/11/25 02:51:42 1.2 +++ patch-l1 2003/02/18 19:20:47 @@ -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; >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302210234.h1L2Ypkq035325>