[incron] gcc47 patch.

Jon Ciesla limb at fedoraproject.org
Thu Feb 16 16:35:42 UTC 2012


commit 9ee9206dd628bf2c8fdebea1c9e03348ee6c98d0
Author: Jon Ciesla <limburgher at gmail.com>
Date:   Thu Feb 16 10:35:15 2012 -0600

    gcc47 patch.

 incron-gcc47.patch |   10 ++++++++++
 incron.spec        |    3 +++
 2 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/incron-gcc47.patch b/incron-gcc47.patch
new file mode 100644
index 0000000..216cf2f
--- /dev/null
+++ b/incron-gcc47.patch
@@ -0,0 +1,10 @@
+--- icd-main.cpp~	2009-06-21 15:27:24.000000000 -0500
++++ icd-main.cpp	2012-02-16 10:31:28.852199163 -0600
+@@ -24,6 +24,7 @@
+ #include <sys/poll.h>
+ #include <sys/stat.h>
+ #include <cstring>
++#include <unistd.h>
+ 
+ #include "inotify-cxx.h"
+ #include "appinst.h"
diff --git a/incron.spec b/incron.spec
index 5cee955..88ba6fb 100644
--- a/incron.spec
+++ b/incron.spec
@@ -9,6 +9,7 @@ URL:         http://inotify.aiken.cz
 Source0:     http://inotify.aiken.cz/download/incron/%{name}-%{version}.tar.bz2
 Source1:     incrond.service
 Patch0:      incron-gcc44.patch
+Patch1:      incron-gcc47.patch
 BuildRoot:   %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 #Requires(post):   /sbin/chkconfig
@@ -28,6 +29,7 @@ filesystem events rather than time periods.
 %prep
 %setup -q
 %patch0 -p1 -b .orig
+%patch1 -p0 -b .gcc47
 
 %build
 make %{?_smp_mflags} CXXFLAGS="%{optflags}"
@@ -113,6 +115,7 @@ rm -rf %{buildroot}
 %changelog
 * Thu Feb 16 2012 Jon Ciesla <limburgher at gmail.com> - 0.5.9-4
 - Migrate to systemd, BZ 789688.
+- gcc47 patch.
 
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.5.9-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild


More information about the scm-commits mailing list