public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in games-strategy/scorched3d/files: scorched3d-43.3d-jpeg9.patch
@ 2014-12-04  7:27 Alfredo Tupone (tupone)
  0 siblings, 0 replies; only message in thread
From: Alfredo Tupone (tupone) @ 2014-12-04  7:27 UTC (permalink / raw
  To: gentoo-commits

tupone      14/12/04 07:27:07

  Added:                scorched3d-43.3d-jpeg9.patch
  Log:
  Fix build with jpeg-9 Bug #527508
  
  (Portage version: 2.2.8-r2/cvs/Linux x86_64, signed Manifest commit with key 0145142D)

Revision  Changes    Path
1.1                  games-strategy/scorched3d/files/scorched3d-43.3d-jpeg9.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/scorched3d/files/scorched3d-43.3d-jpeg9.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/scorched3d/files/scorched3d-43.3d-jpeg9.patch?rev=1.1&content-type=text/plain

Index: scorched3d-43.3d-jpeg9.patch
===================================================================
--- src/common/image/ImageJpgFactory.cpp.old	2014-12-03 09:52:03.306552513 +0100
+++ src/common/image/ImageJpgFactory.cpp	2014-12-03 09:53:22.117786304 +0100
@@ -79,7 +79,7 @@
 	src->next_input_byte = FakeEOI;
 	src->bytes_in_buffer = 2;
 
-	return TRUE;
+	return (boolean)TRUE;
 }
 
 METHODDEF(void)
@@ -166,7 +166,7 @@
 	src->bytes_in_buffer = buffer.getBufferUsed();
 	src->next_input_byte = (JOCTET *) buffer.getBuffer();
 
-	jpeg_read_header(&cinfo, TRUE);
+	jpeg_read_header(&cinfo, (boolean)TRUE);
 	jpeg_start_decompress(&cinfo);
 
 	if ((cinfo.output_components == 3 && !readalpha) ||





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

only message in thread, other threads:[~2014-12-04  7:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-04  7:27 [gentoo-commits] gentoo-x86 commit in games-strategy/scorched3d/files: scorched3d-43.3d-jpeg9.patch Alfredo Tupone (tupone)

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