From owner-svn-ports-all@freebsd.org Tue Sep 22 12:57:16 2020 Return-Path: Delivered-To: svn-ports-all@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 8DD733E8945; Tue, 22 Sep 2020 12:57:16 +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 4BwhCw3Gcjz3ym6; Tue, 22 Sep 2020 12:57:16 +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 54B3C1FA21; Tue, 22 Sep 2020 12:57:16 +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 08MCvGJg096992; Tue, 22 Sep 2020 12:57:16 GMT (envelope-from se@FreeBSD.org) Received: (from se@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 08MCvFEF096989; Tue, 22 Sep 2020 12:57:15 GMT (envelope-from se@FreeBSD.org) Message-Id: <202009221257.08MCvFEF096989@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, 22 Sep 2020 12:57:15 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r549583 - in head/devel/libtuntap: . files X-SVN-Group: ports-head X-SVN-Commit-Author: se X-SVN-Commit-Paths: in head/devel/libtuntap: . files X-SVN-Commit-Revision: 549583 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Sep 2020 12:57:16 -0000 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;