Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/bsdwhois/files/
Date: Fri, 24 Jun 2022 03:43:15
Message-Id: 1656040428.3690d57e4ec3c647da56c2cdd563c530f5d03eb1.sam@gentoo
1 commit: 3690d57e4ec3c647da56c2cdd563c530f5d03eb1
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jun 24 01:56:01 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Fri Jun 24 03:13:48 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3690d57e
7
8 net-misc/bsdwhois: fix build on musl
9
10 Thanks-to: CFuga <cfuga <AT> cfuga.mx>
11 Closes: https://bugs.gentoo.org/828901
12 Signed-off-by: Sam James <sam <AT> gentoo.org>
13
14 .../bsdwhois/files/bsdwhois-1.43.2.1-musl-cdefs.patch | 16 +++++++++++++---
15 1 file changed, 13 insertions(+), 3 deletions(-)
16
17 diff --git a/net-misc/bsdwhois/files/bsdwhois-1.43.2.1-musl-cdefs.patch b/net-misc/bsdwhois/files/bsdwhois-1.43.2.1-musl-cdefs.patch
18 index 2eec53c2645c..a27f2d5a1665 100644
19 --- a/net-misc/bsdwhois/files/bsdwhois-1.43.2.1-musl-cdefs.patch
20 +++ b/net-misc/bsdwhois/files/bsdwhois-1.43.2.1-musl-cdefs.patch
21 @@ -1,8 +1,17 @@
22 -diff --git a/whois.c b/whois.c
23 -index 329559a..d2f6561 100644
24 +https://bugs.gentoo.org/828901
25 +--- a/strnstr.c
26 ++++ b/strnstr.c
27 +@@ -38,7 +38,6 @@
28 + #if defined(LIBC_SCCS) && !defined(lint)
29 + static char sccsid[] = "@(#)strstr.c 8.1 (Berkeley) 6/4/93";
30 + #endif /* LIBC_SCCS and not lint */
31 +-#include <sys/cdefs.h>
32 +
33 + #include <string.h>
34 +
35 --- a/whois.c
36 +++ b/whois.c
37 -@@ -43,7 +43,6 @@ static char sccsid[] = "@(#)whois.c 8.1 (Berkeley) 6/6/93";
38 +@@ -43,7 +43,6 @@
39 #endif /* not lint */
40 #endif
41
42 @@ -10,3 +19,4 @@ index 329559a..d2f6561 100644
43 #ifdef __FBSDID
44 __FBSDID("$FreeBSD: /repoman/r/ncvs/src/usr.bin/whois/whois.c,v 1.43.2.1 2006/01/31 18:11:21 jhay Exp $");
45 #endif
46 +