svn commit: r384353 - in head/devel/swig13: . files

Mathieu Arnold mat at FreeBSD.org
Mon Apr 20 12:37:39 UTC 2015


Author: mat
Date: Mon Apr 20 12:37:37 2015
New Revision: 384353
URL: https://svnweb.freebsd.org/changeset/ports/384353

Log:
  Fix Perl5 shims for recent compilers.
  
  With hat:	perl@
  Sponsored by:	Absolight

Added:
  head/devel/swig13/files/
  head/devel/swig13/files/patch-Lib_perl5_noembed.h   (contents, props changed)
Modified:
  head/devel/swig13/Makefile

Modified: head/devel/swig13/Makefile
==============================================================================
--- head/devel/swig13/Makefile	Mon Apr 20 12:09:36 2015	(r384352)
+++ head/devel/swig13/Makefile	Mon Apr 20 12:37:37 2015	(r384353)
@@ -3,6 +3,7 @@
 
 PORTNAME=	swig
 PORTVERSION=	1.3.40
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
 PKGNAMESUFFIX=	13

Added: head/devel/swig13/files/patch-Lib_perl5_noembed.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/swig13/files/patch-Lib_perl5_noembed.h	Mon Apr 20 12:37:37 2015	(r384353)
@@ -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


More information about the svn-ports-head mailing list