From owner-svn-ports-head@freebsd.org Tue Apr 9 21:37:50 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5CDD1156ECEF; Tue, 9 Apr 2019 21:37:50 +0000 (UTC) (envelope-from fernape@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 01207835C2; Tue, 9 Apr 2019 21:37:50 +0000 (UTC) (envelope-from fernape@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 CEC6E18F7E; Tue, 9 Apr 2019 21:37:49 +0000 (UTC) (envelope-from fernape@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x39Lbnt9021944; Tue, 9 Apr 2019 21:37:49 GMT (envelope-from fernape@FreeBSD.org) Received: (from fernape@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x39LbnRe021942; Tue, 9 Apr 2019 21:37:49 GMT (envelope-from fernape@FreeBSD.org) Message-Id: <201904092137.x39LbnRe021942@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: fernape set sender to fernape@FreeBSD.org using -f From: =?UTF-8?Q?Fernando_Apestegu=c3=ada?= Date: Tue, 9 Apr 2019 21:37:49 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r498520 - in head/security/pixiewps: . files X-SVN-Group: ports-head X-SVN-Commit-Author: fernape X-SVN-Commit-Paths: in head/security/pixiewps: . files X-SVN-Commit-Revision: 498520 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 01207835C2 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-0.99)[-0.994,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.97)[-0.973,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, 09 Apr 2019 21:37:50 -0000 Author: fernape Date: Tue Apr 9 21:37:49 2019 New Revision: 498520 URL: https://svnweb.freebsd.org/changeset/ports/498520 Log: security/pixiewps: fix build with GCC-based architectures PR: 237102 Submitted by: pkubaj@anongoth.pl Approved by: franz@bett.ag (maintainer) Added: head/security/pixiewps/files/ head/security/pixiewps/files/patch-Makefile (contents, props changed) head/security/pixiewps/files/patch-pixiewps.c (contents, props changed) Modified: head/security/pixiewps/Makefile Modified: head/security/pixiewps/Makefile ============================================================================== --- head/security/pixiewps/Makefile Tue Apr 9 21:25:11 2019 (r498519) +++ head/security/pixiewps/Makefile Tue Apr 9 21:37:49 2019 (r498520) @@ -12,8 +12,6 @@ COMMENT= Offline WPS bruteforce utility LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/../LICENSE.md -BROKEN_powerpc64= fails to compile: /usr/include/sys/sysctl.h:1033:25: unknown type name 'u_int' - USES= gmake WRKSRC_SUBDIR= src USE_GITHUB= yes Added: head/security/pixiewps/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/pixiewps/files/patch-Makefile Tue Apr 9 21:37:49 2019 (r498520) @@ -0,0 +1,8 @@ +--- Makefile.orig 2019-04-08 08:32:00 UTC ++++ Makefile +@@ -1,4 +1,4 @@ +-CFLAGS = -std=c99 -O3 ++CFLAGS += -std=c99 -D__BSD_VISIBLE + + LIBS = -lpthread + ifeq ($(OPENSSL),1) Added: head/security/pixiewps/files/patch-pixiewps.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/pixiewps/files/patch-pixiewps.c Tue Apr 9 21:37:49 2019 (r498520) @@ -0,0 +1,13 @@ +--- pixiewps.c.orig 2019-04-08 08:26:23 UTC ++++ pixiewps.c +@@ -32,6 +32,10 @@ + # include + #endif + ++#ifdef __FreeBSD__ ++# include ++#endif ++ + #ifdef __APPLE__ + # define _DARWIN_C_SOURCE + #endif