[pcc] Fix ftbfs.

Susi Lehtola jussilehtola at fedoraproject.org
Wed Dec 10 20:47:15 UTC 2014


commit 801b6bcaf60d0760797fee3a0937f6433509dfa1
Author: Susi Lehtola <jussilehtola at fedoraproject.org>
Date:   Wed Dec 10 21:55:09 2014 +0100

    Fix ftbfs.

 pcc.spec |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/pcc.spec b/pcc.spec
index 4bd3177..9f8d3bd 100644
--- a/pcc.spec
+++ b/pcc.spec
@@ -38,6 +38,8 @@ Source1:	http://pcc.ludd.ltu.se/ftp/pub/pcc-libs/pcc-libs-%{snapshot}.tgz
 # Also, inlineing is disabled because it will break the code.
 # Also, remove default -O flag from the code.
 Patch0:		pcc-20141210-flags.patch
+# Fix ifdef
+Patch1:         pcc-20141210-ifdef.patch
 
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 # Currently only x86 and x86_64 supported both in ppc and ppc-libs
@@ -73,6 +75,7 @@ mv pcc-libs-%{snapshot} pcc-libs
 
 # Apply patches
 %patch0 -p1 -b .flags
+%patch1 -p1 -b .ifdef
 
 %build
 # Set architecture directory needed for include flag


More information about the scm-commits mailing list