From owner-svn-ports-head@freebsd.org Tue Sep 29 21:50:39 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 47B513F1C40; Tue, 29 Sep 2020 21:50:39 +0000 (UTC) (envelope-from se@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C1Ck71cmmz4KXT; Tue, 29 Sep 2020 21:50:39 +0000 (UTC) (envelope-from se@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1AC73153DE; Tue, 29 Sep 2020 21:50:39 +0000 (UTC) (envelope-from se@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 08TLodJV028272; Tue, 29 Sep 2020 21:50:39 GMT (envelope-from se@FreeBSD.org) Received: (from se@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 08TLoZRx028253; Tue, 29 Sep 2020 21:50:35 GMT (envelope-from se@FreeBSD.org) Message-Id: <202009292150.08TLoZRx028253@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: se set sender to se@FreeBSD.org using -f From: =?UTF-8?Q?Stefan_E=c3=9fer?= Date: Tue, 29 Sep 2020 21:50:35 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r550628 - in head/net/mopd: . files X-SVN-Group: ports-head X-SVN-Commit-Author: se X-SVN-Commit-Paths: in head/net/mopd: . files X-SVN-Commit-Revision: 550628 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Sep 2020 21:50:39 -0000 Author: se Date: Tue Sep 29 21:50:34 2020 New Revision: 550628 URL: https://svnweb.freebsd.org/changeset/ports/550628 Log: Fix build with -fno-common While here regenerate all patch files with make-patch Added: head/net/mopd/files/LICENSE.txt (contents, props changed) head/net/mopd/files/patch-common_device.c - copied, changed from r550627, head/net/mopd/files/patch-device.c head/net/mopd/files/patch-common_file.c - copied, changed from r550627, head/net/mopd/files/patch-file.c head/net/mopd/files/patch-common_loop-bsd.c (contents, props changed) head/net/mopd/files/patch-common_pf.c - copied, changed from r550627, head/net/mopd/files/patch-pf.c head/net/mopd/files/patch-common_put.c - copied, changed from r550627, head/net/mopd/files/patch-put.c head/net/mopd/files/patch-mopchk_Makefile (contents, props changed) head/net/mopd/files/patch-mopchk_mopchk.c (contents, props changed) head/net/mopd/files/patch-mopd_Makefile (contents, props changed) head/net/mopd/files/patch-mopd_mopd.c (contents, props changed) head/net/mopd/files/patch-mopd_process.c - copied, changed from r550627, head/net/mopd/files/patch-process.c head/net/mopd/files/patch-mopprobe_Makefile (contents, props changed) head/net/mopd/files/patch-mopprobe_mopprobe.c (contents, props changed) head/net/mopd/files/patch-moptrace_Makefile (contents, props changed) head/net/mopd/files/patch-moptrace_moptrace.c (contents, props changed) head/net/mopd/files/patch-otherOS_Makefile (contents, props changed) head/net/mopd/files/patch-otherOS_loop.c (contents, props changed) head/net/mopd/files/patch-otherOS_pf-snit.c - copied, changed from r550627, head/net/mopd/files/patch-pf-snit.c Deleted: head/net/mopd/files/patch-device.c head/net/mopd/files/patch-file.c head/net/mopd/files/patch-pf-snit.c head/net/mopd/files/patch-pf.c head/net/mopd/files/patch-process.c head/net/mopd/files/patch-put.c Modified: head/net/mopd/Makefile Modified: head/net/mopd/Makefile ============================================================================== --- head/net/mopd/Makefile Tue Sep 29 21:45:50 2020 (r550627) +++ head/net/mopd/Makefile Tue Sep 29 21:50:34 2020 (r550628) @@ -3,13 +3,16 @@ PORTNAME= mopd PORTVERSION= 2.5.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net MASTER_SITES= LOCAL/cy EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org COMMENT= MOP Loader Daemon for netbooting DEC machines + +LICENSE= BSD4CLAUSE +LICENSE_FILE= ${PATCHDIR}/LICENSE.txt USES= uidfix MAKE_ENV= BINDIR=${PREFIX}/sbin MANDIR=${PREFIX}/man/man NO_MANCOMPRESS=true Added: head/net/mopd/files/LICENSE.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/mopd/files/LICENSE.txt Tue Sep 29 21:50:34 2020 (r550628) @@ -0,0 +1,26 @@ +Copyright (c) 1993-90 Mats O Jansson. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: + This product includes software developed by Mats O Jansson. +4. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR +IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Copied and modified: head/net/mopd/files/patch-common_device.c (from r550627, head/net/mopd/files/patch-device.c) ============================================================================== --- head/net/mopd/files/patch-device.c Tue Sep 29 21:45:50 2020 (r550627, copy source) +++ head/net/mopd/files/patch-common_device.c Tue Sep 29 21:50:34 2020 (r550628) @@ -1,6 +1,15 @@ ---- common/device.c 1996/09/21 13:49:16 1.1 -+++ common/device.c 2000/02/20 17:45:33 1.4 -@@ -111,7 +113,8 @@ +--- common/device.c.orig 1996-08-08 00:01:54 UTC ++++ common/device.c +@@ -35,7 +35,7 @@ static char rcsid[] = "$Id: device.c,v 1.21 1996/08/08 + #include "common/common.h" + #include "common/mopdef.h" + +-struct if_info *iflist; /* Interface List */ ++/*extern*/ struct if_info *iflist; /* Interface List */ + + void mopReadDL(); + void mopReadRC(); +@@ -111,7 +111,8 @@ deviceOpen(ifname, proto, trans) { struct if_info *p, tmp; @@ -10,7 +19,7 @@ tmp.iopen = pfInit; switch (proto) { -@@ -138,7 +141,8 @@ +@@ -138,7 +139,8 @@ deviceOpen(ifname, proto, trans) p->next = iflist; iflist = p; @@ -20,7 +29,7 @@ p->iopen = tmp.iopen; p->write = pfWrite; p->read = tmp.read; -@@ -185,12 +199,12 @@ +@@ -185,12 +187,12 @@ deviceInitOne(ifname) if ((strlen(dev) == 2) && (dev[0] == 'e') && ((dev[1] == 'n') || (dev[1] == 't'))) { Copied and modified: head/net/mopd/files/patch-common_file.c (from r550627, head/net/mopd/files/patch-file.c) ============================================================================== --- head/net/mopd/files/patch-file.c Tue Sep 29 21:45:50 2020 (r550627, copy source) +++ head/net/mopd/files/patch-common_file.c Tue Sep 29 21:50:34 2020 (r550628) @@ -1,6 +1,6 @@ ---- common/file.c.orig Sat Aug 17 00:39:41 1996 -+++ common/file.c Mon Aug 23 16:36:03 2004 -@@ -44,6 +44,7 @@ +--- common/file.c.orig 1996-08-16 22:39:41 UTC ++++ common/file.c +@@ -44,6 +44,7 @@ static char rcsid[] = "$Id: file.c,v 1.4 1996/08/16 22 #endif #if defined(__FreeBSD__) #include @@ -8,7 +8,7 @@ #endif #if !defined(MID_VAX) #define MID_VAX 140 -@@ -345,7 +346,7 @@ +@@ -345,7 +346,7 @@ getMID(old_mid,new_mid) mid = MID_ARM6; break; #endif @@ -17,7 +17,7 @@ /*###352 [cc] syntax error before `}'%%%*/ } -@@ -522,7 +523,7 @@ +@@ -522,7 +523,7 @@ GetAOutFileInfo(fd, load, xfr, a_text, a_text_fill, ex.a_trsize= mopFileGetBX((u_char *)&ex_swap, 24, 4); ex.a_drsize= mopFileGetBX((u_char *)&ex_swap, 28, 4); break; @@ -26,7 +26,7 @@ /*###525 [cc] syntax error before `}'%%%*/ } -@@ -575,7 +576,7 @@ +@@ -575,7 +576,7 @@ GetAOutFileInfo(fd, load, xfr, a_text, a_text_fill, printf("arm32"); break; #endif Added: head/net/mopd/files/patch-common_loop-bsd.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/mopd/files/patch-common_loop-bsd.c Tue Sep 29 21:50:34 2020 (r550628) @@ -0,0 +1,11 @@ +--- common/loop-bsd.c.orig 1996-08-16 22:41:43 UTC ++++ common/loop-bsd.c +@@ -89,7 +89,7 @@ mopReadDL() + * The list of all interfaces that are being listened to. loop() + * "selects" on the descriptors in this list. + */ +-struct if_info *iflist; ++extern struct if_info *iflist; + + void mopProcess __P((struct if_info *, u_char *)); + Copied and modified: head/net/mopd/files/patch-common_pf.c (from r550627, head/net/mopd/files/patch-pf.c) ============================================================================== --- head/net/mopd/files/patch-pf.c Tue Sep 29 21:45:50 2020 (r550627, copy source) +++ head/net/mopd/files/patch-common_pf.c Tue Sep 29 21:50:34 2020 (r550628) @@ -1,15 +1,16 @@ ---- common/pf.c.orig Tue Aug 6 07:20:27 1996 -+++ common/pf.c Wed Oct 15 13:02:19 2003 -@@ -56,7 +56,7 @@ +--- common/pf.c.orig 1996-08-06 14:20:27 UTC ++++ common/pf.c +@@ -56,8 +56,8 @@ static char rcsid[] = "$Id: pf.c,v 1.16 1996/08/06 14: #include #include -#include -+ ++ #include "common/mopdef.h" -@@ -174,7 +174,8 @@ + /* +@@ -174,7 +174,8 @@ pfAddMulti(s, interface, addr) struct ifreq ifr; int fd; @@ -19,7 +20,7 @@ ifr.ifr_addr.sa_family = AF_UNSPEC; bcopy(addr, ifr.ifr_addr.sa_data, 6); -@@ -209,7 +210,8 @@ +@@ -209,7 +210,8 @@ pfDelMulti(s, interface, addr) struct ifreq ifr; int fd; Copied and modified: head/net/mopd/files/patch-common_put.c (from r550627, head/net/mopd/files/patch-put.c) ============================================================================== --- head/net/mopd/files/patch-put.c Tue Sep 29 21:45:50 2020 (r550627, copy source) +++ head/net/mopd/files/patch-common_put.c Tue Sep 29 21:50:34 2020 (r550628) @@ -1,6 +1,6 @@ ---- common/put.c.orig Fri Aug 16 15:43:15 1996 -+++ common/put.c Sun Mar 5 09:32:05 2000 -@@ -35,6 +35,9 @@ +--- common/put.c.orig 1996-08-16 22:43:15 UTC ++++ common/put.c +@@ -35,6 +35,9 @@ static char rcsid[] = "$Id: put.c,v 1.5 1996/08/16 22: #include #include #include "common/mopdef.h" @@ -10,7 +10,7 @@ void mopPutChar(pkt, index, value) -@@ -137,10 +140,7 @@ +@@ -137,10 +140,7 @@ mopPutHeader(pkt, index, dst, src, proto, trans) mopPutChar (pkt, index, 0x00); mopPutChar (pkt, index, 0x2b); } @@ -22,7 +22,7 @@ if (trans == TRANS_8023) { mopPutChar(pkt, index, (proto / 256)); mopPutChar(pkt, index, (proto % 256)); -@@ -148,6 +148,9 @@ +@@ -148,6 +148,9 @@ mopPutHeader(pkt, index, dst, src, proto, trans) mopPutChar(pkt, index, (proto % 256)); mopPutChar(pkt, index, (proto / 256)); } @@ -32,7 +32,7 @@ #endif if (trans == TRANS_ETHER) mopPutShort(pkt, index, 0); -@@ -170,12 +173,12 @@ +@@ -170,12 +173,12 @@ mopPutLength(pkt, trans, len) break; case TRANS_8023: index = 12; Added: head/net/mopd/files/patch-mopchk_Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/mopd/files/patch-mopchk_Makefile Tue Sep 29 21:50:34 2020 (r550628) @@ -0,0 +1,11 @@ +--- mopchk/Makefile.orig 1996-08-16 22:46:38 UTC ++++ mopchk/Makefile +@@ -9,7 +9,7 @@ LDADD= -lkvm + + version.c version.h: ${.CURDIR}/../common/VERSION + rm -f version.c; \ +- sed 's/.*/char version[] = "&";/' ${.ALLSRC} > version.c ++ sed 's/.*/static char version[] = "&";/' ${.ALLSRC} > version.c + set `sed 's/\([0-9]*\)\.\([0-9]*\).*/\1 \2/' ${.ALLSRC}` ; \ + { echo '#define VERSION_MAJOR' $$1 ; \ + echo '#define VERSION_MINOR' $$2 ; } > version.h Added: head/net/mopd/files/patch-mopchk_mopchk.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/mopd/files/patch-mopchk_mopchk.c Tue Sep 29 21:50:34 2020 (r550628) @@ -0,0 +1,11 @@ +--- mopchk/mopchk.c.orig 1996-08-16 22:47:15 UTC ++++ mopchk/mopchk.c +@@ -48,7 +48,7 @@ static char rcsid[] = "$Id: mopchk.c,v 1.5 1996/08/16 + * The list of all interfaces that are being listened to. rarp_loop() + * "selects" on the descriptors in this list. + */ +-struct if_info *iflist; ++extern struct if_info *iflist; + + #ifdef NO__P + void Usage (/* void */); Added: head/net/mopd/files/patch-mopd_Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/mopd/files/patch-mopd_Makefile Tue Sep 29 21:50:34 2020 (r550628) @@ -0,0 +1,11 @@ +--- mopd/Makefile.orig 1996-08-16 22:36:26 UTC ++++ mopd/Makefile +@@ -11,7 +11,7 @@ LDADD= -lkvm + + version.c version.h: ${.CURDIR}/../common/VERSION + rm -f version.c; \ +- sed 's/.*/char version[] = "&";/' ${.ALLSRC} > version.c ++ sed 's/.*/char version[] = "&";/' ${.ALLSRC} > version.c + set `sed 's/\([0-9]*\)\.\([0-9]*\).*/\1 \2/' ${.ALLSRC}` ; \ + { echo '#define VERSION_MAJOR' $$1 ; \ + echo '#define VERSION_MINOR' $$2 ; } > version.h Added: head/net/mopd/files/patch-mopd_mopd.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/mopd/files/patch-mopd_mopd.c Tue Sep 29 21:50:34 2020 (r550628) @@ -0,0 +1,11 @@ +--- mopd/mopd.c.orig 1996-03-31 19:21:00 UTC ++++ mopd/mopd.c +@@ -54,7 +54,7 @@ static char rcsid[] = "$Id: mopd.c,v 1.14 1996/03/31 1 + * The list of all interfaces that are being listened to. + * "selects" on the descriptors in this list. + */ +-struct if_info *iflist; ++extern struct if_info *iflist; + + #ifdef NO__P + void Loop (/* void */); Copied and modified: head/net/mopd/files/patch-mopd_process.c (from r550627, head/net/mopd/files/patch-process.c) ============================================================================== --- head/net/mopd/files/patch-process.c Tue Sep 29 21:45:50 2020 (r550627, copy source) +++ head/net/mopd/files/patch-mopd_process.c Tue Sep 29 21:50:34 2020 (r550628) @@ -1,6 +1,6 @@ ---- mopd/process.c 1996/09/21 19:12:26 1.2 -+++ mopd/process.c 2000/07/04 23:46:23 1.8 -@@ -267,7 +267,7 @@ +--- mopd/process.c.orig 1996-08-22 17:07:38 UTC ++++ mopd/process.c +@@ -265,7 +265,7 @@ mopStartLoad(dst, src, dl_rpr, trans) dllist[slot].a_lseek = 0; dllist[slot].count = 0; @@ -9,7 +9,7 @@ dllist[slot].dl_bsz = 1492; if (dllist[slot].dl_bsz == 1030) /* VS/uVAX 2000 needs this */ dllist[slot].dl_bsz = 1000; -@@ -350,10 +350,10 @@ +@@ -348,10 +348,10 @@ mopNextLoad(dst, src, new_count, trans) close(dllist[slot].ldfd); dllist[slot].ldfd = 0; dllist[slot].status = DL_STATUS_FREE; @@ -22,7 +22,7 @@ return; } -@@ -438,7 +438,7 @@ +@@ -436,7 +436,7 @@ mopProcessDL(fd, ii, pkt, index, dst, src, trans, len) { u_char tmpc; u_short moplen; @@ -31,7 +31,7 @@ char filename[FILENAME_MAX]; char line[100]; int i,nfd,iindex; -@@ -487,6 +487,8 @@ +@@ -485,6 +485,8 @@ mopProcessDL(fd, ii, pkt, index, dst, src, trans, len) rpr_pgty = mopGetChar(pkt,index); /* Program Type */ tmpc = mopGetChar(pkt,index); /* Software ID Len */ @@ -40,7 +40,7 @@ for (i = 0; i < tmpc; i++) { pfile[i] = mopGetChar(pkt,index); pfile[i+1] = '\0'; -@@ -513,31 +515,32 @@ +@@ -511,31 +513,32 @@ mopProcessDL(fd, ii, pkt, index, dst, src, trans, len) bcopy((char *)src, (char *)(dl_rpr->eaddr), 6); mopProcessInfo(pkt,index,moplen,dl_rpr,trans); Added: head/net/mopd/files/patch-mopprobe_Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/mopd/files/patch-mopprobe_Makefile Tue Sep 29 21:50:34 2020 (r550628) @@ -0,0 +1,11 @@ +--- mopprobe/Makefile.orig 1996-08-16 22:48:44 UTC ++++ mopprobe/Makefile +@@ -9,7 +9,7 @@ LDADD= -lkvm + + version.c version.h: ${.CURDIR}/../common/VERSION + rm -f version.c; \ +- sed 's/.*/char version[] = "&";/' ${.ALLSRC} > version.c ++ sed 's/.*/static char version[] = "&";/' ${.ALLSRC} > version.c + set `sed 's/\([0-9]*\)\.\([0-9]*\).*/\1 \2/' ${.ALLSRC}` ; \ + { echo '#define VERSION_MAJOR' $$1 ; \ + echo '#define VERSION_MINOR' $$2 ; } > version.h Added: head/net/mopd/files/patch-mopprobe_mopprobe.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/mopd/files/patch-mopprobe_mopprobe.c Tue Sep 29 21:50:34 2020 (r550628) @@ -0,0 +1,11 @@ +--- mopprobe/mopprobe.c.orig 1996-08-11 22:31:43 UTC ++++ mopprobe/mopprobe.c +@@ -52,7 +52,7 @@ static char rcsid[] = "$Id: mopprobe.c,v 1.11 1996/08/ + * The list of all interfaces that are being listened to. rarp_loop() + * "selects" on the descriptors in this list. + */ +-struct if_info *iflist; ++extern struct if_info *iflist; + + #ifdef NO__P + void Loop (/* void */); Added: head/net/mopd/files/patch-moptrace_Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/mopd/files/patch-moptrace_Makefile Tue Sep 29 21:50:34 2020 (r550628) @@ -0,0 +1,11 @@ +--- moptrace/Makefile.orig 1996-08-16 22:49:27 UTC ++++ moptrace/Makefile +@@ -11,7 +11,7 @@ LDADD= -lkvm + + version.c version.h: ${.CURDIR}/../common/VERSION + rm -f version.c; \ +- sed 's/.*/char version[] = "&";/' ${.ALLSRC} > version.c ++ sed 's/.*/static char version[] = "&";/' ${.ALLSRC} > version.c + set `sed 's/\([0-9]*\)\.\([0-9]*\).*/\1 \2/' ${.ALLSRC}` ; \ + { echo '#define VERSION_MAJOR' $$1 ; \ + echo '#define VERSION_MINOR' $$2 ; } > version.h Added: head/net/mopd/files/patch-moptrace_moptrace.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/mopd/files/patch-moptrace_moptrace.c Tue Sep 29 21:50:34 2020 (r550628) @@ -0,0 +1,11 @@ +--- moptrace/moptrace.c.orig 1996-08-07 22:48:04 UTC ++++ moptrace/moptrace.c +@@ -52,7 +52,7 @@ static char rcsid[] = "$Id: moptrace.c,v 1.10 1996/08/ + * The list of all interfaces that are being listened to. + * "selects" on the descriptors in this list. + */ +-struct if_info *iflist; ++extern struct if_info *iflist; + + #ifdef NO__P + void Loop (/* void */); Added: head/net/mopd/files/patch-otherOS_Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/mopd/files/patch-otherOS_Makefile Tue Sep 29 21:50:34 2020 (r550628) @@ -0,0 +1,11 @@ +--- otherOS/Makefile.orig 1996-08-13 18:44:15 UTC ++++ otherOS/Makefile +@@ -164,7 +164,7 @@ VERSION: + + version.o: version.c + version.c version.h: VERSION +- rm -f version.c ; sed 's/.*/char version[] = "&";/' VERSION > version.c ++ rm -f version.c ; sed 's/.*/static char version[] = "&";/' VERSION > version.c + set `sed 's/\([0-9]*\)\.\([0-9]*\).*/\1 \2/' VERSION` ; \ + { echo '#define VERSION_MAJOR' $$1 ; \ + echo '#define VERSION_MINOR' $$2 ; } > version.h Added: head/net/mopd/files/patch-otherOS_loop.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/mopd/files/patch-otherOS_loop.c Tue Sep 29 21:50:34 2020 (r550628) @@ -0,0 +1,11 @@ +--- otherOS/loop.c.orig 1996-08-07 23:49:12 UTC ++++ otherOS/loop.c +@@ -39,7 +39,7 @@ static char rcsid[] = "$Id: loop.c,v 1.8 1996/08/07 23 + * The list of all interfaces that are being listened to. loop() + * "selects" on the descriptors in this list. + */ +-struct if_info *iflist; ++extern struct if_info *iflist; + u_char buf[BUFSIZE]; + + void mopProcess (/* struct if_info *, u_char * */); Copied and modified: head/net/mopd/files/patch-otherOS_pf-snit.c (from r550627, head/net/mopd/files/patch-pf-snit.c) ============================================================================== --- head/net/mopd/files/patch-pf-snit.c Tue Sep 29 21:45:50 2020 (r550627, copy source) +++ head/net/mopd/files/patch-otherOS_pf-snit.c Tue Sep 29 21:50:34 2020 (r550628) @@ -1,6 +1,6 @@ ---- otherOS/pf-snit.c 1996/09/21 19:12:50 1.2 -+++ otherOS/pf-snit.c 2000/02/20 17:45:34 1.3 -@@ -239,7 +239,8 @@ +--- otherOS/pf-snit.c.orig 1996-08-08 11:48:50 UTC ++++ otherOS/pf-snit.c +@@ -237,7 +237,8 @@ pfAddMulti(s, interface, addr) struct ifreq ifr; int fd; @@ -10,7 +10,7 @@ ifr.ifr_addr.sa_family = AF_UNSPEC; bcopy(addr, ifr.ifr_addr.sa_data, 6); -@@ -274,7 +275,8 @@ +@@ -272,7 +273,8 @@ char *interface, *addr; struct ifreq ifr; int fd;