public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in games-action/extreme-tuxracer/files: extreme-tuxracer-0.5_beta-libpng14.patch
@ 2014-07-16  1:53 Michael Sterrett (mr_bones_)
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Sterrett (mr_bones_) @ 2014-07-16  1:53 UTC (permalink / raw
  To: gentoo-commits

mr_bones_    14/07/16 01:53:07

  Removed:              extreme-tuxracer-0.5_beta-libpng14.patch
  Log:
  old
  
  (Portage version: 2.2.8-r1/cvs/Linux x86_64, unsigned Manifest commit)


^ permalink raw reply	[flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in games-action/extreme-tuxracer/files: extreme-tuxracer-0.5_beta-libpng14.patch
@ 2010-03-09 18:30 Samuli Suominen (ssuominen)
  0 siblings, 0 replies; 2+ messages in thread
From: Samuli Suominen (ssuominen) @ 2010-03-09 18:30 UTC (permalink / raw
  To: gentoo-commits

ssuominen    10/03/09 18:30:56

  Added:                extreme-tuxracer-0.5_beta-libpng14.patch
  Log:
  Fix building with libpng14 wrt #308651 by Locke Shinseiko (Wizzleby).
  (Portage version: 2.2_rc66/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  games-action/extreme-tuxracer/files/extreme-tuxracer-0.5_beta-libpng14.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/extreme-tuxracer/files/extreme-tuxracer-0.5_beta-libpng14.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/extreme-tuxracer/files/extreme-tuxracer-0.5_beta-libpng14.patch?rev=1.1&content-type=text/plain

Index: extreme-tuxracer-0.5_beta-libpng14.patch
===================================================================
http://bugs.gentoo.org/show_bug.cgi?id=308651

--- src/ppgltk/images/png_reader.cpp
+++ src/ppgltk/images/png_reader.cpp
@@ -77,7 +77,7 @@ ReaderPNG::ReaderPNG(const char *fileNam
 	
 	
 	png_get_IHDR(png_ptr, info_ptr, &width, &height,
-       &bit_depth, &color_type, &interlace_type,int_p_NULL, int_p_NULL);
+       &bit_depth, &color_type, &interlace_type,(int *) NULL, (int *) NULL);
 	
 	if(bit_depth == 16)
         png_set_strip_16(png_ptr);
@@ -88,7 +88,7 @@ ReaderPNG::ReaderPNG(const char *fileNam
 		png_set_expand(png_ptr);
 		png_read_update_info(png_ptr, info_ptr);
 		png_get_IHDR(png_ptr, info_ptr, &width, &height,
-			   &bit_depth, &color_type, &interlace_type,int_p_NULL, int_p_NULL);
+			   &bit_depth, &color_type, &interlace_type,(int *) NULL, (int *) NULL);
 	}
 	
 	if( color_type == PNG_COLOR_TYPE_GRAY ||
@@ -96,7 +96,7 @@ ReaderPNG::ReaderPNG(const char *fileNam
 		png_set_gray_to_rgb(png_ptr);
 		png_read_update_info(png_ptr, info_ptr);
 		png_get_IHDR(png_ptr, info_ptr, &width, &height,
-			   &bit_depth, &color_type, &interlace_type,int_p_NULL, int_p_NULL);
+			   &bit_depth, &color_type, &interlace_type,(int *) NULL, (int *) NULL);
 	}
 		
 	this->width=width;
@@ -114,7 +114,7 @@ ReaderPNG::ReaderPNG(const char *fileNam
 	}
 	
 	png_read_end(png_ptr, info_ptr);
-	png_destroy_read_struct(&png_ptr, &info_ptr, png_infopp_NULL);
+	png_destroy_read_struct(&png_ptr, &info_ptr, NULL);
 	fclose(fp);
 }
 






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-07-16  1:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-16  1:53 [gentoo-commits] gentoo-x86 commit in games-action/extreme-tuxracer/files: extreme-tuxracer-0.5_beta-libpng14.patch Michael Sterrett (mr_bones_)
  -- strict thread matches above, loose matches on Subject: below --
2010-03-09 18:30 Samuli Suominen (ssuominen)

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