Hi Ports@,

Attached is patch to bring entr up to date.

Lightly tested on amd64.

Cheers

Fred
--

Index: Makefile
===================================================================
RCS file: /cvs/ports/sysutils/entr/Makefile,v
retrieving revision 1.7
diff -u -p -u -p -r1.7 Makefile
--- Makefile    5 Apr 2014 22:14:59 -0000       1.7
+++ Makefile    23 Oct 2015 18:27:34 -0000
@@ -1,10 +1,9 @@
-# $OpenBSD: Makefile,v 1.7 2014/04/05 22:14:59 sthen Exp $
+# $OpenBSD$

 COMMENT =      run arbitrary commands when files change

-DISTNAME =     entr-2.8
-REVISION =     0
-REV =          9192ece7198c
+DISTNAME =     entr-3.2
+REV =          c20e34ec153a

 CATEGORIES =   sysutils

Index: distinfo
===================================================================
RCS file: /cvs/ports/sysutils/entr/distinfo,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 distinfo
--- distinfo    20 Mar 2014 11:17:09 -0000      1.4
+++ distinfo    23 Oct 2015 18:27:34 -0000
@@ -1,2 +1,2 @@
-SHA256 (entr-2.8.tar.gz) = hHq+LfbIV68OA+P259Raact3qDoz52gIKUn2cWH9RMw=
-SIZE (entr-2.8.tar.gz) = 20185
+SHA256 (entr-3.2.tar.gz) = se7gCvvszwMBDBxVdDaFS+aq8O+bcquNRLlK/919cUY=
+SIZE (entr-3.2.tar.gz) = 22203
Index: patches/patch-entr_c
===================================================================
RCS file: patches/patch-entr_c
diff -N patches/patch-entr_c
--- patches/patch-entr_c        5 Apr 2014 22:14:59 -0000       1.1
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,22 +0,0 @@
-$OpenBSD: patch-entr_c,v 1.1 2014/04/05 22:14:59 sthen Exp $
---- entr.c.orig        Thu Mar 13 18:44:39 2014
-+++ entr.c     Sat Apr  5 10:32:08 2014
-@@ -38,7 +38,7 @@
-
- /* events to watch for */
-
--#define NOTE_ALL NOTE_DELETE|NOTE_WRITE|NOTE_EXTEND|NOTE_RENAME
-+#define NOTE_ALL NOTE_DELETE|NOTE_WRITE|NOTE_EXTEND|NOTE_RENAME|NOTE_TRUNCATE
-
- /* shortcuts */
-
-@@ -456,7 +456,8 @@ main:
-               if (evList[i].fflags & NOTE_DELETE ||
-                   evList[i].fflags & NOTE_WRITE  ||
-                   evList[i].fflags & NOTE_EXTEND ||
--                  evList[i].fflags & NOTE_RENAME) {
-+                  evList[i].fflags & NOTE_RENAME ||
-+                  evList[i].fflags & NOTE_TRUNCATE) {
-                       if (fifo.fd == 0)
-                               do_exec = 1;
-                       else {
Index: Makefile
===================================================================
RCS file: /cvs/ports/sysutils/entr/Makefile,v
retrieving revision 1.7
diff -u -p -u -p -r1.7 Makefile
--- Makefile	5 Apr 2014 22:14:59 -0000	1.7
+++ Makefile	23 Oct 2015 18:27:34 -0000
@@ -1,10 +1,9 @@
-# $OpenBSD: Makefile,v 1.7 2014/04/05 22:14:59 sthen Exp $
+# $OpenBSD$
 
 COMMENT =	run arbitrary commands when files change
 
-DISTNAME =	entr-2.8
-REVISION =	0
-REV =		9192ece7198c
+DISTNAME =	entr-3.2
+REV =		c20e34ec153a
 
 CATEGORIES =	sysutils
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/sysutils/entr/distinfo,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 distinfo
--- distinfo	20 Mar 2014 11:17:09 -0000	1.4
+++ distinfo	23 Oct 2015 18:27:34 -0000
@@ -1,2 +1,2 @@
-SHA256 (entr-2.8.tar.gz) = hHq+LfbIV68OA+P259Raact3qDoz52gIKUn2cWH9RMw=
-SIZE (entr-2.8.tar.gz) = 20185
+SHA256 (entr-3.2.tar.gz) = se7gCvvszwMBDBxVdDaFS+aq8O+bcquNRLlK/919cUY=
+SIZE (entr-3.2.tar.gz) = 22203
Index: patches/patch-entr_c
===================================================================
RCS file: patches/patch-entr_c
diff -N patches/patch-entr_c
--- patches/patch-entr_c	5 Apr 2014 22:14:59 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,22 +0,0 @@
-$OpenBSD: patch-entr_c,v 1.1 2014/04/05 22:14:59 sthen Exp $
---- entr.c.orig	Thu Mar 13 18:44:39 2014
-+++ entr.c	Sat Apr  5 10:32:08 2014
-@@ -38,7 +38,7 @@
- 
- /* events to watch for */
- 
--#define NOTE_ALL NOTE_DELETE|NOTE_WRITE|NOTE_EXTEND|NOTE_RENAME
-+#define NOTE_ALL NOTE_DELETE|NOTE_WRITE|NOTE_EXTEND|NOTE_RENAME|NOTE_TRUNCATE
- 
- /* shortcuts */
- 
-@@ -456,7 +456,8 @@ main:
- 		if (evList[i].fflags & NOTE_DELETE ||
- 		    evList[i].fflags & NOTE_WRITE  ||
- 		    evList[i].fflags & NOTE_EXTEND ||
--		    evList[i].fflags & NOTE_RENAME) {
-+		    evList[i].fflags & NOTE_RENAME ||
-+		    evList[i].fflags & NOTE_TRUNCATE) {
- 			if (fifo.fd == 0)
- 				do_exec = 1;
- 			else {

Reply via email to