Subject: audio/libvisual Solaris10
To: None <tech-pkg@netbsd.org>
From: Gilles Dauphin <Gilles.Dauphin@enst.fr>
List: tech-pkg
Date: 02/19/2007 10:38:57
uint32_t is a 'typedef' on solaris.

libvisual don't compile because of bad test in lv_types.h:
here is a whiched patch:

--------------------------------------------
--- libvisual/lv_types.h.orig   Mon Feb 13 21:54:08 2006
+++ libvisual/lv_types.h        Mon Feb 19 10:29:32 2007
@@ -38,7 +38,7 @@
 
 #define VISUAL_TABLESIZE(table)                        (sizeof (table) / sizeof (table[0]))
 
-#if !defined(VISUAL_OS_WIN32)
+#if !defined(VISUAL_OS_WIN32) && !defined(_SYS_INT_TYPES_H)
 #ifndef uint8_t
 #define uint8_t                u_int8_t
 #endif