summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorjoerg <joerg>2016-12-15 23:53:38 +0000
committerjoerg <joerg>2016-12-15 23:53:38 +0000
commita5eb5f34c31647e707fac5c0e8d8a6ca783a7696 (patch)
tree6f4cb1fce3d08db31a9b0bab6e4c8a08cc234386 /games
parent4be9127d201ebedd6c34ff709389aad9ff7710be (diff)
downloadpkgsrc-a5eb5f34c31647e707fac5c0e8d8a6ca783a7696.tar.gz
Don't expect pointers to be ordered relative to 0.
Diffstat (limited to 'games')
-rw-r--r--games/scummvm-tools/distinfo3
-rw-r--r--games/scummvm-tools/patches/patch-engines_gob_degob__script.cpp13
2 files changed, 15 insertions, 1 deletions
diff --git a/games/scummvm-tools/distinfo b/games/scummvm-tools/distinfo
index 2fa3424d3f9..76d006cd439 100644
--- a/games/scummvm-tools/distinfo
+++ b/games/scummvm-tools/distinfo
@@ -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 @@ Size (scummvm-tools-1.4.0.tar.bz2) = 943697 bytes
SHA1 (patch-Makefile.common) = d296c951793facfc35835a250b652cedc25b949b
SHA1 (patch-configure) = cf5da2584ec2fa05fb81faa115f8de0616dd04f7
SHA1 (patch-decompiler_refcounted.h) = 509b95e42fa52a1f2c1892dbcfae829a9b7c92f6
+SHA1 (patch-engines_gob_degob__script.cpp) = 6bd377ea818076bc12da69b4d1c2588fa5ead449
diff --git a/games/scummvm-tools/patches/patch-engines_gob_degob__script.cpp b/games/scummvm-tools/patches/patch-engines_gob_degob__script.cpp
new file mode 100644
index 00000000000..297d57d725c
--- /dev/null
+++ b/games/scummvm-tools/patches/patch-engines_gob_degob__script.cpp
@@ -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;
+