[packages/feathercoin] - fix boost detection on x32
baggins
baggins at pld-linux.org
Mon Apr 17 21:15:37 CEST 2017
commit 688b842e70223492c6e1e3d3178c66641d2ed2a2
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Mon Apr 17 21:15:17 2017 +0200
- fix boost detection on x32
feathercoin.spec | 4 ++++
x32.patch | 11 +++++++++++
2 files changed, 15 insertions(+)
---
diff --git a/feathercoin.spec b/feathercoin.spec
index aa3f1ff..e0da7ed 100644
--- a/feathercoin.spec
+++ b/feathercoin.spec
@@ -16,6 +16,7 @@ Source0: https://github.com/FeatherCoin/Feathercoin/archive/v%{version}/%{name}-
# Source0-md5: 9ac8509ab7bc7fb39b8e9d474a1079e3
Patch0: %{name}-c++.patch
Patch1: %{name}-zxing.patch
+Patch2: x32.patch
URL: https://www.feathercoin.com/
%if %{with gui}
BuildRequires: Qt5Core-devel >= 5
@@ -70,6 +71,9 @@ Oparty na Qt portfel Feathercoin.
%setup -q -n Feathercoin-%{version}
%patch0 -p1
%patch1 -p1
+%ifarch x32
+%patch2 -p1
+%endif
%build
install -d src/build-aux
diff --git a/x32.patch b/x32.patch
new file mode 100644
index 0000000..460eacd
--- /dev/null
+++ b/x32.patch
@@ -0,0 +1,11 @@
+--- Feathercoin-0.9.6/m4/ax_boost_base.m4~ 2017-01-30 17:11:35.000000000 +0100
++++ Feathercoin-0.9.6/m4/ax_boost_base.m4 2017-04-17 21:11:55.828600021 +0200
+@@ -93,7 +93,7 @@
+ ax_arch=`uname -m`
+ case $ax_arch in
+ x86_64|ppc64|s390x|sparc64|aarch64)
+- libsubdirs="lib64 lib lib64"
++ libsubdirs="libx32"
+ ;;
+ esac
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/feathercoin.git/commitdiff/688b842e70223492c6e1e3d3178c66641d2ed2a2
More information about the pld-cvs-commit
mailing list