Taskd fails to build because it misses the limits.h include in
Directory.cpp to get PATH_MAX. With gcc15 this nothing else seems to pull
this in and so the build fails.

Add a missing defined OPENBSD to make this work.
I bumped REVISION just to be safe.
-- 
:wq Claudio

Index: Makefile
===================================================================
RCS file: /cvs/ports/productivity/taskd/Makefile,v
diff -u -p -r1.19 Makefile
--- Makefile    27 Sep 2023 15:04:13 -0000      1.19
+++ Makefile    15 Dec 2025 19:59:53 -0000
@@ -2,7 +2,7 @@ COMMENT =       lightweight server providing a
 
 DISTNAME =     taskd-1.1.0
 CATEGORIES =   productivity net
-REVISION =     5
+REVISION =     6
 
 HOMEPAGE =     http://www.taskwarrior.org/
 
Index: patches/patch-src_Directory_cpp
===================================================================
RCS file: patches/patch-src_Directory_cpp
diff -N patches/patch-src_Directory_cpp
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_Directory_cpp     15 Dec 2025 12:53:37 -0000
@@ -0,0 +1,12 @@
+Index: src/Directory.cpp
+--- src/Directory.cpp.orig
++++ src/Directory.cpp
+@@ -34,7 +34,7 @@
+ #include <stdlib.h>
+ #include <Directory.h>
+ 
+-#if defined SOLARIS || defined NETBSD || defined FREEBSD
++#if defined SOLARIS || defined NETBSD || defined FREEBSD || defined OPENBSD
+ #include <limits.h>
+ #endif
+ 

Reply via email to