Blame SOURCES/sectalign-nasm.patch

0a4abc
https://bugzilla.redhat.com/show_bug.cgi?id=603113#c11
0a4abc
0a4abc
--- libvpx-v1.3.0/build/make/configure.sh-orig	2014-01-10 21:12:40.000000000 +0100
0a4abc
+++ libvpx-v1.3.0/build/make/configure.sh	2014-07-29 13:30:14.509553770 +0200
0a4abc
@@ -374,7 +374,7 @@ EOF
0a4abc
     readelf -WS ${TMP_O} >${TMP_X}
0a4abc
     log_file ${TMP_X}
0a4abc
     if ! grep -q '\.rodata .* 16$' ${TMP_X}; then
0a4abc
-        die "${AS} ${ASFLAGS} does not support section alignment (nasm <=2.08?)"
0a4abc
+        echo >&2 "${AS} ${ASFLAGS} does not support section alignment (nasm <=2.08?)"
0a4abc
     fi
0a4abc
 }
0a4abc
 
0a4abc
--- libvpx-v1.3.0/vpx_ports/x86_abi_support.asm-orig	2014-07-29 14:06:26.856461360 +0200
0a4abc
+++ libvpx-v1.3.0/vpx_ports/x86_abi_support.asm	2014-07-29 15:00:51.772040384 +0200
0a4abc
@@ -377,7 +377,7 @@ section .text
0a4abc
 %elifidn __OUTPUT_FORMAT__,aout
0a4abc
 %define SECTION_RODATA section .data
0a4abc
 %else
0a4abc
-%define SECTION_RODATA section .rodata
0a4abc
+%define SECTION_RODATA section .rodata align=16
0a4abc
 %endif
0a4abc
 
0a4abc