Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Sep 2020 12:57:15 +0000 (UTC)
From:      =?UTF-8?Q?Stefan_E=c3=9fer?= <se@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r549583 - in head/devel/libtuntap: . files
Message-ID:  <202009221257.08MCvFEF096989@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009221257.08MCvFEF096989>