Welcome to FreeBSDFreaks.net!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

games/prboom: needs patch after png update

 
   FreeBSD Hosting (Home) -> FreeBSD Ports RSS
Next:  upcomming xfce 4.6.2 release  
Author Message
Andriy Gapon

External


Since: Oct 22, 2004
Posts: 65



(Msg. 1) Posted: Wed May 19, 2010 7:25 am
Post subject: games/prboom: needs patch after png update
Archived from groups: mailing>freebsd>ports (more info?)

This is an issue very similar to what is described here:
http://www.freebsd.org/cgi/query-pr.cgi?pr=145163
The following patch should fix compilation with new png.

--- src/SDL/i_sshot.c.orig 2010-05-19 13:40:36.506099313 +0300
+++ src/SDL/i_sshot.c 2010-05-19 13:41:50.837973800 +0300
@@ -231,7 +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)
{
@@ -279,7 +279,7 @@
break;
}
}
- png_destroy_write_struct(&png_ptr, png_infopp_NULL);
+ png_destroy_write_struct(&png_ptr, NULL);
}
fclose(fp);
}

--
Andriy Gapon
_______________________________________________
freebsd-ports.DeleteThis@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"

 >> Stay informed about: games/prboom: needs patch after png update 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
games/prboom with GL=on fails at configure - games/prboom (2.4.7) with GL=on fails at configure, because it can not find GL headers under /usr/local (i.e. LOCALBASE). I think this is because of the following: CONFIGURE_ENV= CFLAGS+="-I${LOCALBASE}/include" \ ^^^^^^ I...

[Patch] games/frozenbubbles 1.0.0 - --lrZ03NoBR/3+SXJZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello, Please find attached a diff for bringing games/frozenbubble to version 1.0.0. It also adds a patch to address the problem with latest p5-sdl. Thanks in...

patch for mille in freebsd-games - Hi, I noticed that the game mille in the ports freebsd-games doesn't respect the man rule, when a safety card is player it's "always entitles the player to an extra turn". the fact is that is doesn't do it. It comes from this error during compi...

update to games/netpanzer port - I've sent an update to my port games/netpanzer. The new version is required for network games, as many changes also in protocols have been made. Is there any specific problems with the PR? I understand a game is far less important than other things, but...

[UPDATE] games/el to 1.12 - >Submitter-Id: current-users >Originator: Melvyn Sopacua >Organization: >Confidential: no >Synopsis: [UPDATE] games/el to 1.12 >Severity: non-critical >Priority: medium >Category: ports >Class: update >Release: FreeBSD 6....
   FreeBSD Hosting (Home) -> FreeBSD Ports All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]