summaryrefslogtreecommitdiffstats
path: root/redhat/kdevelop/trinity-kdevelop-3.5.13.spec
diff options
context:
space:
mode:
authorFrancois Andriot <francois.andriot@free.fr>2012-04-28 12:45:33 +0200
committerFrancois Andriot <francois.andriot@free.fr>2012-04-28 12:45:33 +0200
commitbd0db9f63504d679c55f4b2700d45a809530c7d7 (patch)
treea0fd824ea751b7a6da13a170d754da7b4e2e3d63 /redhat/kdevelop/trinity-kdevelop-3.5.13.spec
parenta1ed0f8df1f57a436617c83e0d17a010033fd172 (diff)
downloadtde-packaging-bd0db9f63504d679c55f4b2700d45a809530c7d7.tar.gz
tde-packaging-bd0db9f63504d679c55f4b2700d45a809530c7d7.zip
RHEL/Fedora: updates kdevelop for GCC 4.7
Diffstat (limited to 'redhat/kdevelop/trinity-kdevelop-3.5.13.spec')
-rw-r--r--redhat/kdevelop/trinity-kdevelop-3.5.13.spec8
1 files changed, 5 insertions, 3 deletions
diff --git a/redhat/kdevelop/trinity-kdevelop-3.5.13.spec b/redhat/kdevelop/trinity-kdevelop-3.5.13.spec
index ca27fc19f..e47bc717e 100644
--- a/redhat/kdevelop/trinity-kdevelop-3.5.13.spec
+++ b/redhat/kdevelop/trinity-kdevelop-3.5.13.spec
@@ -45,7 +45,8 @@ Patch1: c_cpp_reference-2.0.2-config.patch
# TDE 3.5.13 patches
## RHEL / Fedora RPM specific patches
Patch2: kdevelop-3.5.13-kdevdesigner-ftbfs.patch
-
+# Fix compilation with GCC 4.7
+Patch3: kdevelop-3.5.13-gcc47.patch
Provides: kdevelop3 = %{version}-%{release}
@@ -126,12 +127,13 @@ Requires: %{name} = %{version}-%{release}
%setup -q -n kdevelop -a1
%patch1 -p0 -b .config
%patch2 -p1
+%patch3 -p1 -b .gcc47
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
- -e "s,/usr/include/tqt,%{_includedir}/tqt,g" \
- -e "s,kde_htmldir='.*',kde_htmldir='%{tde_docdir}/HTML',g"
+ -e "s|/usr/include/tqt|%{_includedir}/tqt|g" \
+ -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_docdir}/HTML'|g"
%__rm -rf c_cpp_reference-2.0.2_for_KDE_3.0/admin