[packages/incron] - 0.5.10 - fixes 691 bug, see: http://bts.aiken.cz/file_download.php?file_id=28&type=bug

blues blues at pld-linux.org
Sun Oct 21 11:38:31 CEST 2012


commit 384c629b398e7df06749b4db02248f1b672fef39
Author: Paweł Gołaszewski <blues at pld-linux.org>
Date:   Sun Oct 21 10:28:52 2012 +0200

    - 0.5.10 - fixes 691 bug, see:
      http://bts.aiken.cz/file_download.php?file_id=28&type=bug
    
    Outdated gcc44 patch, replaced with gcc47 patch.
    TODO: update DESTDIR patch

 incron-gcc44.patch | 51 ---------------------------------------------------
 incron-gcc47.patch | 10 ++++++++++
 incron.spec        | 10 +++++-----
 3 files changed, 15 insertions(+), 56 deletions(-)
---
diff --git a/incron.spec b/incron.spec
index be0df25..386d4dd 100644
--- a/incron.spec
+++ b/incron.spec
@@ -3,15 +3,15 @@
 # - directories for incrontab, and many other things
 Summary:	incron :: inotify cron system
 Name:		incron
-Version:	0.5.9
-Release:	1
+Version:	0.5.10
+Release:	0.1
 License:	GPL v2
 Group:		Daemons
 Source0:	http://inotify.aiken.cz/download/incron/%{name}-%{version}.tar.bz2
-# Source0-md5:	ccae2ca5cb4b142be002ab482250fb5f
+# Source0-md5:	038190dc64568883a206f3d58269b850
 Source1:	%{name}.init
 Patch0:		%{name}-DESTDIR.patch
-Patch1:		%{name}-gcc44.patch
+Patch1:		%{name}-gcc47.patch
 URL:		http://incron.aiken.cz/
 Requires(post):	fileutils
 Requires(post,preun):	/sbin/chkconfig
@@ -33,7 +33,7 @@ rather than time periods.
 
 %prep
 %setup -q
-%patch0 -p1
+#%patch0 -p1
 %patch1 -p1
 
 %build
diff --git a/incron-gcc44.patch b/incron-gcc44.patch
deleted file mode 100644
index b4e7e66..0000000
--- a/incron-gcc44.patch
+++ /dev/null
@@ -1,51 +0,0 @@
---- ./appargs.cpp.org	2009-06-21 22:27:24.000000000 +0200
-+++ ./appargs.cpp	2009-11-25 21:56:46.978234275 +0100
-@@ -21,6 +21,7 @@
- 
- 
- #include <cstring>
-+#include <cstdio>
- 
- #include "strtok.h"
- 
---- ./inotify-cxx.cpp.org	2009-06-21 22:27:24.000000000 +0200
-+++ ./inotify-cxx.cpp	2009-11-25 21:58:13.222711219 +0100
-@@ -23,6 +23,7 @@
- #include <errno.h>
- #include <unistd.h>
- #include <fcntl.h>
-+#include <cstdio>
- 
- #include "inotify-cxx.h"
- 
---- ./usertable.cpp.org	2009-06-21 22:27:24.000000000 +0200
-+++ ./usertable.cpp	2009-11-25 21:58:51.692289072 +0100
-@@ -27,6 +27,7 @@
- #include <stdlib.h>
- #include <sys/stat.h>
- #include <cstring>
-+#include <cstdio>
- 
- #include "usertable.h"
- #include "incroncfg.h"
---- ./icd-main.cpp.org	2009-06-21 22:27:24.000000000 +0200
-+++ ./icd-main.cpp	2009-11-25 21:59:33.665203662 +0100
-@@ -24,6 +24,7 @@
- #include <sys/poll.h>
- #include <sys/stat.h>
- #include <cstring>
-+#include <cstdio>
- 
- #include "inotify-cxx.h"
- #include "appinst.h"
---- ./incroncfg.cpp.org	2009-06-21 22:27:24.000000000 +0200
-+++ ./incroncfg.cpp	2009-11-25 22:05:22.108291144 +0100
-@@ -181,7 +181,7 @@ bool IncronCfg::ParseLine(const char* s,
- 
- bool IncronCfg::IsComment(const char* s)
- {
--  char* sx = strchr(s, '#');
-+  const char* sx = strchr(s, '#');
-   if (sx == NULL)
-     return false;
-     
diff --git a/incron-gcc47.patch b/incron-gcc47.patch
new file mode 100644
index 0000000..78fd288
--- /dev/null
+++ b/incron-gcc47.patch
@@ -0,0 +1,10 @@
+--- a/icd-main.cpp
++++ b/icd-main.cpp
+@@ -24,6 +24,7 @@
+ #include <dirent.h>
+ #include <syslog.h>
+ #include <errno.h>
++#include <unistd.h>
+ #include <sys/poll.h>
+ #include <sys/stat.h>
+ #include <cstdio>
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/incron.git/commitdiff/84bbccc5c8deb8b8783323ff2906652f5ccfff8d



More information about the pld-cvs-commit mailing list