Fix ppc64le build.

This commit is contained in:
Jon Ciesla 2017-01-25 13:07:30 -06:00
parent 854b4fbb62
commit d7fe93f63c
2 changed files with 13 additions and 0 deletions

11
gource-ppc64le.patch Normal file
View File

@ -0,0 +1,11 @@
--- configure~ 2017-01-25 12:57:31.000000000 -0600
+++ configure 2017-01-25 12:57:57.276214279 -0600
@@ -7033,7 +7033,7 @@
libsubdirs="lib"
ax_arch=`uname -m`
case $ax_arch in
- x86_64|ppc64|s390x|sparc64|aarch64)
+ x86_64|ppc64|s390x|sparc64|aarch64|ppc64le)
libsubdirs="lib64 lib lib64"
;;
esac

View File

@ -5,6 +5,7 @@ Release: 10%{?dist}
URL: http://gource.googlecode.com/
Source: https://github.com/acaudwell/Gource/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz
Patch0: gource-gcc6.patch
Patch1: gource-ppc64le.patch
License: GPLv3+
Group: Applications/Productivity
@ -36,6 +37,7 @@ files and directories.
%prep
%setup -q
%patch0 -p0
%patch1 -p0
sed -i.cp -e 's|cp |cp -p |' Makefile.in
rm -r src/tinyxml