svn commit: r549583 - in head/devel/libtuntap: . files
Stefan Eßer
se at FreeBSD.org
Tue Sep 22 12:57:16 UTC 2020
Author: se
Date: Tue Sep 22 12:57:15 2020
New Revision: 549583
URL: https://svnweb.freebsd.org/changeset/ports/549583
Log:
Fix build with -fno-common
Added:
head/devel/libtuntap/files/
head/devel/libtuntap/files/patch-private.h (contents, props changed)
head/devel/libtuntap/files/patch-tuntap.c (contents, props changed)
Modified:
head/devel/libtuntap/Makefile
Modified: head/devel/libtuntap/Makefile
==============================================================================
--- head/devel/libtuntap/Makefile Tue Sep 22 12:52:56 2020 (r549582)
+++ head/devel/libtuntap/Makefile Tue Sep 22 12:57:15 2020 (r549583)
@@ -2,9 +2,9 @@
# $FreeBSD$
PORTNAME= libtuntap
-DISTVERSION= 0.4
-PORTREVISION= 1
DISTVERSIONPREFIX= ${PORTNAME}-
+DISTVERSION= 0.4
+PORTREVISION= 2
CATEGORIES= devel net
MAINTAINER= mmokhi at FreeBSD.org
Added: head/devel/libtuntap/files/patch-private.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/libtuntap/files/patch-private.h Tue Sep 22 12:57:15 2020 (r549583)
@@ -0,0 +1,11 @@
+--- private.h.orig 2018-10-15 10:45:27 UTC
++++ private.h
+@@ -105,7 +105,7 @@ struct device {
+ # endif
+
+ /* Internal log facilities */
+-t_tuntap_log tuntap_log;
++extern t_tuntap_log tuntap_log;
+ void tuntap_log_default(int, const char *);
+ void tuntap_log_hexdump(void *, size_t);
+ void tuntap_log_chksum(void *, int);
Added: head/devel/libtuntap/files/patch-tuntap.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/libtuntap/files/patch-tuntap.c Tue Sep 22 12:57:15 2020 (r549583)
@@ -0,0 +1,11 @@
+--- tuntap.c.orig 2018-10-15 10:45:27 UTC
++++ tuntap.c
+@@ -33,6 +33,8 @@
+ #include "tuntap.h"
+ #include "private.h"
+
++t_tuntap_log tuntap_log;
++
+ struct device *
+ tuntap_init(void) {
+ struct device *dev = NULL;
More information about the svn-ports-head
mailing list