[strigi] gcc47 patch
Rex Dieter
rdieter at fedoraproject.org
Mon Jan 9 17:00:38 UTC 2012
commit 5890eb4653d26529f9f0ba8baff2378b7beb84a2
Author: Rex Dieter <rdieter at fedoraproject.org>
Date: Mon Jan 9 11:00:40 2012 -0600
gcc47 patch
strigi-0.7.7-gcc47.patch | 13 +++++++++++++
strigi.spec | 7 ++++++-
2 files changed, 19 insertions(+), 1 deletions(-)
---
diff --git a/strigi-0.7.7-gcc47.patch b/strigi-0.7.7-gcc47.patch
new file mode 100644
index 0000000..9b42771
--- /dev/null
+++ b/strigi-0.7.7-gcc47.patch
@@ -0,0 +1,13 @@
+diff -up strigi-0.7.7/strigidaemon/bin/daemon/eventlistener/eventlistenerqueue.cpp.gcc47 strigi-0.7.7/strigidaemon/bin/daemon/eventlistener/eventlistenerqueue.cpp
+--- strigi-0.7.7/strigidaemon/bin/daemon/eventlistener/eventlistenerqueue.cpp.gcc47 2011-07-14 20:29:31.000000000 -0500
++++ strigi-0.7.7/strigidaemon/bin/daemon/eventlistener/eventlistenerqueue.cpp 2012-01-09 10:59:14.061837577 -0600
+@@ -27,9 +27,7 @@
+ #include <iostream>
+ #include <stdio.h>
+
+-#if defined(__SUNPRO_CC)
+ #include <unistd.h>
+-#endif
+
+ using namespace std;
+
diff --git a/strigi.spec b/strigi.spec
index 161c4da..6713cd4 100644
--- a/strigi.spec
+++ b/strigi.spec
@@ -7,7 +7,7 @@
Name: strigi
Version: 0.7.7
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A desktop search program
Group: Applications/Productivity
License: LGPLv2+
@@ -20,6 +20,7 @@ Source2: strigi-daemon.desktop
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
## upstreamable patches
+Patch50: strigi-0.7.7-gcc47.patch
## upstream patches
# https://projects.kde.org/projects/kdesupport/strigi/libstreamanalyzer/repository/revisions/35cf4a4818a0d1bc7cda07e29f271360e06443a0
@@ -74,6 +75,7 @@ Strigi search engine libraries
%prep
%setup -q -n %{name}-%{version}%{?pre:-%{pre}}
+%patch50 -p1 -b .gcc47
pushd libstreamanalyzer
%patch100 -p1 -b .xpmfix
popd
@@ -156,6 +158,9 @@ rm -rf %{buildroot}
%changelog
+* Mon Jan 09 2012 Rex Dieter <rdieter at fedoraproject.org> 0.7.7-2
+- gcc47 patch
+
* Mon Jan 09 2012 Rex Dieter <rdieter at fedoraproject.org> 0.7.7-1
- 0.7.7
- upstream xpm patch
More information about the scm-commits
mailing list