From d4bd6695641f6d2ec7ff8681913d304e995902f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 29 May 2018 03:22:09 +0100 Subject: gentoo resync : 29.05.2018 --- games-misc/yadex/files/yadex_170_O2.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 games-misc/yadex/files/yadex_170_O2.patch (limited to 'games-misc/yadex/files/yadex_170_O2.patch') diff --git a/games-misc/yadex/files/yadex_170_O2.patch b/games-misc/yadex/files/yadex_170_O2.patch new file mode 100644 index 000000000000..5ef90ca94253 --- /dev/null +++ b/games-misc/yadex/files/yadex_170_O2.patch @@ -0,0 +1,14 @@ +diff -dupr yadex-1.7.901-patched/src/pic2img.cc yadex-1.7.901/src/pic2img.cc +--- yadex-1.7.901-patched/src/pic2img.cc 2006-11-06 17:35:03.000000000 +0100 ++++ yadex-1.7.901/src/pic2img.cc 2015-11-24 09:54:25.578048649 +0100 +@@ -92,9 +92,9 @@ uint8_t *buf; /* This variable is s + should be pasted. It can be off the image buffer! */ + + // Locate the lump where the picture is ++ MasterDirectory dirbuf; + if (picloc.wad != 0) + { +- MasterDirectory dirbuf; + dirbuf.wadfile = picloc.wad; + dirbuf.dir.start = picloc.ofs; + dirbuf.dir.size = picloc.len; -- cgit v1.2.3