14669
|
1 |
diff -ru libvisual-0.4.0.orig/libvisual/lv_types.h libvisual-0.4.0/libvisual/lv_types.h
|
|
2 |
--- libvisual-0.4.0.orig/libvisual/lv_types.h Tue Feb 14 04:54:08 2006
|
|
3 |
+++ libvisual-0.4.0/libvisual/lv_types.h Tue Nov 25 14:15:26 2008
|
|
4 |
@@ -30,6 +30,11 @@
|
|
5 |
#include <stdint.h>
|
|
6 |
#else
|
|
7 |
#include <sys/types.h>
|
|
8 |
+
|
|
9 |
+#if defined(__sun__) || defined(__sun)
|
|
10 |
+#include <inttypes.h>
|
|
11 |
+#endif
|
|
12 |
+
|
|
13 |
#endif /* !VISUAL_OS_WIN32 */
|
|
14 |
|
|
15 |
VISUAL_BEGIN_DECLS
|
|
16 |
@@ -38,7 +43,7 @@
|
|
17 |
|
|
18 |
#define VISUAL_TABLESIZE(table) (sizeof (table) / sizeof (table[0]))
|
|
19 |
|
|
20 |
-#if !defined(VISUAL_OS_WIN32)
|
|
21 |
+#if !defined(VISUAL_OS_WIN32) && !defined(__sun__) && !defined(__sun)
|
|
22 |
#ifndef uint8_t
|
|
23 |
#define uint8_t u_int8_t
|
|
24 |
#endif
|
|
25 |
@@ -50,7 +55,7 @@
|
|
26 |
#ifndef uint32_t
|
|
27 |
#define uint32_t u_int32_t
|
|
28 |
#endif
|
|
29 |
-#endif /* !VISUAL_OS_WIN32 */
|
|
30 |
+#endif /* !VISUAL_OS_WIN32 && !__sun__ && !__sun */
|
|
31 |
|
|
32 |
VISUAL_END_DECLS
|
|
33 |
|
17905
|
34 |
diff -ruN libvisual-0.4.0.orig/configure.ac libvisual-0.4.0/configure.ac
|
|
35 |
--- libvisual-0.4.0.orig/configure.ac 2010-04-22 14:25:31.689386300 +0100
|
|
36 |
+++ libvisual-0.4.0/configure.ac 2010-04-22 14:27:22.487439900 +0100
|
|
37 |
@@ -24,6 +24,8 @@
|
|
38 |
|
|
39 |
AC_CANONICAL_HOST
|
|
40 |
|
|
41 |
+AC_PROG_CC
|
|
42 |
+
|
|
43 |
lv_mips=no
|
|
44 |
lv_alpha=no
|
|
45 |
lv_sparc=no
|
|
46 |
@@ -104,7 +106,6 @@
|
|
47 |
|
|
48 |
# Checks for programs.
|
|
49 |
AC_PROG_CXX
|
|
50 |
-AC_PROG_CC
|
|
51 |
AC_PROG_CPP
|
|
52 |
AC_PROG_INSTALL
|
|
53 |
AC_PROG_LN_S
|