summaryrefslogtreecommitdiff
path: root/extra/lzo/nasm-gcc3.patch
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/lzo/nasm-gcc3.patch
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/lzo/nasm-gcc3.patch')
-rw-r--r--extra/lzo/nasm-gcc3.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/extra/lzo/nasm-gcc3.patch b/extra/lzo/nasm-gcc3.patch
new file mode 100644
index 000000000..19b351b3d
--- /dev/null
+++ b/extra/lzo/nasm-gcc3.patch
@@ -0,0 +1,40 @@
+--- configure.in 2002-07-13 01:31:52.000000000 +0000
++++ configure.in.patched 2003-09-10 14:37:31.000000000 +0000
+@@ -319,13 +319,13 @@
+ [AC_TRY_RUN([#include <stdio.h>
+ int test() {
+ #if defined(__GNUC__)
+- __asm__ __volatile__ ("
+- .align 4
+-mfx_a1:
+- .byte 0
+- .align 4
+-mfx_a2:
+- ");
++ __asm__ __volatile__ (
++ ".align 4\n"
++"mfx_a1:\n"
++ ".byte 0\n"
++ ".align 4\n"
++"mfx_a2:\n"
++ );
+ #endif
+ return 0;
+ }
+@@ -363,11 +363,11 @@
+ #endif
+ int mfx_asm_func();
+ static void test() {
+- __asm__ __volatile__("
+- .globl mfx_asm_func
+- mfx_asm_func:
+- .byte 0
+- ");
++ __asm__ __volatile__(
++ ".globl mfx_asm_func\n"
++ "mfx_asm_func:\n"
++ ".byte 0\n"
++ );
+ }
+ ], [
+ return mfx_asm_func();