equal
deleted
inserted
replaced
|
1 Patch migrated from desktop gate, where it was listed as: |
|
2 # date:2008-11-25 owner:wangke type:branding |
|
3 Patch1: libvisual-01-solaris.diff |
|
4 |
|
5 Since this is for our build, probably not something we can get upstream. |
|
6 |
|
7 --- libvisual-0.4.0/libvisual/lv_types.h Tue Feb 14 04:54:08 2006 |
|
8 +++ libvisual-0.4.0/libvisual/lv_types.h Tue Nov 25 14:15:26 2008 |
|
9 @@ -30,6 +30,11 @@ |
|
10 #include <stdint.h> |
|
11 #else |
|
12 #include <sys/types.h> |
|
13 + |
|
14 +#if defined(__sun__) || defined(__sun) |
|
15 +#include <inttypes.h> |
|
16 +#endif |
|
17 + |
|
18 #endif /* !VISUAL_OS_WIN32 */ |
|
19 |
|
20 VISUAL_BEGIN_DECLS |
|
21 @@ -38,7 +43,7 @@ |
|
22 |
|
23 #define VISUAL_TABLESIZE(table) (sizeof (table) / sizeof (table[0])) |
|
24 |
|
25 -#if !defined(VISUAL_OS_WIN32) |
|
26 +#if !defined(VISUAL_OS_WIN32) && !defined(__sun__) && !defined(__sun) |
|
27 #ifndef uint8_t |
|
28 #define uint8_t u_int8_t |
|
29 #endif |
|
30 @@ -50,7 +55,7 @@ |
|
31 #ifndef uint32_t |
|
32 #define uint32_t u_int32_t |
|
33 #endif |
|
34 -#endif /* !VISUAL_OS_WIN32 */ |
|
35 +#endif /* !VISUAL_OS_WIN32 && !__sun__ && !__sun */ |
|
36 |
|
37 VISUAL_END_DECLS |
|
38 |
|
39 --- libvisual-0.4.0/configure.ac 2010-04-22 14:25:31.689386300 +0100 |
|
40 +++ libvisual-0.4.0/configure.ac 2010-04-22 14:27:22.487439900 +0100 |
|
41 @@ -24,6 +24,8 @@ |
|
42 |
|
43 AC_CANONICAL_HOST |
|
44 |
|
45 +AC_PROG_CC |
|
46 + |
|
47 lv_mips=no |
|
48 lv_alpha=no |
|
49 lv_sparc=no |
|
50 @@ -104,7 +106,6 @@ |
|
51 |
|
52 # Checks for programs. |
|
53 AC_PROG_CXX |
|
54 -AC_PROG_CC |
|
55 AC_PROG_CPP |
|
56 AC_PROG_INSTALL |
|
57 AC_PROG_LN_S |