summaryrefslogtreecommitdiff
path: root/net/mopd/files/patch-common_loop-bsd.c
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2020-09-29 21:50:34 +0000
committerStefan Eßer <se@FreeBSD.org>2020-09-29 21:50:34 +0000
commit3a82c56aca7f24585025d4c94b1b8f863f636f3a (patch)
treee18ada8fbceacf39630824ce6d261cbad7f65ce5 /net/mopd/files/patch-common_loop-bsd.c
parentwww/py-boto3: Update 1.14.1 -> 1.15.8 (diff)
Fix build with -fno-common
While here regenerate all patch files with make-patch
Diffstat (limited to 'net/mopd/files/patch-common_loop-bsd.c')
-rw-r--r--net/mopd/files/patch-common_loop-bsd.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/mopd/files/patch-common_loop-bsd.c b/net/mopd/files/patch-common_loop-bsd.c
new file mode 100644
index 000000000000..cdca45f562f1
--- /dev/null
+++ b/net/mopd/files/patch-common_loop-bsd.c
@@ -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 *));
+