1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

- swig generated header uses #include <string.h> which is insufficient for clang

PR:		ports/186521
Approved by:	maintainer (timeout > 14 days)
This commit is contained in:
Diane Bruce 2014-02-27 14:32:57 +00:00
parent 0edfee6fa8
commit ce67bd0aa0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346349
2 changed files with 11 additions and 0 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= swig PORTNAME= swig
PORTVERSION= 2.0.11 PORTVERSION= 2.0.11
PORTREVISION= 1
CATEGORIES= devel CATEGORIES= devel
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}

View File

@ -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