mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-16 14:29:05 -07:00
net-misc/netkit-fingerd: fix implicit declaration of 'open'
Closes: https://bugs.gentoo.org/897822 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
This commit is contained in:
@@ -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 */
|
||||
|
||||
@@ -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
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user