svn commit: r487855 - in head/graphics/exrtools: . files

Emanuel Haupt ehaupt at FreeBSD.org
Thu Dec 20 08:21:41 UTC 2018


Author: ehaupt
Date: Thu Dec 20 08:21:40 2018
New Revision: 487855
URL: https://svnweb.freebsd.org/changeset/ports/487855

Log:
  - Fix build with GCC-based architectures
  - Add USES=localbase:ldflags
  - Re-generate patch files
  - Pacify portlint
  
  PR:		234187
  Submitted by:	pkubaj at anongoth.pl

Added:
  head/graphics/exrtools/files/patch-src_pngoutput.c   (contents, props changed)
Deleted:
  head/graphics/exrtools/files/patch-pngoutput.c
Modified:
  head/graphics/exrtools/Makefile

Modified: head/graphics/exrtools/Makefile
==============================================================================
--- head/graphics/exrtools/Makefile	Thu Dec 20 08:12:22 2018	(r487854)
+++ head/graphics/exrtools/Makefile	Thu Dec 20 08:21:40 2018	(r487855)
@@ -13,18 +13,16 @@ COMMENT=	Utilities for manipulating with HDR images in
 
 LICENSE=	GPLv2
 
+BROKEN_armv6=		fails to configure: checking for /nxb-bin/usr/bin/cc... no
+BROKEN_armv7=		fails to configure: checking for /nxb-bin/usr/bin/cc... no
+
 LIB_DEPENDS=	libImath.so:graphics/ilmbase \
 		libpng.so:graphics/png \
 		libIlmImf.so:graphics/openexr
 
-BROKEN_armv6=		fails to configure: checking for /nxb-bin/usr/bin/cc... no
-BROKEN_armv7=		fails to configure: checking for /nxb-bin/usr/bin/cc... no
+USES=		compiler:c++11-lang gmake jpeg localbase:ldflags pkgconfig
 
 GNU_CONFIGURE=	yes
-USES=		gmake jpeg pkgconfig
-
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|<values\.h>|<float.h>|' \

Added: head/graphics/exrtools/files/patch-src_pngoutput.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/exrtools/files/patch-src_pngoutput.c	Thu Dec 20 08:21:40 2018	(r487855)
@@ -0,0 +1,10 @@
+--- src/pngoutput.c.orig	2003-12-08 17:33:27 UTC
++++ src/pngoutput.c
+@@ -27,6 +27,7 @@
+ #include <errno.h>
+ #include <string.h>
+ #include <png.h>
++#include <zlib.h>
+ #include "pngoutput.h"
+ 
+ struct pngoutput_s


More information about the svn-ports-all mailing list