summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorsbd <sbd@pkgsrc.org>2012-06-28 08:05:27 +0000
committersbd <sbd@pkgsrc.org>2012-06-28 08:05:27 +0000
commit5ca9f0458a5f13be4d2226cd16d2b91fd7edfd2e (patch)
tree8f4c6a7afc6838a1d0c078b182a33aa199db9aeb /audio
parent4c27acd5ae91ff4429fe6d5081211988df141df1 (diff)
downloadpkgsrc-5ca9f0458a5f13be4d2226cd16d2b91fd7edfd2e.tar.gz
Make "Fix build on SunOS." patch a SunOS only fix as it breaks Linux build
otherwise.
Diffstat (limited to 'audio')
-rw-r--r--audio/libvisual0.2/distinfo4
-rw-r--r--audio/libvisual0.2/patches/patch-libvisual_lv__types.h31
2 files changed, 16 insertions, 19 deletions
diff --git a/audio/libvisual0.2/distinfo b/audio/libvisual0.2/distinfo
index 4d90e478be9..3a08bb73547 100644
--- a/audio/libvisual0.2/distinfo
+++ b/audio/libvisual0.2/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.2 2012/02/15 22:01:43 hans Exp $
+$NetBSD: distinfo,v 1.3 2012/06/28 08:05:27 sbd Exp $
SHA1 (libvisual-0.2.0.tar.gz) = 8867f743c7407890c8cc571acab2fbcab869f3a1
RMD160 (libvisual-0.2.0.tar.gz) = d933e849ffb8ce8f21d9d58e92fd104b137b718d
Size (libvisual-0.2.0.tar.gz) = 431141 bytes
SHA1 (patch-aa) = f7a0b011fa39996813bb7a8fe00aefdfaa680583
SHA1 (patch-ab) = d4014e06622f59e31f4ee42dd24ce729e27b580d
-SHA1 (patch-libvisual_lv__types.h) = 8de893059b84e6159af977937e70fa274f49cd42
+SHA1 (patch-libvisual_lv__types.h) = fe25e00f9606e3196fc6cd4b23896dd065c5bb69
diff --git a/audio/libvisual0.2/patches/patch-libvisual_lv__types.h b/audio/libvisual0.2/patches/patch-libvisual_lv__types.h
index 79565b5721a..ce8ed352e06 100644
--- a/audio/libvisual0.2/patches/patch-libvisual_lv__types.h
+++ b/audio/libvisual0.2/patches/patch-libvisual_lv__types.h
@@ -1,23 +1,20 @@
-$NetBSD: patch-libvisual_lv__types.h,v 1.1 2012/02/15 22:01:43 hans Exp $
+$NetBSD: patch-libvisual_lv__types.h,v 1.2 2012/06/28 08:05:27 sbd Exp $
---- libvisual/lv_types.h.orig 2005-01-01 15:11:56.000000000 +0100
-+++ libvisual/lv_types.h 2012-01-11 15:00:23.565973572 +0100
-@@ -32,18 +32,6 @@ extern "C" {
+--- libvisual/lv_types.h.orig 2005-01-01 14:11:56.000000000 +0000
++++ libvisual/lv_types.h
+@@ -32,6 +32,7 @@ extern "C" {
#define VISUAL_CHECK_CAST(uiobj, cast_type, cast) ((cast*) (uiobj))
--#ifndef uint8_t
--#define uint8_t u_int8_t
--#endif
--
--#ifndef uint16_t
--#define uint16_t u_int16_t
--#endif
--
--#ifndef uint32_t
--#define uint32_t u_int32_t
--#endif
--
++#ifndef __SunOS
+ #ifndef uint8_t
+ #define uint8_t u_int8_t
+ #endif
+@@ -43,6 +44,7 @@ extern "C" {
+ #ifndef uint32_t
+ #define uint32_t u_int32_t
+ #endif
++#endif
+
#ifdef __cplusplus
}
- #endif /* __cplusplus */