Index: Makefile =================================================================== RCS file: /home/pcvs/ports/games/prboom/Makefile,v retrieving revision 1.29 diff -u -r1.29 Makefile --- Makefile 2 Mar 2011 23:59:51 -0000 1.29 +++ Makefile 8 Aug 2011 10:09:26 -0000 @@ -7,7 +7,7 @@ PORTNAME= prboom PORTVERSION= 2.5.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20stable/${PORTVERSION} Index: files/patch-src__SDL__i_sshot.c =================================================================== RCS file: files/patch-src__SDL__i_sshot.c diff -N files/patch-src__SDL__i_sshot.c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-src__SDL__i_sshot.c 1 Aug 2011 08:30:08 -0000 @@ -0,0 +1,21 @@ +--- ./src/SDL/i_sshot.c.orig 2011-07-31 23:28:08.000000000 +0200 ++++ ./src/SDL/i_sshot.c 2011-07-31 23:29:05.000000000 +0200 +@@ -231,8 +231,7 @@ + if (fp) + { + png_struct *png_ptr = png_create_write_struct( +- PNG_LIBPNG_VER_STRING, png_error_ptr_NULL, error_fn, warning_fn); +- ++ PNG_LIBPNG_VER_STRING, NULL, error_fn, warning_fn); + if (png_ptr) + { + png_info *info_ptr = png_create_info_struct(png_ptr); +@@ -279,7 +278,7 @@ + break; + } + } +- png_destroy_write_struct(&png_ptr, png_infopp_NULL); ++ png_destroy_write_struct(&png_ptr, NULL); + } + fclose(fp); + }