Fix Perl5 shims for recent compilers.
With hat: perl@ Sponsored by: Absolight
This commit is contained in:
parent
7daa9c7ea4
commit
d0240695b5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=384353
2 changed files with 14 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
|||
|
||||
PORTNAME= swig
|
||||
PORTVERSION= 1.3.40
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
||||
PKGNAMESUFFIX= 13
|
||||
|
|
13
devel/swig13/files/patch-Lib_perl5_noembed.h
Normal file
13
devel/swig13/files/patch-Lib_perl5_noembed.h
Normal file
|
@ -0,0 +1,13 @@
|
|||
--- Lib/perl5/noembed.h.orig 2009-08-17 12:06:08 UTC
|
||||
+++ Lib/perl5/noembed.h
|
||||
@@ -65,7 +65,9 @@
|
||||
#undef eof
|
||||
#endif
|
||||
#ifdef bool
|
||||
- #undef bool
|
||||
+ #ifndef __bool_true_false_are_defined
|
||||
+ #undef bool
|
||||
+ #endif
|
||||
#endif
|
||||
#ifdef close
|
||||
#undef close
|
Loading…
Reference in a new issue