public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mike Gilbert" <floppym@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/netkit-fingerd/files/, net-misc/netkit-fingerd/
Date: Sun, 26 Feb 2023 18:54:09 +0000 (UTC)	[thread overview]
Message-ID: <1677437646.48c2c6f914dcd83c12e13becd6afabbb6acbffa6.floppym@gentoo> (raw)

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
 )
 


                 reply	other threads:[~2023-02-26 18:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1677437646.48c2c6f914dcd83c12e13becd6afabbb6acbffa6.floppym@gentoo \
    --to=floppym@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox