r10709 - in packages/trunk/desmume/debian: . patches

Evgeni Golov evgeni at alioth.debian.org
Tue Jan 19 16:23:15 UTC 2010


Author: evgeni
Date: 2010-01-19 16:23:12 +0000 (Tue, 19 Jan 2010)
New Revision: 10709

Added:
   packages/trunk/desmume/debian/patches/01_fix_sz_FTBFS_564788.patch
Modified:
   packages/trunk/desmume/debian/changelog
   packages/trunk/desmume/debian/patches/series
Log:
Add 01_fix_sz_FTBFS_564788.patch to fix FTBFS.


Modified: packages/trunk/desmume/debian/changelog
===================================================================
--- packages/trunk/desmume/debian/changelog	2010-01-19 13:53:29 UTC (rev 10708)
+++ packages/trunk/desmume/debian/changelog	2010-01-19 16:23:12 UTC (rev 10709)
@@ -1,3 +1,11 @@
+desmume (0.9.5-2) unstable; urgency=low
+
+  * debian/patches:
+    + Add 01_fix_sz_FTBFS_564788.patch to fix FTBFS.
+      Closes: #564788
+
+ -- Evgeni Golov <evgeni at debian.org>  Tue, 19 Jan 2010 17:20:29 +0100
+
 desmume (0.9.5-1) unstable; urgency=low
 
   * New upstream release.

Added: packages/trunk/desmume/debian/patches/01_fix_sz_FTBFS_564788.patch
===================================================================
--- packages/trunk/desmume/debian/patches/01_fix_sz_FTBFS_564788.patch	                        (rev 0)
+++ packages/trunk/desmume/debian/patches/01_fix_sz_FTBFS_564788.patch	2010-01-19 16:23:12 UTC (rev 10709)
@@ -0,0 +1,19 @@
+--- desmume/src/saves.cpp	2010/01/13 11:21:48	3279
++++ desmume/src/saves.cpp	2010/01/13 22:17:03	3280
+@@ -852,13 +852,14 @@
+ 			keyset.insert(sf->desc);
+ 			#endif
+ 
++
+ 		#ifdef LOCAL_LE
+ 			// no need to ever loop one at a time if not flipping byte order
+ 			os->fwrite((char *)sf->v,size*count);
+ 		#else
+-			if(sz == 1) {
++			if(size == 1) {
+ 				//special case: write a huge byte array
+-				os->fwrite((char *)sf->v,1,count);
++				os->fwrite((char *)sf->v,count);
+ 			} else {
+ 				for(int i=0;i<count;i++) {
+ 					FlipByteOrder((u8*)sf->v + i*size, size);

Modified: packages/trunk/desmume/debian/patches/series
===================================================================
--- packages/trunk/desmume/debian/patches/series	2010-01-19 13:53:29 UTC (rev 10708)
+++ packages/trunk/desmume/debian/patches/series	2010-01-19 16:23:12 UTC (rev 10709)
@@ -1 +1 @@
-#
+01_fix_sz_FTBFS_564788.patch




More information about the Pkg-games-commits mailing list