mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +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:
parent
0edfee6fa8
commit
ce67bd0aa0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346349
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= swig
|
||||
PORTVERSION= 2.0.11
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
||||
|
||||
|
10
devel/swig20/files/patch-Lib_swigrun.swg
Normal file
10
devel/swig20/files/patch-Lib_swigrun.swg
Normal 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
|
||||
|
Loading…
Reference in New Issue
Block a user