aboutsummaryrefslogtreecommitdiff
path: root/graphics/libvisual/files/patch-libvisual_lv_mem.h
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/libvisual/files/patch-libvisual_lv_mem.h')
-rw-r--r--graphics/libvisual/files/patch-libvisual_lv_mem.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/libvisual/files/patch-libvisual_lv_mem.h b/graphics/libvisual/files/patch-libvisual_lv_mem.h
new file mode 100644
index 000000000000..ae93d976cfca
--- /dev/null
+++ b/graphics/libvisual/files/patch-libvisual_lv_mem.h
@@ -0,0 +1,11 @@
+--- libvisual/lv_mem.h.orig Mon Sep 6 17:10:52 2004
++++ libvisual/lv_mem.h Sat Oct 23 16:34:40 2004
+@@ -7,7 +7,7 @@
+ extern "C" {
+ #endif /* __cplusplus */
+
+-#if defined(__GNUC__) && !defined(VISUAL_OS_WIN32)
++#if defined(__GNUC__) && !defined(VISUAL_OS_WIN32) && !defined(__FreeBSD__)
+ void *visual_mem_malloc0 (visual_size_t nbytes) __attribute_malloc__;
+ #else
+ void *visual_mem_malloc0 (visual_size_t nbytes);