patches/liboil-03-ss12u1.diff
author rohinis
Tue, 29 Nov 2011 17:32:55 +0000
branchs11express-2010-11
changeset 22234 c23e64da3e06
parent 17810 336f5afbb6b3
permissions -rw-r--r--
2011-11-29 Rohini S <[email protected]> * patches/Python26-22-audio.diff: Fixes CVE-2010-1634 * specs/SUNWPython26.spec: Fixes CR 7085446
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
17795
c92618c168c1 2010-04-06 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     1
--- liboil-0.3.16/liboil/Makefile.am-orig	2010-03-31 02:18:29.020416389 -0500
c92618c168c1 2010-04-06 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     2
+++ liboil-0.3.16/liboil/Makefile.am	2010-03-31 02:18:45.577467717 -0500
c92618c168c1 2010-04-06 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     3
@@ -28,12 +28,12 @@ if HAVE_3DNOW_INTRINSICS
c92618c168c1 2010-04-06 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     4
 #libs_i386 += 3dnow/lib3dnow.la
c92618c168c1 2010-04-06 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     5
 endif
c92618c168c1 2010-04-06 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     6
 
c92618c168c1 2010-04-06 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     7
-if HAVE_AMD64
c92618c168c1 2010-04-06 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     8
-if HAVE_GCC_ASM
c92618c168c1 2010-04-06 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     9
-SUBDIRS += amd64 i386_amd64
c92618c168c1 2010-04-06 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    10
-libs += amd64/libamd64.la i386_amd64/libi386_amd64.la
c92618c168c1 2010-04-06 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    11
-endif
c92618c168c1 2010-04-06 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    12
-endif
c92618c168c1 2010-04-06 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    13
+#if HAVE_AMD64
c92618c168c1 2010-04-06 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    14
+#if HAVE_GCC_ASM
c92618c168c1 2010-04-06 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    15
+#SUBDIRS += amd64 i386_amd64
c92618c168c1 2010-04-06 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    16
+#libs += amd64/libamd64.la i386_amd64/libi386_amd64.la
c92618c168c1 2010-04-06 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    17
+#endif
c92618c168c1 2010-04-06 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    18
+#endif
c92618c168c1 2010-04-06 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    19
 
c92618c168c1 2010-04-06 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    20
 if HAVE_POWERPC
c92618c168c1 2010-04-06 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    21
 if HAVE_GCC_ASM
c92618c168c1 2010-04-06 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    22
--- liboil-0.3.16/liboil/i386/trans8x8_i386.c-orig	2010-04-05 18:56:25.689914551 -0500
c92618c168c1 2010-04-06 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    23
+++ liboil-0.3.16/liboil/i386/trans8x8_i386.c	2010-04-05 18:58:26.305370945 -0500
c92618c168c1 2010-04-06 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    24
@@ -136,6 +136,8 @@ trans8x8_u16_mmx (uint16_t *dest, int ds
c92618c168c1 2010-04-06 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    25
 }
c92618c168c1 2010-04-06 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    26
 OIL_DEFINE_IMPL_FULL (trans8x8_u16_mmx, trans8x8_u16, OIL_IMPL_FLAG_MMX);
c92618c168c1 2010-04-06 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    27
 
c92618c168c1 2010-04-06 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    28
+/* These two functions crash when used with Sun Studio compiler */
c92618c168c1 2010-04-06 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    29
+#if !defined (__SUNPRO_C)
c92618c168c1 2010-04-06 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    30
 static void
c92618c168c1 2010-04-06 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    31
 trans8x8_u16_asm1 (uint16_t *dest, int dstr, uint16_t *src, int sstr)
c92618c168c1 2010-04-06 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    32
 {
c92618c168c1 2010-04-06 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    33
@@ -233,4 +235,5 @@ trans8x8_u16_asm2 (uint16_t *dest, int d
c92618c168c1 2010-04-06 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    34
       : "eax", "ecx", "edx", "esi", "edi");
c92618c168c1 2010-04-06 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    35
 }
c92618c168c1 2010-04-06 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    36
 OIL_DEFINE_IMPL (trans8x8_u16_asm2, trans8x8_u16);
c92618c168c1 2010-04-06 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    37
+#endif
c92618c168c1 2010-04-06 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    38