Make "Fix build on SunOS." patch a SunOS only fix as it breaks Linux build otherwise.diff -r1.2 -r1.3 pkgsrc/audio/libvisual0.2/distinfo
(sbd)
@@ -1,8 +1,8 @@ | @@ -1,8 +1,8 @@ | |||
1 | $NetBSD: distinfo,v 1.2 2012/02/15 22:01:43 hans Exp $ | 1 | $NetBSD: distinfo,v 1.3 2012/06/28 08:05:27 sbd Exp $ | |
2 | 2 | |||
3 | SHA1 (libvisual-0.2.0.tar.gz) = 8867f743c7407890c8cc571acab2fbcab869f3a1 | 3 | SHA1 (libvisual-0.2.0.tar.gz) = 8867f743c7407890c8cc571acab2fbcab869f3a1 | |
4 | RMD160 (libvisual-0.2.0.tar.gz) = d933e849ffb8ce8f21d9d58e92fd104b137b718d | 4 | RMD160 (libvisual-0.2.0.tar.gz) = d933e849ffb8ce8f21d9d58e92fd104b137b718d | |
5 | Size (libvisual-0.2.0.tar.gz) = 431141 bytes | 5 | Size (libvisual-0.2.0.tar.gz) = 431141 bytes | |
6 | SHA1 (patch-aa) = f7a0b011fa39996813bb7a8fe00aefdfaa680583 | 6 | SHA1 (patch-aa) = f7a0b011fa39996813bb7a8fe00aefdfaa680583 | |
7 | SHA1 (patch-ab) = d4014e06622f59e31f4ee42dd24ce729e27b580d | 7 | SHA1 (patch-ab) = d4014e06622f59e31f4ee42dd24ce729e27b580d | |
8 | SHA1 (patch-libvisual_lv__types.h) = 8de893059b84e6159af977937e70fa274f49cd42 | 8 | SHA1 (patch-libvisual_lv__types.h) = fe25e00f9606e3196fc6cd4b23896dd065c5bb69 |
@@ -1,23 +1,20 @@ | @@ -1,23 +1,20 @@ | |||
1 | $NetBSD: patch-libvisual_lv__types.h,v 1.1 2012/02/15 22:01:43 hans Exp $ | 1 | $NetBSD: patch-libvisual_lv__types.h,v 1.2 2012/06/28 08:05:27 sbd Exp $ | |
2 | 2 | |||
3 | --- libvisual/lv_types.h.orig 2005-01-01 15:11:56.000000000 +0100 | 3 | --- libvisual/lv_types.h.orig 2005-01-01 14:11:56.000000000 +0000 | |
4 | +++ libvisual/lv_types.h 2012-01-11 15:00:23.565973572 +0100 | 4 | +++ libvisual/lv_types.h | |
5 | @@ -32,18 +32,6 @@ extern "C" { | 5 | @@ -32,6 +32,7 @@ extern "C" { | |
6 | 6 | |||
7 | #define VISUAL_CHECK_CAST(uiobj, cast_type, cast) ((cast*) (uiobj)) | 7 | #define VISUAL_CHECK_CAST(uiobj, cast_type, cast) ((cast*) (uiobj)) | |
8 | 8 | |||
9 | -#ifndef uint8_t | 9 | +#ifndef __SunOS | |
10 | -#define uint8_t u_int8_t | 10 | #ifndef uint8_t | |
11 | -#endif | 11 | #define uint8_t u_int8_t | |
12 | - | 12 | #endif | |
13 | -#ifndef uint16_t | 13 | @@ -43,6 +44,7 @@ extern "C" { | |
14 | -#define uint16_t u_int16_t | 14 | #ifndef uint32_t | |
15 | -#endif | 15 | #define uint32_t u_int32_t | |
16 | - | 16 | #endif | |
17 | -#ifndef uint32_t | 17 | +#endif | |
18 | -#define uint32_t u_int32_t | 18 | ||
19 | -#endif | |||
20 | - | |||
21 | #ifdef __cplusplus | 19 | #ifdef __cplusplus | |
22 | } | 20 | } | |
23 | #endif /* __cplusplus */ |