mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-20 22:27:17 -08:00
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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user