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