Ticket #11586: libart_lgpl.patch

File libart_lgpl.patch, 1.2 KB (added by takanori@…, 17 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

     
    33PortSystem 1.0
    44name            libart_lgpl
    55version         2.3.19
     6revision        1
    67categories      graphics
    78maintainers     rhwood@macports.org openmaintainer@macports.org
    89description     fast 2D image manipulation library
     
    2021                for interactive display.
    2122
    2223master_sites    gnome:sources/libart_lgpl/2.3
     24patchfiles      patch-art_misc.h
    2325
    2426checksums       md5 ac885805d1918026a18b560f4015bc66
    2527