svn commit: r346349 - in head/devel/swig20: . files

Diane Bruce db at FreeBSD.org
Thu Feb 27 14:32:57 UTC 2014


Author: db
Date: Thu Feb 27 14:32:57 2014
New Revision: 346349
URL: http://svnweb.freebsd.org/changeset/ports/346349
QAT: https://qat.redports.org/buildarchive/r346349/

Log:
  - swig generated header uses #include <string.h> which is insufficient for clang
  
  PR:		ports/186521
  Approved by:	maintainer (timeout > 14 days)

Added:
  head/devel/swig20/files/patch-Lib_swigrun.swg   (contents, props changed)
Modified:
  head/devel/swig20/Makefile

Modified: head/devel/swig20/Makefile
==============================================================================
--- head/devel/swig20/Makefile	Thu Feb 27 14:31:33 2014	(r346348)
+++ head/devel/swig20/Makefile	Thu Feb 27 14:32:57 2014	(r346349)
@@ -3,6 +3,7 @@
 
 PORTNAME=	swig
 PORTVERSION=	2.0.11
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
 

Added: head/devel/swig20/files/patch-Lib_swigrun.swg
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/swig20/files/patch-Lib_swigrun.swg	Thu Feb 27 14:32:57 2014	(r346349)
@@ -0,0 +1,10 @@
+--- Lib/swigrun.swg.orig	2013-09-15 09:11:43.000000000 -0500
++++ Lib/swigrun.swg	2014-02-06 14:04:08.000000000 -0500
+@@ -176,6 +176,7 @@
+ #include <string.h>
+ 
+ #ifdef __cplusplus
++#include <string>
+ extern "C" {
+ #endif
+ 


More information about the svn-ports-all mailing list