Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Dec 2017 14:10:03 +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: r456795 - in head/graphics/exact-image: . files
Message-ID:  <201712201410.vBKEA3BR053644@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Wed Dec 20 14:10:03 2017
New Revision: 456795
URL: https://svnweb.freebsd.org/changeset/ports/456795

Log:
  Switch to swig 3.0
  
  Modify a comment to make it swig 3.0 friendly

Added:
  head/graphics/exact-image/files/patch-api_api-swig.hh   (contents, props changed)
Modified:
  head/graphics/exact-image/Makefile

Modified: head/graphics/exact-image/Makefile
==============================================================================
--- head/graphics/exact-image/Makefile	Wed Dec 20 13:48:47 2017	(r456794)
+++ head/graphics/exact-image/Makefile	Wed Dec 20 14:10:03 2017	(r456795)
@@ -12,7 +12,7 @@ COMMENT=	Fast image processing library
 
 LICENSE=	GPLv2
 
-BUILD_DEPENDS=	swig:devel/swig13
+BUILD_DEPENDS=	swig3.0:devel/swig30
 LIB_DEPENDS=	libagg.so:graphics/agg \
 		libtiff.so:graphics/tiff \
 		libpng.so:graphics/png \
@@ -39,6 +39,7 @@ PLIST_FILES=	${BINS:S|^|bin/|} \
 		%%SITE_PERL%%/ExactImage.pm \
 		%%PYTHON_SITELIBDIR%%/ExactImage.py \
 		%%PYTHON_SITELIBDIR%%/_ExactImage.so
+BINARY_ALIAS=	swig=swig3.0
 
 post-extract:
 	@${RM} -r ${WRKSRC}/agg-2.4/

Added: head/graphics/exact-image/files/patch-api_api-swig.hh
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/exact-image/files/patch-api_api-swig.hh	Wed Dec 20 14:10:03 2017	(r456795)
@@ -0,0 +1,11 @@
+--- api/api-swig.hh.orig	2009-03-19 13:00:11 UTC
++++ api/api-swig.hh
+@@ -22,7 +22,7 @@
+ %include "cstring.i"
+ %include "std_string.i"
+ 
+-# manually include it, otherwise SWIG will not source it
++/* manually include it, otherwise SWIG will not source it */
+ %include "config.h"
+ 
+ %{



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