mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-18 08:02:48 +00:00
Fix build with -fno-common
This commit is contained in:
parent
085487dd3c
commit
22ee40576b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=549583
@ -2,9 +2,9 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= libtuntap
|
||||
DISTVERSION= 0.4
|
||||
PORTREVISION= 1
|
||||
DISTVERSIONPREFIX= ${PORTNAME}-
|
||||
DISTVERSION= 0.4
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= devel net
|
||||
|
||||
MAINTAINER= mmokhi@FreeBSD.org
|
||||
|
11
devel/libtuntap/files/patch-private.h
Normal file
11
devel/libtuntap/files/patch-private.h
Normal file
@ -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);
|
11
devel/libtuntap/files/patch-tuntap.c
Normal file
11
devel/libtuntap/files/patch-tuntap.c
Normal file
@ -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;
|
Loading…
Reference in New Issue
Block a user