ports/183318: [patch] Update emulators/snes9x-gtk to 1.53r81
Max Sterling
maxclsb at gmail.com
Sat Oct 26 04:10:00 UTC 2013
>Number: 183318
>Category: ports
>Synopsis: [patch] Update emulators/snes9x-gtk to 1.53r81
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sat Oct 26 04:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Max Sterling
>Release: 9.1
>Organization:
>Environment:
FreeBSD marvin 9.1-STABLE FreeBSD 9.1-STABLE #0 r246344: Tue Feb 5 00:46:08 MST 2013 root at marvin:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
Updated emulators/snes9x-gtk to 1.53r81, the latest available.
The configure script no longer recognizes the options '--with-assembler' and '--with-mmx' so I removed the port options that enable them.
Added stage support.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
Index: Makefile
===================================================================
--- Makefile (revision 331642)
+++ Makefile (working copy)
@@ -2,12 +2,11 @@
# $FreeBSD$
PORTNAME= snes9x
-PORTVERSION= 1.52r79
-PORTREVISION= 4
+PORTVERSION= 1.53r81
CATEGORIES= emulators
MASTER_SITES= http://snes9x-gtk.googlecode.com/files/
PKGNAMESUFFIX= -gtk
-DISTNAME= snes9x-1.52-src
+DISTNAME= snes9x-1.53-src
MAINTAINER= root at cooltrainer.org
COMMENT= Super Nintendo Entertainment System(SNES) Emulator
@@ -23,19 +22,17 @@
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS+= --without-alsa
+#USE_AUTOTOOLS= autoconf aclocal
WRKSRC= ${WRKDIR}/${DISTNAME}/gtk
OPTIONS_DEFINE= DEBUG OPENGL JMA NETPLAY XV XRANDR
OPTIONS_DEFAULT= JMA NETPLAY XV XRANDR
-OPTIONS_DEFINE_i386= ASM MMX
-OPTIONS_DEFAULT_i386= ASM
JMA_DESC= Enable JMA archive decompression support
NETPLAY_DESC= Enable network support
XV_DESC= Enable XVideo output on GTK
XRANDR_DESC= Enable XRandR support on GTK
-NO_STAGE= yes
.include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MDEBUG}
@@ -44,19 +41,6 @@
CONFIGURE_ARGS+= --without-debug
.endif
-.if ${PORT_OPTIONS:MASM}
-BUILD_DEPENDS+= nasm:${PORTSDIR}/devel/nasm
-CONFIGURE_ARGS+= --with-assembler
-.else
-CONFIGURE_ARGS+= --without-assembler
-.endif
-
-.if ${PORT_OPTIONS:MMMX} && !defined(PACKAGE_BUILDING)
-CONFIGURE_ARGS+= --with-mmx
-.else
-CONFIGURE_ARGS+= --without-mmx
-.endif
-
.if ${PORT_OPTIONS:MOPENGL}
CONFIGURE_ARGS+= --with-opengl
USE_GL= glu
@@ -97,9 +81,12 @@
.endif
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}${PKGNAMESUFFIX} ${PREFIX}/bin/${PORTNAME}${PKGNAMESUFFIX}
- ${INSTALL_DATA} ${WRKSRC}/data/snes9x.svg ${PREFIX}/share/pixmaps
- ${INSTALL_DATA} ${WRKSRC}/data/snes9x.desktop ${PREFIX}/share/applications
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}${PKGNAMESUFFIX} \
+ ${STAGEDIR}${PREFIX}/bin/${PORTNAME}${PKGNAMESUFFIX}
+ ${INSTALL_DATA} ${WRKSRC}/data/snes9x.svg \
+ ${STAGEDIR}${PREFIX}/share/pixmaps
+ ${INSTALL_DATA} ${WRKSRC}/data/snes9x.desktop \
+ ${STAGEDIR}${PREFIX}/share/applications
post-install:
- at update-desktop-database
Index: distinfo
===================================================================
--- distinfo (revision 331642)
+++ distinfo (working copy)
@@ -1,2 +1,2 @@
-SHA256 (snes9x-1.52-src.tar.bz2) = 36e09b2da62b9210feb224cfd183047a151a71c1d5e5f92749dc28bd4b7ff1cb
-SIZE (snes9x-1.52-src.tar.bz2) = 1720137
+SHA256 (snes9x-1.53-src.tar.bz2) = 9f7c5d2d0fa3fe753611cf94e8879b73b8bb3c0eab97cdbcb6ab7376efa78dc3
+SIZE (snes9x-1.53-src.tar.bz2) = 1838746
Index: files/patch-gtk-configure
===================================================================
--- files/patch-gtk-configure (revision 0)
+++ files/patch-gtk-configure (working copy)
@@ -0,0 +1,11 @@
+--- configure.orig 2013-10-25 02:52:16.000000000 -0700
++++ configure 2013-10-25 02:52:43.000000000 -0700
+@@ -6316,7 +6316,7 @@
+ CFLAGS="$CFLAGS -fomit-frame-pointer"
+ fi
+
+-LIBS="$LIBS -lX11 -ldl -lXext"
++LIBS="$LIBS -lX11 -lXext"
+
+ ZSNESFX='#ZSNESFX=yes'
+ ZSNESC4='#ZSNESC4=yes'
Property changes on: files/patch-gtk-configure
___________________________________________________________________
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
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: files/patch-gtk-src-gtk__s9x.cpp
===================================================================
--- files/patch-gtk-src-gtk__s9x.cpp (revision 0)
+++ files/patch-gtk-src-gtk__s9x.cpp (working copy)
@@ -0,0 +1,19 @@
+--- src/gtk_s9x.cpp.orig 2013-10-25 03:47:08.000000000 -0700
++++ src/gtk_s9x.cpp 2013-10-25 03:47:32.000000000 -0700
+@@ -44,6 +44,7 @@
+
+ g_thread_init (NULL);
+ gdk_threads_init ();
++ gdk_threads_enter();
+
+ gtk_init (&argc, &argv);
+
+@@ -127,6 +128,8 @@
+
+ gtk_main ();
+
++ gdk_threads_leave();
++
+ return 0;
+ }
+
Property changes on: files/patch-gtk-src-gtk__s9x.cpp
___________________________________________________________________
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
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list