From owner-freebsd-ports@FreeBSD.ORG Mon Feb 20 11:04:29 2012 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3309D106566C for ; Mon, 20 Feb 2012 11:04:29 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 75B968FC0A for ; Mon, 20 Feb 2012 11:04:28 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id NAA12095 for ; Mon, 20 Feb 2012 13:04:26 +0200 (EET) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1RzR2g-000IiO-Dg for ports@FreeBSD.org; Mon, 20 Feb 2012 13:04:26 +0200 Message-ID: <4F4228A0.2090805@FreeBSD.org> Date: Mon, 20 Feb 2012 13:04:00 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0.1) Gecko/20120215 Thunderbird/10.0.1 MIME-Version: 1.0 To: ports@FreeBSD.org References: <4BF3C17B.5050602@icyb.net.ua> In-Reply-To: <4BF3C17B.5050602@icyb.net.ua> X-Enigmail-Version: 1.3.5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Subject: Re: games/prboom: needs patch after png update X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Feb 2012 11:04:29 -0000 Seems like the following is still an issue. on 19/05/2010 13:46 Andriy Gapon said the following: > > 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