Make "Fix build on SunOS." patch a SunOS only fix as it breaks Linux build
otherwise.
This commit is contained in:
parent
4c27acd5ae
commit
5ca9f0458a
2 changed files with 16 additions and 19 deletions
|
@ -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
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue