From owner-svn-ports-head@freebsd.org Tue Jul 30 12:45:05 2019 Return-Path: Delivered-To: svn-ports-head@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 83116A2735; Tue, 30 Jul 2019 12:45:05 +0000 (UTC) (envelope-from pkubaj@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) server-signature RSA-PSS (4096 bits) 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 5A03698268; Tue, 30 Jul 2019 12:45:05 +0000 (UTC) (envelope-from pkubaj@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 4173C19329; Tue, 30 Jul 2019 12:45:05 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x6UCj5DM068453; Tue, 30 Jul 2019 12:45:05 GMT (envelope-from pkubaj@FreeBSD.org) Received: (from pkubaj@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x6UCj50Z068452; Tue, 30 Jul 2019 12:45:05 GMT (envelope-from pkubaj@FreeBSD.org) Message-Id: <201907301245.x6UCj50Z068452@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pkubaj set sender to pkubaj@FreeBSD.org using -f From: Piotr Kubaj Date: Tue, 30 Jul 2019 12:45:05 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r507640 - head/security/arpCounterattack/files X-SVN-Group: ports-head X-SVN-Commit-Author: pkubaj X-SVN-Commit-Paths: head/security/arpCounterattack/files X-SVN-Commit-Revision: 507640 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 5A03698268 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.95 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.996,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.96)[-0.956,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jul 2019 12:45:05 -0000 Author: pkubaj Date: Tue Jul 30 12:45:04 2019 New Revision: 507640 URL: https://svnweb.freebsd.org/changeset/ports/507640 Log: security/arpCounterattack: fix build with GCC architectures When building with GCC, sys/types.h needs to be included: In file included from arpCounterattack.cpp:35: /usr/include/net/bpf.h:49:9: error: 'u_int32_t' does not name a type; did you mean 'uint32_t'? typedef u_int32_t bpf_u_int32; ^~~~~~~~~ uint32_t Approved by: linimon (mentor) Differential Revision: https://reviews.freebsd.org/D21091 Modified: head/security/arpCounterattack/files/patch-arpCounterattack.cpp Modified: head/security/arpCounterattack/files/patch-arpCounterattack.cpp ============================================================================== --- head/security/arpCounterattack/files/patch-arpCounterattack.cpp Tue Jul 30 12:43:04 2019 (r507639) +++ head/security/arpCounterattack/files/patch-arpCounterattack.cpp Tue Jul 30 12:45:04 2019 (r507640) @@ -1,6 +1,6 @@ --- arpCounterattack.cpp.orig 2019-03-13 08:10:31 UTC +++ arpCounterattack.cpp -@@ -25,13 +25,14 @@ +@@ -25,13 +25,15 @@ #include #include #include @@ -12,6 +12,7 @@ #include #endif ++#include +#include #include #include