Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Apr 2019 21:37:49 +0000 (UTC)
From:      =?UTF-8?Q?Fernando_Apestegu=c3=ada?= <fernape@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r498520 - in head/security/pixiewps: . files
Message-ID:  <201904092137.x39LbnRe021942@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <windows.h>
+ #endif
+ 
++#ifdef __FreeBSD__
++# include <sys/types.h>
++#endif
++
+ #ifdef __APPLE__
+ # define _DARWIN_C_SOURCE
+ #endif



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