diff options
author | wiz <wiz> | 2004-11-05 21:30:44 +0000 |
---|---|---|
committer | wiz <wiz> | 2004-11-05 21:30:44 +0000 |
commit | 5caf741aebc51c52839226a7e4e134f0ad07abf7 (patch) | |
tree | 6a6918d4a3bb1d680f88ae579b22173be9970d61 /audio | |
parent | b10d8694f5a67c61fcd46b05b2b89c6cde8dc152 (diff) | |
download | pkgsrc-5caf741aebc51c52839226a7e4e134f0ad07abf7.tar.gz |
Better version of the patch.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/libvisual/distinfo | 4 | ||||
-rw-r--r-- | audio/libvisual/patches/patch-ab | 23 |
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); + |