* [gentoo-commits] repo/gentoo:master commit in: net-misc/netkit-fingerd/files/, net-misc/netkit-fingerd/
@ 2023-02-26 18:54 Mike Gilbert
0 siblings, 0 replies; only message in thread
From: Mike Gilbert @ 2023-02-26 18:54 UTC (permalink / raw
To: gentoo-commits
commit: 48c2c6f914dcd83c12e13becd6afabbb6acbffa6
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 26 18:49:59 2023 +0000
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Sun Feb 26 18:54:06 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48c2c6f9
net-misc/netkit-fingerd: fix implicit declaration of 'open'
Closes: https://bugs.gentoo.org/897822
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
...too.diff => netkit-fingerd-0.17-includes.patch} | 22 +++++++++++++++++-----
.../netkit-fingerd/netkit-fingerd-0.17-r3.ebuild | 4 ++--
2 files changed, 19 insertions(+), 7 deletions(-)
diff --git a/net-misc/netkit-fingerd/files/netkit-fingerd-0.17-r2-gentoo.diff b/net-misc/netkit-fingerd/files/netkit-fingerd-0.17-includes.patch
similarity index 51%
rename from net-misc/netkit-fingerd/files/netkit-fingerd-0.17-r2-gentoo.diff
rename to net-misc/netkit-fingerd/files/netkit-fingerd-0.17-includes.patch
index e7c2d776147d..4318db053ac2 100644
--- a/net-misc/netkit-fingerd/files/netkit-fingerd-0.17-r2-gentoo.diff
+++ b/net-misc/netkit-fingerd/files/netkit-fingerd-0.17-includes.patch
@@ -1,6 +1,18 @@
---- bsd-finger-0.17/finger/lprint.c~ Tue Sep 14 12:51:11 1999
-+++ bsd-finger-0.17/finger/lprint.c Sun Apr 29 21:49:04 2001
-@@ -48,7 +48,7 @@
+https://bugs.gentoo.org/897822
+
+Add missing fcntl.h.
+Change sys/time.h to time.h.
+
+--- a/finger/lprint.c
++++ b/finger/lprint.c
+@@ -42,13 +42,14 @@
+
+ #include <stdio.h>
+ #include <ctype.h>
++#include <fcntl.h>
+ #include <paths.h>
+ #include <string.h>
+ #include <unistd.h>
#include <sys/types.h>
#include <sys/file.h>
#include <sys/stat.h>
@@ -9,8 +21,8 @@
#include "finger.h"
static void lprint(PERSON *pn);
---- bsd-finger-0.17/finger/sprint.c~ Sun Dec 12 19:59:33 1999
-+++ bsd-finger-0.17/finger/sprint.c Sun Apr 29 21:49:22 2001
+--- a/finger/sprint.c
++++ b/finger/sprint.c
@@ -40,7 +40,7 @@
#endif /* not lint */
diff --git a/net-misc/netkit-fingerd/netkit-fingerd-0.17-r3.ebuild b/net-misc/netkit-fingerd/netkit-fingerd-0.17-r3.ebuild
index bd104d8c1edc..ea725819512f 100644
--- a/net-misc/netkit-fingerd/netkit-fingerd-0.17-r3.ebuild
+++ b/net-misc/netkit-fingerd/netkit-fingerd-0.17-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
@@ -19,7 +19,7 @@ IUSE=""
S=${WORKDIR}/${MY_PN}-${PV}
PATCHES=(
- "${FILESDIR}"/${P}-r2-gentoo.diff
+ "${FILESDIR}"/netkit-fingerd-0.17-includes.patch
"${FILESDIR}"/${P}-name-check.patch #80286
)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2023-02-26 18:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-26 18:54 [gentoo-commits] repo/gentoo:master commit in: net-misc/netkit-fingerd/files/, net-misc/netkit-fingerd/ Mike Gilbert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox