games-action/lugaru: Fix building with media-libs/jpeg

Closes: https://bugs.gentoo.org/652930
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
David Seifert
2019-04-11 19:21:50 +02:00
parent c4f53326c8
commit e1b400a259
2 changed files with 16 additions and 2 deletions
@@ -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);
@@ -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() {