pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games/scummvm-tools Don't expect pointers to be ordere...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b2a7b2f196ce
branches:  trunk
changeset: 355931:b2a7b2f196ce
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Dec 15 23:53:38 2016 +0000

description:
Don't expect pointers to be ordered relative to 0.

diffstat:

 games/scummvm-tools/distinfo                                    |   3 +-
 games/scummvm-tools/patches/patch-engines_gob_degob__script.cpp |  13 ++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r 6c8b9c03516c -r b2a7b2f196ce games/scummvm-tools/distinfo
--- a/games/scummvm-tools/distinfo      Thu Dec 15 23:52:43 2016 +0000
+++ b/games/scummvm-tools/distinfo      Thu Dec 15 23:53:38 2016 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.7 2015/11/03 20:57:04 agc Exp $
+$NetBSD: distinfo,v 1.8 2016/12/15 23:53:38 joerg Exp $
 
 SHA1 (scummvm-tools-1.4.0.tar.bz2) = 44a422872180f8aea3eb57e0462d930e22c533ba
 RMD160 (scummvm-tools-1.4.0.tar.bz2) = baabb1d8fb99be72c5eafb186aa132b797edc58d
@@ -7,3 +7,4 @@
 SHA1 (patch-Makefile.common) = d296c951793facfc35835a250b652cedc25b949b
 SHA1 (patch-configure) = cf5da2584ec2fa05fb81faa115f8de0616dd04f7
 SHA1 (patch-decompiler_refcounted.h) = 509b95e42fa52a1f2c1892dbcfae829a9b7c92f6
+SHA1 (patch-engines_gob_degob__script.cpp) = 6bd377ea818076bc12da69b4d1c2588fa5ead449
diff -r 6c8b9c03516c -r b2a7b2f196ce games/scummvm-tools/patches/patch-engines_gob_degob__script.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/scummvm-tools/patches/patch-engines_gob_degob__script.cpp   Thu Dec 15 23:53:38 2016 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-engines_gob_degob__script.cpp,v 1.1 2016/12/15 23:53:38 joerg Exp $
+
+--- engines/gob/degob_script.cpp.orig  2016-12-15 16:41:44.458856760 +0000
++++ engines/gob/degob_script.cpp
+@@ -182,7 +182,7 @@ byte *ExtTable::unpack(const byte *packe
+ Script::Script(byte *totData, uint32 totSize, ExtTable *extTable) :
+       _totData(totData), _ptr(totData), _totSize(totSize), _extTable(extTable) {
+ 
+-      assert((totData > 0) && (totSize > 128));
++      assert(totData && (totSize > 128));
+ 
+       _indent = 0;
+ 



Home | Main Index | Thread Index | Old Index