From nobody@FreeBSD.org  Fri May 30 13:41:54 2014
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id E3CFA1EB
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 30 May 2014 13:41:54 +0000 (UTC)
Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client did not present a certificate)
	by mx1.freebsd.org (Postfix) with ESMTPS id B77B9277F
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 30 May 2014 13:41:54 +0000 (UTC)
Received: from cgiserv.freebsd.org ([127.0.1.6])
	by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s4UDfs1I064178
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 30 May 2014 13:41:54 GMT
	(envelope-from nobody@cgiserv.freebsd.org)
Received: (from nobody@localhost)
	by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s4UDfsv1064177;
	Fri, 30 May 2014 13:41:54 GMT
	(envelope-from nobody)
Message-Id: <201405301341.s4UDfsv1064177@cgiserv.freebsd.org>
Date: Fri, 30 May 2014 13:41:54 GMT
From: Jason Bacon <jwbacon@tds.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: maintainer update: devel/libamepad
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         190408
>Category:       ports
>Synopsis:       maintainer update: devel/libgamepad
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    tdb
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 30 13:50:00 UTC 2014
>Closed-Date:    
>Last-Modified:  Sat May 31 00:20:24 UTC 2014
>Originator:     Jason Bacon
>Release:        10.0-RELEASE
>Organization:
Acadix Consulting, LLC
>Environment:
FreeBSD freebie.acadix.biz 10.0-RELEASE-p1 FreeBSD 10.0-RELEASE-p1 #0: Tue Apr  8 06:45:06 UTC 2014     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Minor upstream update + remove NO_STAGE.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN --exclude=CVS --exclude=.svn /usr/ports/devel/libgamepad/Makefile /usr/wip/devel/libgamepad/Makefile
--- /usr/ports/devel/libgamepad/Makefile	2014-01-22 11:00:46.000000000 -0600
+++ /usr/wip/devel/libgamepad/Makefile	2014-05-30 08:38:31.000000000 -0500
@@ -2,24 +2,20 @@
 # $FreeBSD: head/devel/libgamepad/Makefile 340722 2014-01-22 17:00:46Z mat $
 
 PORTNAME=	libgamepad
-PORTVERSION=	0.1.1
+PORTVERSION=	0.1.2
 CATEGORIES=	devel games
-MASTER_SITES=	http://personalpages.tds.net/~jwbacon/Ports/distfiles/ \
-		http://jbacon.dyndns.org/~bacon/Ports/distfiles/
+MASTER_SITES=	http://acadix.biz/Ports/distfiles/ \
+		http://personalpages.tds.net/~jwbacon/Ports/distfiles/
 
 MAINTAINER=	jwbacon@tds.net
 COMMENT=	Generic gamepad API
 
-NO_STAGE=	yes
+LICENSE=	BSD2CLAUSE
+
 pre-build:
 	(cd ${WRKSRC} && make depend)
 
-MAN3=		libgamepad.3
-
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 800069
-EXTRA_PATCHES=	${FILESDIR}/extra-patch-gamepad_usbhid.c
-.endif
+MAKE_FLAGS+=	PREFIX=${STAGEDIR}${PREFIX} \
+		MANPREFIX=${STAGEDIR}${PREFIX}
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -ruN --exclude=CVS --exclude=.svn /usr/ports/devel/libgamepad/distinfo /usr/wip/devel/libgamepad/distinfo
--- /usr/ports/devel/libgamepad/distinfo	2014-01-22 09:30:13.000000000 -0600
+++ /usr/wip/devel/libgamepad/distinfo	2014-02-13 16:38:52.000000000 -0600
@@ -1,2 +1,2 @@
-SHA256 (libgamepad-0.1.1.tar.gz) = dde386e1a3044673c49097f93418ed24b110766588d7c86a7278cef21932e5c6
-SIZE (libgamepad-0.1.1.tar.gz) = 8488
+SHA256 (libgamepad-0.1.2.tar.gz) = db786864131af20c08e15f050427b91d1ae72bc4b8d839fba7171e8db8bc98fc
+SIZE (libgamepad-0.1.2.tar.gz) = 8671
diff -ruN --exclude=CVS --exclude=.svn /usr/ports/devel/libgamepad/files/extra-patch-gamepad_usbhid.c /usr/wip/devel/libgamepad/files/extra-patch-gamepad_usbhid.c
--- /usr/ports/devel/libgamepad/files/extra-patch-gamepad_usbhid.c	2014-01-22 11:40:44.000000000 -0600
+++ /usr/wip/devel/libgamepad/files/extra-patch-gamepad_usbhid.c	1969-12-31 18:00:00.000000000 -0600
@@ -1,10 +0,0 @@
---- gamepad_usbhid.c.orig	2009-03-08 12:35:35.000000000 +0300
-+++ gamepad_usbhid.c	2009-03-08 12:35:44.000000000 +0300
-@@ -3,6 +3,7 @@
- #include <string.h>
- #include <sys/ioctl.h>
- #include <dev/usb/usb.h>
-+#include <dev/usb/usb_ioctl.h>
- #include <errno.h>
- #include <fcntl.h>
- #include <unistd.h>


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->tdb 
Responsible-Changed-By: tdb 
Responsible-Changed-When: Sat May 31 00:12:21 UTC 2014 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=190408 

From: Tim Bishop <tdb@FreeBSD.org>
To: Jason Bacon <jwbacon@tds.net>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: ports/190408: maintainer update: devel/libamepad
Date: Sat, 31 May 2014 01:15:30 +0100

 This fails to build for me:
 
 ===>  Building for libgamepad-0.1.2
 (cd /wrkdirs/usr/ports/devel/libgamepad/work/libgamepad-0.1.2 && make depend)
 rm -f Makefile.depend
 touch Makefile.depend
 for file in *.c; do  cpp -I/usr/local/include -MM ${file} >> Makefile.depend;  echo -e "\t\${CC} -c \${CFLAGS} ${file}" >> Makefile.depend;  echo "" >> Makefile.depend;  done
 cc -c -O2 -pipe -fno-strict-aliasing  -I/usr/local/include gamepad.c
 cc -c -O2 -pipe -fno-strict-aliasing  -I/usr/local/include gamepad_usbhid.c
 cc -c -O2 -pipe -fno-strict-aliasing  -I/usr/local/include gamepad_analog.c
 cc -c -O2 -pipe -fno-strict-aliasing  -I/usr/local/include gamepad_libhid.c
 gamepad_usbhid.c:16:19: error: bacon.h: No such file or directory
 *** [gamepad_usbhid.o] Error code 1
 1 error
 ===> Compilation failed unexpectedly.
 
 Tim.
>Unformatted:
