pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/libvisual Better version of the patch.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a85bce68b40e
branches:  trunk
changeset: 482986:a85bce68b40e
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Fri Nov 05 21:30:44 2004 +0000

description:
Better version of the patch.

diffstat:

 audio/libvisual/distinfo         |   4 ++--
 audio/libvisual/patches/patch-ab |  23 +++++++++++++++--------
 2 files changed, 17 insertions(+), 10 deletions(-)

diffs (45 lines):

diff -r c94a6ed82cbf -r a85bce68b40e audio/libvisual/distinfo
--- a/audio/libvisual/distinfo  Fri Nov 05 21:16:57 2004 +0000
+++ b/audio/libvisual/distinfo  Fri Nov 05 21:30:44 2004 +0000
@@ -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 -r c94a6ed82cbf -r a85bce68b40e audio/libvisual/patches/patch-ab
--- a/audio/libvisual/patches/patch-ab  Fri Nov 05 21:16:57 2004 +0000
+++ b/audio/libvisual/patches/patch-ab  Fri Nov 05 21:30:44 2004 +0000
@@ -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);
+ 



Home | Main Index | Thread Index | Old Index