Hi,

a trivial update of sysutils/fwa to 0.2.
Tested on -stable/amd64.
Can you please also commit if it's ok?

I also have a few questions that are not completely clear after reading
porting guides.

1. All of the patches have been ported upstream, but I wasn't able to
   remove the patches directory with cvs, not sure how to add this to the
   diff.
2. Are these patches added to the stable or the current tree?
3. If this change gets committed to the stable tree, is it going to get
   committed also to the current tree?

Thank you in advance,
Peter
Index: Makefile
===================================================================
RCS file: /cvs/ports/sysutils/fwa/Makefile,v
diff -u -p -r1.4 Makefile
--- Makefile    6 Feb 2023 10:37:40 -0000       1.4
+++ Makefile    17 Dec 2024 14:24:40 -0000
@@ -1,9 +1,8 @@
 COMMENT =      simple file watcher utility for OpenBSD
-DISTNAME =     fwa-0.1
+DISTNAME =     fwa-0.2
 CATEGORIES =   sysutils
-REVISION =     0
 
-MAINTAINER =   Peter Hajdu <peter.ferenc.ha...@gmail.com>
+MAINTAINER =   Peter Hajdu <pe...@hajdu.im>
 
 # BSD
 PERMIT_PACKAGE =       Yes
@@ -12,7 +11,7 @@ WANTLIB += c
 
 GH_ACCOUNT =           peterhajdu
 GH_PROJECT =           fwa
-GH_COMMIT =            ce8f590963fdf9e3f5986efb70d68c1918262d86
+GH_TAGNAME =           0.2
 
 FAKE_FLAGS =   DESTDIR=""
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/sysutils/fwa/distinfo,v
diff -u -p -r1.2 distinfo
--- distinfo    6 May 2017 15:10:18 -0000       1.2
+++ distinfo    17 Dec 2024 14:24:40 -0000
@@ -1,2 +1,2 @@
-SHA256 (fwa-0.1-ce8f5909.tar.gz) = zbmJNkB3K8MJlhzjTaGUh76RNqMqZsvW2XbgH4OUTGw=
-SIZE (fwa-0.1-ce8f5909.tar.gz) = 4716
+SHA256 (fwa-0.2.tar.gz) = tx6nplt8/TWy41CgweaeDC1JyGo6cjATHVJ31Lt8284=
+SIZE (fwa-0.2.tar.gz) = 4719
Index: patches/patch-fwa_c
===================================================================
RCS file: patches/patch-fwa_c
diff -N patches/patch-fwa_c
--- patches/patch-fwa_c 6 Feb 2023 10:37:40 -0000       1.1
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,49 +0,0 @@
-Fix build with clang 15
-https://github.com/PeterHajdu/fwa/pull/2
-
-Index: fwa.c
---- fwa.c.orig
-+++ fwa.c
-@@ -34,12 +34,12 @@
- #include <string.h>
- #include <time.h>
- 
--void usage();
--int create_queue();
-+void usage(void);
-+int create_queue(void);
- size_t parse_options(int, char*[]);
- struct kevent* allocate_event_memory(size_t);
- size_t set_up_events_to_watch(int, struct kevent *, size_t, char*[]);
--void set_output_buffer();
-+void set_output_buffer(void);
- void handle_events(int, struct kevent*, size_t);
- 
- int main(int argc, char **argv) {
-@@ -59,7 +59,7 @@ int main(int argc, char **argv) {
-       return 0;
- }
- 
--void usage() {
-+void usage(void) {
-       printf(
-               "usage: fwa [options] <list of files to watch>\n"
-               "\noptions:\n"
-@@ -160,7 +160,7 @@ size_t set_up_events_to_watch(
-       return event_slot;
- }
- 
--void set_output_buffer() {
-+void set_output_buffer(void) {
-   static char line_buffer[512];
-   setvbuf(stdout, line_buffer, _IOLBF, sizeof(line_buffer));
- }
-@@ -214,7 +214,7 @@ void report_and_cleanup_events(
-       }
- }
- 
--int create_queue() {
-+int create_queue(void) {
-       const int queue = kqueue();
-       if (queue < 0)
-               err(1, "Unable to create kernel queue." );

Reply via email to