diff options
author | joerg <joerg@pkgsrc.org> | 2016-12-15 23:53:38 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2016-12-15 23:53:38 +0000 |
commit | 75af1d45be774e72a5985bcd0b4c61fadf3ee18b (patch) | |
tree | 7ff65f325964c419a78e186847d2b077b86956bc /games | |
parent | c8beffc4eb8693317534bef6563445d3fe62142f (diff) | |
download | pkgsrc-75af1d45be774e72a5985bcd0b4c61fadf3ee18b.tar.gz |
Don't expect pointers to be ordered relative to 0.
Diffstat (limited to 'games')
-rw-r--r-- | games/scummvm-tools/distinfo | 3 | ||||
-rw-r--r-- | games/scummvm-tools/patches/patch-engines_gob_degob__script.cpp | 13 |
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; + |