Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Dec 2017 02:16:36 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r455917 - head/graphics/vigra
Message-ID:  <201712110216.vBB2GaXu061417@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Mon Dec 11 02:16:35 2017
New Revision: 455917
URL: https://svnweb.freebsd.org/changeset/ports/455917

Log:
  graphics/vigra: unbreak consumers on 10.* for NUMPY=on
  
  Passing -std=gnu++11 also matches Boost since r450557.
  
  /usr/local/lib/libvigraimpex.so: undefined reference to `operator delete(void*, unsigned int)'
  
  Reported by:	antoine (via bug 223922 -exp run)
  Submitted by:	rakuco (adapted from bug 219484 fix)

Modified:
  head/graphics/vigra/Makefile   (contents, props changed)

Modified: head/graphics/vigra/Makefile
==============================================================================
--- head/graphics/vigra/Makefile	Mon Dec 11 00:07:16 2017	(r455916)
+++ head/graphics/vigra/Makefile	Mon Dec 11 02:16:35 2017	(r455917)
@@ -3,7 +3,7 @@
 
 PORTNAME=	vigra
 DISTVERSION=	1.11.0
-PORTREVISION=	16
+PORTREVISION=	17
 CATEGORIES=	graphics
 
 PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
@@ -50,6 +50,12 @@ NUMPY_BUILD_DEPENDS=	nosetests:devel/py-nose \
 NUMPY_RUN_DEPENDS=	nosetests:devel/py-nose \
 			f2py:math/py-numpy
 NUMPY_LIB_DEPENDS=	libboost_python.so:devel/boost-python-libs
+# On FreeBSD < 11 libc++ lacks support for sized delete operators.
+# GCC dropped the builtin version of these operators in 6+ by
+# defaulting to gnu++14. Force c++11 instead.
+# For a more detailed discussion see:
+# https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219484
+NUMPY_CXXFLAGS=		-std=gnu++11
 
 PNG_CMAKE_BOOL=		WITH_PNG
 PNG_LIB_DPEENDS=	libpng.so:graphics/png



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