public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: games-action/lugaru/files/, games-action/lugaru/
@ 2019-04-11 17:22 David Seifert
  0 siblings, 0 replies; only message in thread
From: David Seifert @ 2019-04-11 17:22 UTC (permalink / raw
  To: gentoo-commits

commit:     e1b400a259946c52aac5ca9971c8df06c8519fb9
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 11 17:11:14 2019 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Thu Apr 11 17:21:50 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1b400a2

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 <AT> gentoo.org>

 games-action/lugaru/files/lugaru-20151204-jpeg-9c.patch | 13 +++++++++++++
 games-action/lugaru/lugaru-20151204-r1.ebuild           |  5 +++--
 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 00000000000..ac0ee48f62d
--- /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 16843cc472c..9860f427cdd 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() {


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-04-11 17:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-11 17:22 [gentoo-commits] repo/gentoo:master commit in: games-action/lugaru/files/, games-action/lugaru/ David Seifert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox