summaryrefslogtreecommitdiff
path: root/audio/libvisual
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2004-11-05 21:30:44 +0000
committerwiz <wiz@pkgsrc.org>2004-11-05 21:30:44 +0000
commitc4d646bdf8032cb4dc1f5c3bd7c449d2f5f66ade (patch)
tree6a6918d4a3bb1d680f88ae579b22173be9970d61 /audio/libvisual
parent79282e60d00f00b1d78d5a0a0913c5462954f8d5 (diff)
downloadpkgsrc-c4d646bdf8032cb4dc1f5c3bd7c449d2f5f66ade.tar.gz
Better version of the patch.
Diffstat (limited to 'audio/libvisual')
-rw-r--r--audio/libvisual/distinfo4
-rw-r--r--audio/libvisual/patches/patch-ab23
2 files changed, 17 insertions, 10 deletions
diff --git a/audio/libvisual/distinfo b/audio/libvisual/distinfo
index cbb8a7ca1fd..435f4cac59e 100644
--- a/audio/libvisual/distinfo
+++ b/audio/libvisual/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.1.1.1 2004/11/05 20:55:48 wiz Exp $
+$NetBSD: distinfo,v 1.2 2004/11/05 21:30:44 wiz Exp $
SHA1 (libvisual-0.1.7.tar.gz) = 9bd8b1827962e7d209f918f42b609d111b50cc8d
Size (libvisual-0.1.7.tar.gz) = 374096 bytes
SHA1 (patch-aa) = 0faa93665d2615f2b85279ede67e8738ebf457a5
-SHA1 (patch-ab) = ee7a80026b024d7c8e3929970b7809bac1ebe6be
+SHA1 (patch-ab) = 7a1d26e972b4951368a164ab68b005f4d1c169e2
SHA1 (patch-ac) = fd1ddd05dbbee2c1c4dd89f083588a3b0418ee3b
diff --git a/audio/libvisual/patches/patch-ab b/audio/libvisual/patches/patch-ab
index 3ce9e2ac760..4b94cc251da 100644
--- a/audio/libvisual/patches/patch-ab
+++ b/audio/libvisual/patches/patch-ab
@@ -1,13 +1,20 @@
-$NetBSD: patch-ab,v 1.1.1.1 2004/11/05 20:55:48 wiz Exp $
+$NetBSD: patch-ab,v 1.2 2004/11/05 21:30:44 wiz Exp $
--- libvisual/lv_mem.h.orig 2004-09-06 17:10:52.000000000 +0200
+++ libvisual/lv_mem.h
-@@ -8,7 +8,7 @@ extern "C" {
+@@ -7,11 +7,11 @@
+ extern "C" {
#endif /* __cplusplus */
- #if defined(__GNUC__) && !defined(VISUAL_OS_WIN32)
--void *visual_mem_malloc0 (visual_size_t nbytes) __attribute_malloc__;
-+void *visual_mem_malloc0 (visual_size_t nbytes);
- #else
- void *visual_mem_malloc0 (visual_size_t nbytes);
- #endif /* __GNUC__ */
+-#if defined(__GNUC__) && !defined(VISUAL_OS_WIN32)
++#ifndef __attribute_malloc__
++#define __attribute_malloc__
++#endif
++
+ void *visual_mem_malloc0 (visual_size_t nbytes) __attribute_malloc__;
+-#else
+-void *visual_mem_malloc0 (visual_size_t nbytes);
+-#endif /* __GNUC__ */
+
+ int visual_mem_free (void *ptr);
+