Date: Tue, 30 Aug 2022 20:12:06 GMT From: Cy Schubert <cy@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 2c6ac43b0d95 - main - sysutils/nut*: Remove unneeded headers Message-ID: <202208302012.27UKC6VE035716@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by cy: URL: https://cgit.FreeBSD.org/ports/commit/?id=2c6ac43b0d958cee758d06df6b2e386186bbd0e0 commit 2c6ac43b0d958cee758d06df6b2e386186bbd0e0 Author: Cy Schubert <cy@FreeBSD.org> AuthorDate: 2022-08-30 20:10:18 +0000 Commit: Cy Schubert <cy@FreeBSD.org> CommitDate: 2022-08-30 20:10:18 +0000 sysutils/nut*: Remove unneeded headers Remove headers used in the first attempt. Removing them reduces some namespace pollution and has no nother effect on the resulting package. --- sysutils/nut-devel/files/patch-clients_upslog.c | 11 ----------- sysutils/nut/files/patch-clients_upslog.c | 11 ----------- 2 files changed, 22 deletions(-) diff --git a/sysutils/nut-devel/files/patch-clients_upslog.c b/sysutils/nut-devel/files/patch-clients_upslog.c index c06eaf45e992..199f55efd69c 100644 --- a/sysutils/nut-devel/files/patch-clients_upslog.c +++ b/sysutils/nut-devel/files/patch-clients_upslog.c @@ -1,16 +1,5 @@ --- clients/upslog.c.orig 2022-08-29 22:20:20.954722000 -0700 +++ clients/upslog.c 2022-08-29 22:21:18.844395000 -0700 -@@ -32,6 +32,10 @@ - */ - - #include "common.h" -+#include <signal.h> -+#include <unistd.h> -+#include <sys/types.h> -+#include <sys/wait.h> - #include "nut_platform.h" - #include "upsclient.h" - @@ -41,32 +45,49 @@ #include "upslog.h" diff --git a/sysutils/nut/files/patch-clients_upslog.c b/sysutils/nut/files/patch-clients_upslog.c index bcebe5bba28c..87c87dc6e2c8 100644 --- a/sysutils/nut/files/patch-clients_upslog.c +++ b/sysutils/nut/files/patch-clients_upslog.c @@ -1,16 +1,5 @@ --- clients/upslog.c.orig 2022-08-29 22:20:14.342137000 -0700 +++ clients/upslog.c 2022-08-29 22:21:10.934419000 -0700 -@@ -32,6 +32,10 @@ - */ - - #include "common.h" -+#include <signal.h> -+#include <unistd.h> -+#include <sys/types.h> -+#include <sys/wait.h> - #include "nut_platform.h" - #include "upsclient.h" - @@ -41,32 +45,49 @@ #include "upslog.h"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202208302012.27UKC6VE035716>