summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-action/lugaru')
-rw-r--r--games-action/lugaru/files/lugaru-20151204-jpeg-9c.patch13
-rw-r--r--games-action/lugaru/lugaru-20151204-r1.ebuild5
2 files changed, 16 insertions, 2 deletions
diff --git a/games-action/lugaru/files/lugaru-20151204-jpeg-9c.patch b/games-action/lugaru/files/lugaru-20151204-jpeg-9c.patch
new file mode 100644
index 000000000000..ac0ee48f62d6
--- /dev/null
+++ b/games-action/lugaru/files/lugaru-20151204-jpeg-9c.patch
@@ -0,0 +1,13 @@
+https://bugs.gentoo.org/652930
+
+--- a/Source/OpenGL_Windows.cpp
++++ b/Source/OpenGL_Windows.cpp
+@@ -839,7 +839,7 @@
+ (void) jpeg_read_header(&cinfo, TRUE);
+
+ cinfo.out_color_space = JCS_RGB;
+- cinfo.quantize_colors = 0;
++ cinfo.quantize_colors = FALSE;
+ (void) jpeg_calc_output_dimensions(&cinfo);
+ (void) jpeg_start_decompress(&cinfo);
+
diff --git a/games-action/lugaru/lugaru-20151204-r1.ebuild b/games-action/lugaru/lugaru-20151204-r1.ebuild
index 16843cc472c0..9860f427cdd0 100644
--- a/games-action/lugaru/lugaru-20151204-r1.ebuild
+++ b/games-action/lugaru/lugaru-20151204-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -27,7 +27,8 @@ DEPEND="${RDEPEND}
virtual/pkgconfig"
PATCHES=(
- "${FILESDIR}/${P}-dir.patch"
+ "${FILESDIR}"/${P}-dir.patch
+ "${FILESDIR}"/${P}-jpeg-9c.patch
)
src_prepare() {