python/dbus-python: rename package to normalize it
[oi-userland.git] / components / library / libvisual / patches / 01-solaris.patch
blobef194e5e42f098c3ca2675258f3b67d29efec508
1 --- libvisual-0.4.2/libvisual/lv_types.h.orig
2 +++ libvisual-0.4.2/libvisual/lv_types.h
3 @@ -30,6 +30,11 @@
4 #include <stdint.h>
5 #else
6 #include <sys/types.h>
8 +#if defined(__sun__) || defined(__sun)
9 +#include <inttypes.h>
10 +#endif
12 #endif /* !VISUAL_OS_WIN32 */
14 VISUAL_BEGIN_DECLS
15 @@ -38,7 +43,7 @@
17 #define VISUAL_TABLESIZE(table) (sizeof (table) / sizeof (table[0]))
19 -#if !defined(VISUAL_OS_WIN32)
20 +#if !defined(VISUAL_OS_WIN32) && !defined(__sun__) && !defined(__sun)
21 #ifndef uint8_t
22 #define uint8_t u_int8_t
23 #endif
24 @@ -50,7 +55,7 @@
25 #ifndef uint32_t
26 #define uint32_t u_int32_t
27 #endif
28 -#endif /* !VISUAL_OS_WIN32 */
29 +#endif /* !VISUAL_OS_WIN32 && !__sun__ && !__sun */
31 VISUAL_END_DECLS
33 --- libvisual-0.4.2/configure.ac.orig
34 +++ libvisual-0.4.2/configure.ac
35 @@ -24,6 +24,8 @@
37 AC_CANONICAL_HOST
39 +AC_PROG_CC
41 lv_mips=no
42 lv_alpha=no
43 lv_sparc=no
44 @@ -87,7 +89,6 @@
46 # Checks for programs.
47 AC_PROG_CXX
48 -AC_PROG_CC
49 AC_PROG_CPP
50 AC_PROG_INSTALL
51 AC_PROG_LN_S