ports/144249: [maintainer update] Update emulators/snes9x-gtk to 1.51r79

okeeblow root at cooltrainer.org
Wed Feb 24 01:00:12 UTC 2010


>Number:         144249
>Category:       ports
>Synopsis:       [maintainer update] Update emulators/snes9x-gtk to 1.51r79
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 24 01:00:11 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     okeeblow
>Release:        
>Organization:
>Environment:
>Description:
Update from 1.51r78 to 1.52r79.

Added file: files/patch-screenshot.cpp
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN snes9x-gtk.bak/Makefile snes9x-gtk/Makefile
--- snes9x-gtk.bak/Makefile	2010-01-29 21:07:35.724110210 -0500
+++ snes9x-gtk/Makefile	2010-02-23 17:09:38.379589424 -0500
@@ -2,15 +2,15 @@
 # Date created:         2009-12-12
 # Whom:                 okeeblow <root at cooltrainer.org>
 #
-# $FreeBSD: ports/emulators/snes9x-gtk/Makefile,v 1.1 2010/01/27 22:30:47 miwi Exp $
+# $FreeBSD: ports/emulators/snes9x-gtk/Makefile,v 1.2 2010/02/05 11:36:50 dinoex Exp $
 #
 
 PORTNAME=	snes9x
-PORTVERSION=	1.51r78
+PORTVERSION=	1.52r79
 CATEGORIES=	emulators
 MASTER_SITES=	http://snes9x-gtk.googlecode.com/files/
 PKGNAMESUFFIX=	-gtk
-DISTNAME=	snes9x-1.51-src-gtk-78
+DISTNAME=	snes9x-1.52-src
 
 MAINTAINER=	root at cooltrainer.org
 COMMENT=	Super Nintendo Entertainment System(SNES) Emulator
@@ -28,7 +28,7 @@
 CONFIGURE_ENV+=	CPPFLAGS="-I${LOCALBASE}/include" \
 		LDFLAGS="-L${LOCALBASE}/lib"
 
-WRKSRC=		${WRKDIR}/snes9x-1.51-src/gtk
+WRKSRC=		${WRKDIR}/${DISTNAME}/gtk
 
 OPTIONS=	DEBUG	"Enable debug information"	off \
 		OPENGL	"Enable OpenGL support"	off \
@@ -111,6 +111,9 @@
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}${PKGNAMESUFFIX} ${PREFIX}/bin/${PORTNAME}${PKGNAMESUFFIX}
+	@${MKDIR} ${PREFIX}/share
+	@${MKDIR} ${PREFIX}/share/pixmaps
+	@${MKDIR} ${PREFIX}/share/applications
 	${INSTALL_DATA} ${WRKSRC}/data/snes9x.svg ${PREFIX}/share/pixmaps
 	${INSTALL_DATA} ${WRKSRC}/data/snes9x.desktop ${PREFIX}/share/applications
 
diff -ruN snes9x-gtk.bak/files/patch-screenshot.cpp snes9x-gtk/files/patch-screenshot.cpp
--- snes9x-gtk.bak/files/patch-screenshot.cpp	1969-12-31 19:00:00.000000000 -0500
+++ snes9x-gtk/files/patch-screenshot.cpp	2010-02-23 00:24:32.355852209 -0500
@@ -0,0 +1,10 @@
+--- ../screenshot.cpp.orig	2010-02-23 00:19:36.132640984 -0500
++++ ../screenshot.cpp	2010-02-23 00:19:59.151074837 -0500
+@@ -182,6 +182,7 @@
+ #include "memmap.h"
+ #include "display.h"
+ #include "screenshot.h"
++#include <unistd.h>
+ 
+ 
+ bool8 S9xDoScreenshot (int width, int height)


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



More information about the freebsd-ports-bugs mailing list