[libetonyek/f20] add support for ppc64le

David Tardon dtardon at fedoraproject.org
Thu Aug 28 12:46:10 UTC 2014


commit c9655fb78fad6894689bf5d10af64b4ddfc50565
Author: David Tardon <dtardon at redhat.com>
Date:   Thu Aug 28 14:46:06 2014 +0200

    add support for ppc64le

 0001-add-support-for-ppc64le.patch |   25 +++++++++++++++++++++++++
 libetonyek.spec                    |    4 +++-
 2 files changed, 28 insertions(+), 1 deletions(-)
---
diff --git a/0001-add-support-for-ppc64le.patch b/0001-add-support-for-ppc64le.patch
new file mode 100644
index 0000000..6ff71a7
--- /dev/null
+++ b/0001-add-support-for-ppc64le.patch
@@ -0,0 +1,25 @@
+From b23652d3238389aae3c6ddbaab85bc7468a3fb6a Mon Sep 17 00:00:00 2001
+From: David Tardon <dtardon at redhat.com>
+Date: Thu, 28 Aug 2014 14:41:48 +0200
+Subject: [PATCH] add support for ppc64le
+
+---
+ configure | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure b/configure
+index 79d69e2..eea430d 100755
+--- a/configure
++++ b/configure
+@@ -17425,7 +17425,7 @@ $as_echo_n "checking for boostlib >= $boost_lib_version_req... " >&6; }
+                         libsubdirs="lib"
+     ax_arch=`uname -m`
+     case $ax_arch in
+-      x86_64|ppc64|s390x|sparc64|aarch64)
++      x86_64|ppc64|ppc64le|s390x|sparc64|aarch64)
+         libsubdirs="lib64 lib lib64"
+         ;;
+     esac
+-- 
+1.9.3
+
diff --git a/libetonyek.spec b/libetonyek.spec
index c6a2600..63df5fe 100644
--- a/libetonyek.spec
+++ b/libetonyek.spec
@@ -19,6 +19,8 @@ BuildRequires: pkgconfig(libwpd-0.9)
 BuildRequires: pkgconfig(libxml-2.0)
 BuildRequires: pkgconfig(zlib)
 
+Patch0: 0001-add-support-for-ppc64le.patch
+
 %description
 libetonyek is library providing ability to interpret and import Apple
 Keynote presentations into various applications. Only version 5 is
@@ -51,7 +53,7 @@ Tools to transform Apple Keynote presentations into other formats.
 Currently supported: XHTML, raw, text.
 
 %prep
-%setup -q
+%autosetup -p1
 
 %build
 %configure --disable-silent-rules --disable-static --disable-werror


More information about the scm-commits mailing list