summaryrefslogtreecommitdiff
path: root/graphics/libart/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/libart/patches/patch-aa')
-rw-r--r--graphics/libart/patches/patch-aa23
1 files changed, 23 insertions, 0 deletions
diff --git a/graphics/libart/patches/patch-aa b/graphics/libart/patches/patch-aa
new file mode 100644
index 00000000000..e05c8e683ed
--- /dev/null
+++ b/graphics/libart/patches/patch-aa
@@ -0,0 +1,23 @@
+$NetBSD: patch-aa,v 1.1 2007/09/21 13:00:18 wiz Exp $
+
+--- art_misc.h.orig 2007-03-01 18:50:10.000000000 +0100
++++ art_misc.h
+@@ -34,10 +34,18 @@
+ #include <libart_lgpl/art_config.h>
+ #endif
+
++#ifdef __cplusplus
++extern "C" {
++#endif /* __cplusplus */
++
+ void *art_alloc(size_t size);
+ void art_free(void *ptr);
+ void *art_realloc(void *ptr, size_t size);
+
++#ifdef __cplusplus
++}
++#endif /* __cplusplus */
++
+ /* These aren't, strictly speaking, configuration macros, but they're
+ damn handy to have around, and may be worth playing with for
+ debugging. */