View | Details | Raw Unified | Return to bug 213692 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-7 / +7 lines)
Lines 5-13 Link Here
5
PORTVERSION=	1.53r81
5
PORTVERSION=	1.53r81
6
PORTREVISION=	5
6
PORTREVISION=	5
7
CATEGORIES=	emulators
7
CATEGORIES=	emulators
8
MASTER_SITES=	http://snes9x-gtk.googlecode.com/files/
9
PKGNAMESUFFIX=	-gtk
8
PKGNAMESUFFIX=	-gtk
10
DISTNAME=	snes9x-1.53-src
11
9
12
MAINTAINER=	root@cooltrainer.org
10
MAINTAINER=	root@cooltrainer.org
13
COMMENT=	Super Nintendo Entertainment System(SNES) Emulator
11
COMMENT=	Super Nintendo Entertainment System(SNES) Emulator
Lines 14-28 Link Here
14
12
15
LICENSE=	Snes9x
13
LICENSE=	Snes9x
16
LICENSE_NAME=	Snes9x License
14
LICENSE_NAME=	Snes9x License
17
LICENSE_FILE=	${WRKDIR}/${DISTNAME}/docs/snes9x-license.txt
15
LICENSE_FILE=	${WRKSRC}/../docs/snes9x-license.txt
18
LICENSE_PERMS=	dist-mirror pkg-mirror auto-accept
16
LICENSE_PERMS=	dist-mirror pkg-mirror auto-accept
19
17
20
BROKEN=		Unfetchable (google code has gone away)
21
22
LIB_DEPENDS=	libpng.so:graphics/png
18
LIB_DEPENDS=	libpng.so:graphics/png
23
19
20
USE_GITHUB=	yes
21
GH_ACCOUNT=	snes9xgit
22
GH_TAGNAME=	1.53
23
24
USE_XORG=	x11 sm ice xext
24
USE_XORG=	x11 sm ice xext
25
USES=		gettext gmake perl5 desktop-file-utils pkgconfig tar:bzip2 desktop-file-utils
25
USES=		autoreconf gettext gmake perl5 desktop-file-utils pkgconfig tar:bzip2 desktop-file-utils
26
USE_GNOME=	gtk20 intltool libglade2 libxml2
26
USE_GNOME=	gtk20 intltool libglade2 libxml2
27
GNU_CONFIGURE=	yes
27
GNU_CONFIGURE=	yes
28
USE_SDL=	sdl2
28
USE_SDL=	sdl2
Lines 29-35 Link Here
29
CPPFLAGS+=	-I${LOCALBASE}/include
29
CPPFLAGS+=	-I${LOCALBASE}/include
30
LDFLAGS+=	-L${LOCALBASE}/lib
30
LDFLAGS+=	-L${LOCALBASE}/lib
31
31
32
WRKSRC=		${WRKDIR}/${DISTNAME}/gtk
32
WRKSRC_SUBDIR=	gtk
33
NO_CDROM=	Commercial users must seek permission from copyright holders.
33
NO_CDROM=	Commercial users must seek permission from copyright holders.
34
34
35
OPTIONS_DEFINE=	DEBUG OPENGL JMA NETPLAY XV XRANDR ALSA PORTAUDIO PULSEAUDIO
35
OPTIONS_DEFINE=	DEBUG OPENGL JMA NETPLAY XV XRANDR ALSA PORTAUDIO PULSEAUDIO
(-)distinfo (-2 / +3 lines)
Lines 1-2 Link Here
1
SHA256 (snes9x-1.53-src.tar.bz2) = 9f7c5d2d0fa3fe753611cf94e8879b73b8bb3c0eab97cdbcb6ab7376efa78dc3
1
TIMESTAMP = 1477088431
2
SIZE (snes9x-1.53-src.tar.bz2) = 1838746
2
SHA256 (snes9xgit-snes9x-1.53r81-1.53_GH0.tar.gz) = b27cc34f03334a9316881d1597c97c78c472561cd8399483c3841eaf938c9ab3
3
SIZE (snes9xgit-snes9x-1.53r81-1.53_GH0.tar.gz) = 2016898
(-)files/patch-gtk-configure (-11 lines)
Lines 1-11 Link Here
1
--- configure.orig	2013-10-25 02:52:16.000000000 -0700
2
+++ configure	2013-10-25 02:52:43.000000000 -0700
3
@@ -6316,7 +6316,7 @@
4
   CFLAGS="$CFLAGS -fomit-frame-pointer"
5
 fi
6
 
7
-LIBS="$LIBS -lX11 -ldl -lXext"
8
+LIBS="$LIBS -lX11 -lXext"
9
 
10
 ZSNESFX='#ZSNESFX=yes'
11
 ZSNESC4='#ZSNESC4=yes'
(-)files/patch-gtk-src-gtk__s9x.cpp (-19 lines)
Lines 1-19 Link Here
1
--- src/gtk_s9x.cpp.orig	2013-10-25 03:47:08.000000000 -0700
2
+++ src/gtk_s9x.cpp	2013-10-25 03:47:32.000000000 -0700
3
@@ -44,6 +44,7 @@
4
 
5
     g_thread_init (NULL);
6
     gdk_threads_init ();
7
+    gdk_threads_enter();
8
 
9
     gtk_init (&argc, &argv);
10
 
11
@@ -127,6 +128,8 @@
12
 
13
     gtk_main ();
14
 
15
+    gdk_threads_leave();
16
+    
17
     return 0;
18
 }
19
 
(-)files/patch-gtk_configure.ac (+11 lines)
Line 0 Link Here
1
--- configure.ac.orig	2011-04-24 13:38:10 UTC
2
+++ configure.ac
3
@@ -146,7 +146,7 @@ else
4
   CFLAGS="$CFLAGS -fomit-frame-pointer"
5
 fi
6
 
7
-LIBS="$LIBS -lX11 -ldl -lXext"
8
+LIBS="$LIBS -lX11 -lXext"
9
 
10
 ZSNESFX='#ZSNESFX=yes'
11
 ZSNESC4='#ZSNESC4=yes'
(-)files/patch-gtk_src_gtk__s9x.cpp (+19 lines)
Line 0 Link Here
1
--- src/gtk_s9x.cpp.orig	2011-04-24 13:38:10 UTC
2
+++ src/gtk_s9x.cpp
3
@@ -44,6 +44,7 @@ main (int argc, char *argv[])
4
 
5
     g_thread_init (NULL);
6
     gdk_threads_init ();
7
+    gdk_threads_enter();
8
 
9
     gtk_init (&argc, &argv);
10
 
11
@@ -127,6 +128,8 @@ main (int argc, char *argv[])
12
 
13
     gtk_main ();
14
 
15
+    gdk_threads_leave();
16
+    
17
     return 0;
18
 }
19
 
(-)files/patch-screenshot.cpp (-3 / +3 lines)
Lines 1-6 Link Here
1
--- ../screenshot.cpp.orig	2010-02-23 00:19:36.132640984 -0500
1
--- ../screenshot.cpp.orig	2011-04-24 13:38:10 UTC
2
+++ ../screenshot.cpp	2010-02-23 00:19:59.151074837 -0500
2
+++ ../screenshot.cpp
3
@@ -182,6 +182,7 @@
3
@@ -183,6 +183,7 @@
4
 #include "memmap.h"
4
 #include "memmap.h"
5
 #include "display.h"
5
 #include "display.h"
6
 #include "screenshot.h"
6
 #include "screenshot.h"

Return to bug 213692