Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Sep 2013 06:33:17 +0400 (MSK)
From:      Dmitry Marakasov <amdmi3@amdmi3.ru>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        webmaster@kibab.com
Subject:   ports/182452: [PATCH] net/wpa_gui: support staging, fix build on -current
Message-ID:  <20130928023317.3E12459B@hades.panopticon>
Resent-Message-ID: <201309280240.r8S2e0WP065724@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         182452
>Category:       ports
>Synopsis:       [PATCH] net/wpa_gui: support staging, fix build on -current
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 28 02:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 9.1-RELEASE-p4 amd64
>Organization:
>Environment:
System: FreeBSD hades.panopticon 9.1-RELEASE-p4 FreeBSD 9.1-RELEASE-p4 #0 r251956: Tue Jun 18 21:41:37 MSK
>Description:
- Support staging
- Fix build on -CURRENT by adding missing #include

Port maintainer (webmaster@kibab.com) is cc'd.

Generated with FreeBSD Port Tools 0.99_8 (mode: change, diff: SVN)
>How-To-Repeat:
>Fix:

--- wpa_gui-0.7.3.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 328540)
+++ Makefile	(working copy)
@@ -22,7 +22,6 @@
 USE_QT4=	gui moc_build qmake_build rcc_build uic_build
 HAS_CONFIGURE=	yes
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e "s|Exec=wpa_gui|Exec=${PREFIX}/sbin/wpa_gui|" \
 	    ${WRKSRC}/wpa_gui.desktop
@@ -33,9 +32,9 @@
 		${QMAKE} ${QMAKEFLAGS} PREFIX=${PREFIX}
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin
-	@${MKDIR} ${PREFIX}/share/applications
-	${INSTALL_DATA} ${WRKSRC}/wpa_gui.desktop ${PREFIX}/share/applications
-	${INSTALL_DATA} ${WRKSRC}/icons/wpa_gui.svg ${PREFIX}/share/pixmaps
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/applications
+	${INSTALL_DATA} ${WRKSRC}/wpa_gui.desktop ${STAGEDIR}${PREFIX}/share/applications
+	${INSTALL_DATA} ${WRKSRC}/icons/wpa_gui.svg ${STAGEDIR}${PREFIX}/share/pixmaps
 
 .include <bsd.port.mk>
Index: files/patch-wpagui.cpp
===================================================================
--- files/patch-wpagui.cpp	(revision 0)
+++ files/patch-wpagui.cpp	(working copy)
@@ -0,0 +1,11 @@
+--- wpagui.cpp.orig	2010-09-07 19:43:39.000000000 +0400
++++ wpagui.cpp	2013-09-28 02:55:26.912521423 +0400
+@@ -27,6 +27,8 @@
+ #include <QImageReader>
+ #include <QSettings>
+ 
++#include <getopt.h>
++
+ #include "wpagui.h"
+ #include "dirent.h"
+ #include "common/wpa_ctrl.h"

Property changes on: files/patch-wpagui.cpp
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: fbsd:nokeywords
## -0,0 +1 ##
+yes
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
--- wpa_gui-0.7.3.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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