pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/nestopia Fix broken patch file.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/40c470c42396
branches:  trunk
changeset: 639740:40c470c42396
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Wed Sep 24 12:32:26 2014 +0000

description:
Fix broken patch file.

diffstat:

 emulators/nestopia/distinfo                                |   4 +-
 emulators/nestopia/patches/patch-source_core_NstMemory.hpp |  20 +++++++-------
 2 files changed, 12 insertions(+), 12 deletions(-)

diffs (42 lines):

diff -r 719ecc2c7be8 -r 40c470c42396 emulators/nestopia/distinfo
--- a/emulators/nestopia/distinfo       Wed Sep 24 12:24:40 2014 +0000
+++ b/emulators/nestopia/distinfo       Wed Sep 24 12:32:26 2014 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2013/10/28 23:44:44 joerg Exp $
+$NetBSD: distinfo,v 1.4 2014/09/24 12:32:26 jperkin Exp $
 
 SHA1 (Nestopia140src.zip) = ef85771132cc8652456727278df36f7068d238e0
 RMD160 (Nestopia140src.zip) = caecb991dfd459093b88b2abb84ac9bbd95ced63
@@ -8,4 +8,4 @@
 Size (nst140_lnx_release_h.zip) = 250216 bytes
 SHA1 (patch-Makefile) = d3abca01943618fe58d12fac3db2ef2762404aef
 SHA1 (patch-aa) = f598f572056344660c72212900b6b8997d996655
-SHA1 (patch-source_core_NstMemory.hpp) = 82584af16889d2fd7c00ae601a0364cd0d909f6d
+SHA1 (patch-source_core_NstMemory.hpp) = f8e8f0adc3cf0c4ac0bd8847efc118d1001b1c8d
diff -r 719ecc2c7be8 -r 40c470c42396 emulators/nestopia/patches/patch-source_core_NstMemory.hpp
--- a/emulators/nestopia/patches/patch-source_core_NstMemory.hpp        Wed Sep 24 12:24:40 2014 +0000
+++ b/emulators/nestopia/patches/patch-source_core_NstMemory.hpp        Wed Sep 24 12:32:26 2014 +0000
@@ -1,13 +1,13 @@
-$NetBSD: patch-source_core_NstMemory.hpp,v 1.1 2012/12/25 21:10:29 joerg Exp $
+$NetBSD: patch-source_core_NstMemory.hpp,v 1.2 2014/09/24 12:32:26 jperkin Exp $
 
---- source/core/NstMemory.hpp.orig     2012-12-25 16:47:49.000000000 +0000
+--- source/core/NstMemory.hpp.orig     2008-03-26 23:31:44.000000000 +0000
 +++ source/core/NstMemory.hpp
 @@ -763,7 +763,7 @@ namespace Nes
-                               for (uint i=0; i < MEM_NUM_PAGES; ++i)
-                               {
-                                       if (pageData[i*3+0] < NUM_SOURCES)
--                                              Source( pageData[i*3+0] ).SwapBank<MEM_PAGE_SIZE>( i * MEM_PAGE_SIZE, pageData[i*3+1] | uint(pageData[i*3+2]) << 8 );
-+                                              SwapBank<MEM_PAGE_SIZE>( i * MEM_PAGE_SIZE, pageData[i*3+1] | uint(pageData[i*3+2]) << 8 );
-                                       else
-                                               throw RESULT_ERR_CORRUPT_FILE;
-                               }
+                               for (uint i=0; i < MEM_NUM_PAGES; ++i)
+                               {
+                                       if (pageData[i*3+0] < NUM_SOURCES)
+-                                              Source( pageData[i*3+0] ).SwapBank<MEM_PAGE_SIZE>( i * MEM_PAGE_SIZE, pageData[i*3+1] | uint(pageData[i*3+2]) << 8 );
++                                              SwapBank<MEM_PAGE_SIZE>( i * MEM_PAGE_SIZE, pageData[i*3+1] | uint(pageData[i*3+2]) << 8 );
+                                       else
+                                               throw RESULT_ERR_CORRUPT_FILE;
+                               }



Home | Main Index | Thread Index | Old Index