summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2023-02-26 13:49:59 -0500
committerMike Gilbert <floppym@gentoo.org>2023-02-26 13:54:06 -0500
commit48c2c6f914dcd83c12e13becd6afabbb6acbffa6 (patch)
tree767df329646742d292eecbd6b1160179efebd41c /net-misc/netkit-fingerd
parentdev-tcltk/snack: update EAPI 7 -> 8 (diff)
downloadgentoo-48c2c6f914dcd83c12e13becd6afabbb6acbffa6.tar.gz
gentoo-48c2c6f914dcd83c12e13becd6afabbb6acbffa6.tar.bz2
gentoo-48c2c6f914dcd83c12e13becd6afabbb6acbffa6.zip
net-misc/netkit-fingerd: fix implicit declaration of 'open'
Closes: https://bugs.gentoo.org/897822 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'net-misc/netkit-fingerd')
-rw-r--r--net-misc/netkit-fingerd/files/netkit-fingerd-0.17-includes.patch (renamed from net-misc/netkit-fingerd/files/netkit-fingerd-0.17-r2-gentoo.diff)22
-rw-r--r--net-misc/netkit-fingerd/netkit-fingerd-0.17-r3.ebuild4
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
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
)