Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Dec 2018 08:21:40 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r487855 - in head/graphics/exrtools: . files
Message-ID:  <201812200821.wBK8LeIh059262@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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



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