Ticket #11586: libart_lgpl.patch
File libart_lgpl.patch, 1.2 KB (added by takanori@…, 18 years ago) |
---|
-
files/patch-art_misc.h
1 --- art_misc.h.orig 2007-01-02 08:59:22.000000000 +0900 2 +++ art_misc.h 2007-03-21 23:30:23.000000000 +0900 3 @@ -34,10 +34,18 @@ 4 #include <libart_lgpl/art_config.h> 5 #endif 6 7 +#ifdef __cplusplus 8 +extern "C" { 9 +#endif 10 + 11 void *art_alloc(size_t size); 12 void art_free(void *ptr); 13 void *art_realloc(void *ptr, size_t size); 14 15 +#ifdef __cplusplus 16 +} 17 +#endif 18 + 19 /* These aren't, strictly speaking, configuration macros, but they're 20 damn handy to have around, and may be worth playing with for 21 debugging. */ -
Portfile
3 3 PortSystem 1.0 4 4 name libart_lgpl 5 5 version 2.3.19 6 revision 1 6 7 categories graphics 7 8 maintainers rhwood@macports.org openmaintainer@macports.org 8 9 description fast 2D image manipulation library … … 20 21 for interactive display. 21 22 22 23 master_sites gnome:sources/libart_lgpl/2.3 24 patchfiles patch-art_misc.h 23 25 24 26 checksums md5 ac885805d1918026a18b560f4015bc66 25 27