Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Dec 2014 22:56:52 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r375363 - in head/audio/gqmpeg: . files
Message-ID:  <201412232256.sBNMuqBm097885@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Tue Dec 23 22:56:51 2014
New Revision: 375363
URL: https://svnweb.freebsd.org/changeset/ports/375363
QAT: https://qat.redports.org/buildarchive/r375363/

Log:
  Properly fix for png > 1.5

Added:
  head/audio/gqmpeg/files/patch-src_ui__pixbuf__save.c   (contents, props changed)
Deleted:
  head/audio/gqmpeg/files/patch-ui_pixbuf_save.c
Modified:
  head/audio/gqmpeg/Makefile

Modified: head/audio/gqmpeg/Makefile
==============================================================================
--- head/audio/gqmpeg/Makefile	Tue Dec 23 22:52:00 2014	(r375362)
+++ head/audio/gqmpeg/Makefile	Tue Dec 23 22:56:51 2014	(r375363)
@@ -14,7 +14,7 @@ COMMENT?=	Another gtk-based MP3 frontend
 OPTIONS_DEFINE=	MPG321
 MPG321_DESC=	use mpg321 instead of mpg123
 
-LIB_DEPENDS=	libpng15.so:${PORTSDIR}/graphics/png
+LIB_DEPENDS=	libpng.so:${PORTSDIR}/graphics/png
 RUN_DEPENDS=	ogg123:${PORTSDIR}/audio/vorbis-tools \
 		xmp:${PORTSDIR}/audio/xmp
 
@@ -26,7 +26,7 @@ USES=		gettext libtool
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	ac_cv_path_GNOME_CONFIG=no
 
-CPPFLAGS+=	-I${LOCALBASE}/include -I${LOCALBASE}/include/libpng15
+CPPFLAGS+=	-I${LOCALBASE}/include
 LIBS+=		-L${LOCALBASE}/lib
 
 post-patch:

Added: head/audio/gqmpeg/files/patch-src_ui__pixbuf__save.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/gqmpeg/files/patch-src_ui__pixbuf__save.c	Tue Dec 23 22:56:51 2014	(r375363)
@@ -0,0 +1,11 @@
+--- src/ui_pixbuf_save.c.orig	2002-03-09 20:00:13.000000000 +0100
++++ src/ui_pixbuf_save.c	2014-12-23 23:54:56.105240001 +0100
+@@ -86,7 +86,7 @@ gboolean pixbuf_to_file_as_png (GdkPixbu
+ 	    	return FALSE;
+ 		}
+ 
+-	if (setjmp (png_ptr->jmpbuf))
++	if (setjmp (png_jmpbuf (png_ptr)))
+ 		{
+ 		png_destroy_write_struct (&png_ptr, &info_ptr);
+ 		fclose (handle);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412232256.sBNMuqBm097885>