]> git.pld-linux.org Git - packages/feathercoin.git/commitdiff
- fix boost detection on x32
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 17 Apr 2017 19:15:17 +0000 (21:15 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Mon, 17 Apr 2017 19:15:17 +0000 (21:15 +0200)
feathercoin.spec
x32.patch [new file with mode: 0644]

index aa3f1ff8d60280a5694b48673b16bd63de4b06f7..e0da7ed205c2c24b84244d9243c65960b4c1c25d 100644 (file)
@@ -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 (file)
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
This page took 0.107661 seconds and 4 git commands to generate.