[98189] trunk/dports/devel/libdevil
jmr at macports.org
jmr at macports.org
Thu Sep 27 18:41:50 PDT 2012
Revision: 98189
http://trac.macports.org//changeset/98189
Author: jmr at macports.org
Date: 2012-09-27 18:41:50 -0700 (Thu, 27 Sep 2012)
Log Message:
-----------
libdevil: fix C++ syntax (#35398)
Modified Paths:
--------------
trunk/dports/devel/libdevil/Portfile
Added Paths:
-----------
trunk/dports/devel/libdevil/files/patch-include_IL_il.h
Modified: trunk/dports/devel/libdevil/Portfile
===================================================================
--- trunk/dports/devel/libdevil/Portfile 2012-09-28 00:57:37 UTC (rev 98188)
+++ trunk/dports/devel/libdevil/Portfile 2012-09-28 01:41:50 UTC (rev 98189)
@@ -41,7 +41,8 @@
patch-devil_internal_exports.h.diff \
patch-src_IL-src-il_png.c.diff \
patch-src_IL-src-il_icon.c.diff \
- patch-CXXFLAGS.diff
+ patch-CXXFLAGS.diff \
+ patch-include_IL_il.h
configure.args --enable-ILU \
--enable-ILUT \
Added: trunk/dports/devel/libdevil/files/patch-include_IL_il.h
===================================================================
--- trunk/dports/devel/libdevil/files/patch-include_IL_il.h (rev 0)
+++ trunk/dports/devel/libdevil/files/patch-include_IL_il.h 2012-09-28 01:41:50 UTC (rev 98189)
@@ -0,0 +1,13 @@
+$NetBSD: patch-include_IL_il.h,v 1.1 2012/07/09 19:16:33 joerg Exp $
+
+--- include/IL/il.h.orig 2012-07-06 12:31:13.000000000 +0000
++++ include/IL/il.h
+@@ -63,7 +63,7 @@ extern "C" {
+ #endif
+ #endif
+
+-#ifdef RESTRICT_KEYWORD
++#if defined(RESTRICT_KEYWORD) && !defined(__cplusplus)
+ #define RESTRICT restrict
+ #define CONST_RESTRICT const restrict
+ #else
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120927/1249f752/attachment.html>
More information about the macports-changes
mailing list