r2846 - in packages/trunk/fenix0.92/debian: . patches

Miriam Ruiz baby-guest at alioth.debian.org
Tue Jun 5 18:35:59 UTC 2007


Author: baby-guest
Date: 2007-06-05 18:35:59 +0000 (Tue, 05 Jun 2007)
New Revision: 2846

Added:
   packages/trunk/fenix0.92/debian/patches/
   packages/trunk/fenix0.92/debian/patches/fxi_binname.patch
   packages/trunk/fenix0.92/debian/patches/series
Modified:
   packages/trunk/fenix0.92/debian/control
   packages/trunk/fenix0.92/debian/rules
Log:
modified fxi name



Modified: packages/trunk/fenix0.92/debian/control
===================================================================
--- packages/trunk/fenix0.92/debian/control	2007-06-05 18:26:03 UTC (rev 2845)
+++ packages/trunk/fenix0.92/debian/control	2007-06-05 18:35:59 UTC (rev 2846)
@@ -2,7 +2,7 @@
 Section: devel
 Priority: extra
 Maintainer: Miriam Ruiz <little_miry at yahoo.es>
-Build-Depends: dpkg-dev (>= 1.13.19), debhelper (>= 5), autotools-dev, libsdl1.2-dev, libsdl-mixer1.2-dev, zlib1g-dev, libungif4-dev, libpng12-dev, libsmpeg-dev, libmikmod2-dev, libvorbis-dev
+Build-Depends: dpkg-dev (>= 1.13.19), debhelper (>= 5), quilt, autotools-dev, libsdl1.2-dev, libsdl-mixer1.2-dev, zlib1g-dev, libungif4-dev, libpng12-dev, libsmpeg-dev, libmikmod2-dev, libvorbis-dev
 Standards-Version: 3.7.2
 
 Package: fenix0.92-runtime

Added: packages/trunk/fenix0.92/debian/patches/fxi_binname.patch
===================================================================
--- packages/trunk/fenix0.92/debian/patches/fxi_binname.patch	                        (rev 0)
+++ packages/trunk/fenix0.92/debian/patches/fxi_binname.patch	2007-06-05 18:35:59 UTC (rev 2846)
@@ -0,0 +1,22 @@
+--- fenix0.92-0.92a/fxi/src/main.c.orig	2007-06-05 16:29:21.000000000 +0000
++++ fenix0.92-0.92a/fxi/src/main.c	2007-06-05 16:31:50.000000000 +0000
+@@ -158,7 +158,7 @@
+  	ptr = argv[0] + strlen(argv[0]) ;
+  	while (ptr > argv[0] && ptr[-1] != '\\' && ptr[-1] != '/')
+  		ptr-- ;
+- 	fxi = (strncmp(ptr,"fxi",3) == 0) || (strncmp(ptr,"FXI",3) == 0) ;
++ 	fxi = (strncmp(ptr,"fenix0.92-fxi",3) == 0) || (strncmp(ptr,"FXI",3) == 0) ;
+ 
+ 	/* Init RAND generator */
+ 
+@@ -220,8 +220,8 @@
+ 			/* No embedded DCB; search for a DCB with similar name */
+ 
+ 			filename = ptr ;
+-	 		while (*ptr && *ptr != '.') ptr++ ;
+-	 		*ptr = 0 ;
++	 		#while (*ptr && *ptr != '.') ptr++ ;
++	 		#*ptr = 0 ;
+ 		}
+ 	}
+ 

Added: packages/trunk/fenix0.92/debian/patches/series
===================================================================
--- packages/trunk/fenix0.92/debian/patches/series	                        (rev 0)
+++ packages/trunk/fenix0.92/debian/patches/series	2007-06-05 18:35:59 UTC (rev 2846)
@@ -0,0 +1 @@
+fxi_binname.patch

Modified: packages/trunk/fenix0.92/debian/rules
===================================================================
--- packages/trunk/fenix0.92/debian/rules	2007-06-05 18:26:03 UTC (rev 2845)
+++ packages/trunk/fenix0.92/debian/rules	2007-06-05 18:35:59 UTC (rev 2846)
@@ -20,6 +20,7 @@
 
 config.status: configure
 	dh_testdir
+	$(MAKE) -f /usr/share/quilt/quilt.make patch
 ifneq "$(wildcard /usr/share/misc/config.sub)" ""
 	cp -f /usr/share/misc/config.sub config.sub
 endif
@@ -52,6 +53,7 @@
 	rm -f build-stamp 
 	-$(MAKE) distclean
 	rm -f config.{sub,guess}
+	$(MAKE) -f /usr/share/quilt/quilt.make unpatch
 	dh_clean 
 
 install: build




More information about the Pkg-games-commits mailing list