r3503 - packages/trunk/fenix/debian/patches

Miriam Ruiz baby-guest at alioth.debian.org
Tue Jul 31 07:42:59 UTC 2007


Author: baby-guest
Date: 2007-07-31 07:42:59 +0000 (Tue, 31 Jul 2007)
New Revision: 3503

Modified:
   packages/trunk/fenix/debian/patches/fxi_binname.patch
Log:
Corrected bug in patch



Modified: packages/trunk/fenix/debian/patches/fxi_binname.patch
===================================================================
--- packages/trunk/fenix/debian/patches/fxi_binname.patch	2007-07-31 03:54:10 UTC (rev 3502)
+++ packages/trunk/fenix/debian/patches/fxi_binname.patch	2007-07-31 07:42:59 UTC (rev 3503)
@@ -1,13 +1,12 @@
 --- fenix0.92-0.92a/fxi/src/main.c.orig	2007-06-05 16:35:10.000000000 +0000
 +++ fenix0.92-0.92a/fxi/src/main.c	2007-06-05 16:37:24.000000000 +0000
-@@ -158,7 +158,9 @@
+@@ -158,7 +158,8 @@
   	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",13) == 0) \
-+		|| (strncmp(ptr,"fxi",3) == 0) \
-+		|| (strncmp(ptr,"FXI",3) == 0) ;
++ 	fxi = (strncasecmp(ptr,"fenix-fxi",9) == 0) \
++		|| (strncasecmp(ptr,"fxi",3) == 0) ;
  
  	/* Init RAND generator */
  




More information about the Pkg-games-commits mailing list