[fenix] 13/127: Compiler should not initialize SDL

Peter Pentchev roam at ringlet.net
Thu Dec 17 14:39:30 UTC 2015


This is an automated email from the git hooks/post-receive script.

roam-guest pushed a commit to branch master
in repository fenix.

commit e20aee4e02e7d200fd6271d6be53e819142b0b75
Author: Miriam Ruiz <miriam at debian.org>
Date:   Mon Jun 11 11:20:47 2007 +0000

    Compiler should not initialize SDL
---
 debian/patches/fxc_nosdlinit.patch | 17 +++++++++++++++++
 debian/patches/series              |  1 +
 2 files changed, 18 insertions(+)

diff --git a/debian/patches/fxc_nosdlinit.patch b/debian/patches/fxc_nosdlinit.patch
new file mode 100644
index 0000000..7a24cd9
--- /dev/null
+++ b/debian/patches/fxc_nosdlinit.patch
@@ -0,0 +1,17 @@
+--- fenix0.92-0.92a.dfsg1.orig/fxc/src/main.c
++++ fenix0.92-0.92a.dfsg1/fxc/src/main.c
+@@ -134,14 +134,6 @@
+ 
+ 	srand (time(NULL)) ;
+ 
+-	/* Init SDL */
+-
+-	if ( SDL_Init (SDL_INIT_VIDEO) < 0 )
+-	{
+-		printf ("SDL Init Error: %s\n", SDL_GetError()) ;
+-		exit(1) ;
+-	}
+-
+ 	/* Get command line parameters */
+ 
+ 	for (i = 1 ; i < argc ; i++)
diff --git a/debian/patches/series b/debian/patches/series
index b1fca23..c00e2ec 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 configure.patch
 fxi_binname.patch
+fxc_nosdlinit.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/fenix.git



More information about the Pkg-games-commits mailing list