[packages/liboil] - disable some asm on x32 - rel 2

baggins baggins at pld-linux.org
Sun May 10 01:19:00 CEST 2015


commit d1b153a0f74d41a72ac6d3ed409967f7223198b1
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun May 10 01:18:44 2015 +0200

    - disable some asm on x32
    - rel 2

 liboil.spec |  6 +++++-
 x32.patch   | 13 +++++++++++++
 2 files changed, 18 insertions(+), 1 deletion(-)
---
diff --git a/liboil.spec b/liboil.spec
index 6cb6273..c673d88 100644
--- a/liboil.spec
+++ b/liboil.spec
@@ -7,7 +7,7 @@ Summary:	Library of Optimized Inner Loops
 Summary(pl.UTF-8):	Biblioteka zoptymalizowanych wewnętrznych pętli
 Name:		liboil
 Version:	0.3.17
-Release:	1
+Release:	2
 Epoch:		1
 License:	BSD
 Group:		Libraries
@@ -15,6 +15,7 @@ Source0:	http://liboil.freedesktop.org/download/%{name}-%{version}.tar.gz
 # Source0-md5:	47dc734f82faeb2964d97771cfd2e701
 Patch0:		%{name}-opt.patch
 Patch1:		%{name}-fixes.patch
+Patch2:		x32.patch
 URL:		http://liboil.freedesktop.org/wiki/
 BuildRequires:	autoconf >= 2.58
 BuildRequires:	automake >= 1.6
@@ -87,6 +88,9 @@ Statyczna biblioteka liboil.
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%ifarch x32
+%patch2 -p1
+%endif
 
 rm -f m4/libtool.m4 m4/lt*.m4
 
diff --git a/x32.patch b/x32.patch
new file mode 100644
index 0000000..a10a577
--- /dev/null
+++ b/x32.patch
@@ -0,0 +1,13 @@
+--- liboil-0.3.17/liboil/Makefile.am~	2010-02-04 21:08:33.000000000 +0100
++++ liboil-0.3.17/liboil/Makefile.am	2015-05-10 01:14:40.930512122 +0200
+@@ -30,8 +30,8 @@
+ 
+ if HAVE_AMD64
+ if HAVE_GCC_ASM
+-SUBDIRS += amd64 i386_amd64
+-libs += amd64/libamd64.la i386_amd64/libi386_amd64.la
++SUBDIRS += i386_amd64
++libs += i386_amd64/libi386_amd64.la
+ endif
+ endif
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/liboil.git/commitdiff/d1b153a0f74d41a72ac6d3ed409967f7223198b1



More information about the pld-cvs-commit mailing list