[fenix] 32/127: Corrected bug in patch

Peter Pentchev roam at ringlet.net
Thu Dec 17 14:39:32 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 98912fad2af9fbad0cbfeef5b93fdaec9ba4dad1
Author: Miriam Ruiz <miriam at debian.org>
Date:   Tue Jul 31 07:42:59 2007 +0000

    Corrected bug in patch
---
 debian/patches/fxi_binname.patch | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/debian/patches/fxi_binname.patch b/debian/patches/fxi_binname.patch
index 6468bed..6d033ca 100644
--- a/debian/patches/fxi_binname.patch
+++ b/debian/patches/fxi_binname.patch
@@ -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 */
  

-- 
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