[packages/libass] - make yasm generate proper object format on x32 and enable asm - rel 3

baggins baggins at pld-linux.org
Sun Apr 26 12:17:34 CEST 2015


commit 84ce08722693f1f01c0314e0550660582b68daf2
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Apr 26 12:17:07 2015 +0200

    - make yasm generate proper object format on x32 and enable asm
    - rel 3

 libass.spec | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/libass.spec b/libass.spec
index bffea25..a447ad4 100644
--- a/libass.spec
+++ b/libass.spec
@@ -2,7 +2,7 @@ Summary:	LibASS - SSA/ASS subtitles rendering library
 Summary(pl.UTF-8):	LibASS - biblioteka renderująca napisy SSA/ASS
 Name:		libass
 Version:	0.12.1
-Release:	2
+Release:	3
 License:	MIT-like
 Group:		Libraries
 Source0:	http://github.com/libass/libass/releases/download/%{version}/%{name}-%{version}.tar.xz
@@ -71,6 +71,10 @@ Statyczna biblioteka LibASS.
 %prep
 %setup -q
 
+%ifarch x32
+%{__sed} -i -e 's|-f elf |-f elfx32 |' configure.ac
+%endif
+
 %build
 %{__libtoolize}
 %{__aclocal} -I m4
@@ -78,9 +82,6 @@ Statyczna biblioteka LibASS.
 %{__autoheader}
 %{__automake}
 %configure \
-%ifarch x32
-	--disable-asm \
-%endif
 	--disable-silent-rules
 
 %{__make}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libass.git/commitdiff/84ce08722693f1f01c0314e0550660582b68daf2



More information about the pld-cvs-commit mailing list