[23021] trunk/dports/graphics/libart_lgpl
source_changes at macosforge.org
source_changes at macosforge.org
Wed Mar 21 18:19:09 PDT 2007
Revision: 23021
http://trac.macosforge.org/projects/macports/changeset/23021
Author: rhwood at macports.org
Date: 2007-03-21 18:19:09 -0700 (Wed, 21 Mar 2007)
Log Message:
-----------
Add patch file from ticket:11586
Bump revision so it can be picked up
Modified Paths:
--------------
trunk/dports/graphics/libart_lgpl/Portfile
Added Paths:
-----------
trunk/dports/graphics/libart_lgpl/files/
trunk/dports/graphics/libart_lgpl/files/patch-art_misc.h.diff
Modified: trunk/dports/graphics/libart_lgpl/Portfile
===================================================================
--- trunk/dports/graphics/libart_lgpl/Portfile 2007-03-22 01:15:40 UTC (rev 23020)
+++ trunk/dports/graphics/libart_lgpl/Portfile 2007-03-22 01:19:09 UTC (rev 23021)
@@ -3,6 +3,7 @@
PortSystem 1.0
name libart_lgpl
version 2.3.19
+revision 1
categories graphics
maintainers rhwood at macports.org openmaintainer at macports.org
description fast 2D image manipulation library
@@ -28,4 +29,6 @@
depends_lib port:gettext
depends_build port:pkgconfig
+patchfiles patch-art_misc.h.diff
+
platform darwin 6 { depends_lib-append lib:libdl:dlcompat }
Added: trunk/dports/graphics/libart_lgpl/files/patch-art_misc.h.diff
===================================================================
--- trunk/dports/graphics/libart_lgpl/files/patch-art_misc.h.diff (rev 0)
+++ trunk/dports/graphics/libart_lgpl/files/patch-art_misc.h.diff 2007-03-22 01:19:09 UTC (rev 23021)
@@ -0,0 +1,21 @@
+--- art_misc.h.orig 2007-01-02 08:59:22.000000000 +0900
++++ art_misc.h 2007-03-21 23:30:23.000000000 +0900
+@@ -34,10 +34,18 @@
+ #include <libart_lgpl/art_config.h>
+ #endif
+
++#ifdef __cplusplus
++extern "C" {
++#endif
++
+ void *art_alloc(size_t size);
+ void art_free(void *ptr);
+ void *art_realloc(void *ptr, size_t size);
+
++#ifdef __cplusplus
++}
++#endif
++
+ /* These aren't, strictly speaking, configuration macros, but they're
+ damn handy to have around, and may be worth playing with for
+ debugging. */
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070321/bc3fc71c/attachment.html
More information about the macports-changes
mailing list