From owner-freebsd-ports@FreeBSD.ORG Thu Oct 22 06:26:40 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 74AA9106566B; Thu, 22 Oct 2009 06:26:40 +0000 (UTC) (envelope-from kamikaze@bsdforen.de) Received: from mail.bsdforen.de (bsdforen.de [212.204.60.79]) by mx1.freebsd.org (Postfix) with ESMTP id D25798FC0C; Thu, 22 Oct 2009 06:26:39 +0000 (UTC) Received: from mobileKamikaze.norad (vpn-cl-166-135.rz.uni-karlsruhe.de [141.3.166.135]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.bsdforen.de (Postfix) with ESMTP id A31188A0D08; Thu, 22 Oct 2009 08:26:38 +0200 (CEST) Message-ID: <4ADFFB1D.2070003@bsdforen.de> Date: Thu, 22 Oct 2009 08:26:37 +0200 From: Dominic Fandrey User-Agent: Thunderbird 2.0.0.23 (X11/20091021) MIME-Version: 1.0 To: ale@FreeBSD.org X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: php5-gd PNG support broken 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: Thu, 22 Oct 2009 06:26:40 -0000 I've got the following problem with php5-gd: Warning: imagecreatefrompng() [function.imagecreatefrompng]: gd-png: fatal libpng error: [00][00][00][00]: unknown critical chunk in /usr/home/kamikaze/devel/workspace/realmsofsorrow/nightmare/core/nmTemplate.class.php on line 385 Warning: imagecreatefrompng() [function.imagecreatefrompng]: gd-png error: setjmp returns error condition in /usr/home/kamikaze/devel/workspace/realmsofsorrow/nightmare/core/nmTemplate.class.php on line 385 Warning: imagecreatefrompng() [function.imagecreatefrompng]: './templates/neo/layout/header_stretch.png' is not a valid PNG file in /usr/home/kamikaze/devel/workspace/realmsofsorrow/nightmare/core/nmTemplate.class.php on line 385 I get this message for all PNGs. I checked the files with Firefox, and Gimp, they are all whole. They are also displayed by the e17 file browser, which relies on libpng. My system: FreeBSD mobileKamikaze.norad 7.2-STABLE FreeBSD 7.2-STABLE #0: Fri Jul 3 10:26:33 CEST 2009 root@mobileKamikaze.norad:/usr/obj/HP6510b/amd64/usr/src/sys/HP6510b amd64 libpng: png-1.2.40 php5-gd: php5-gd-5.2.11_1 Regards