Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/uudeview/, app-text/uudeview/files/
Date: Tue, 18 May 2021 10:40:55
Message-Id: 1621334005.352af12a667285b8127b77fc2d39b820230da8e4.juippis@gentoo
1 commit: 352af12a667285b8127b77fc2d39b820230da8e4
2 Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
3 AuthorDate: Sat May 1 16:05:43 2021 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Tue May 18 10:33:25 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=352af12a
7
8 app-text/uudeview: Make append_signature() void.
9
10 It seems that the function is never called.
11
12 Closes: https://bugs.gentoo.org/735682
13 Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de>
14 Closes: https://github.com/gentoo/gentoo/pull/20630
15 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
16
17 .../uudeview-0.5.20-fix-append_signature.patch | 36 ++++++++++++++++++++++
18 app-text/uudeview/uudeview-0.5.20-r2.ebuild | 1 +
19 2 files changed, 37 insertions(+)
20
21 diff --git a/app-text/uudeview/files/uudeview-0.5.20-fix-append_signature.patch b/app-text/uudeview/files/uudeview-0.5.20-fix-append_signature.patch
22 new file mode 100644
23 index 00000000000..3dfecc18cb9
24 --- /dev/null
25 +++ b/app-text/uudeview/files/uudeview-0.5.20-fix-append_signature.patch
26 @@ -0,0 +1,36 @@
27 +From 3bd5dee4226142df3645b8a027ef9142277257cf Mon Sep 17 00:00:00 2001
28 +From: tastytea <tastytea@××××××××.de>
29 +Date: Sat, 1 May 2021 17:51:47 +0200
30 +Subject: [PATCH] Make append_signature() void.
31 +
32 +If the type specifier is missing, it defaults to int. From the looks of
33 +it, the function is meant to be void.
34 +---
35 + inews/inews.c | 4 ++--
36 + 1 file changed, 2 insertions(+), 2 deletions(-)
37 +
38 +diff --git a/inews/inews.c b/inews/inews.c
39 +index 5fa309d..d1c1ee8 100644
40 +--- a/inews/inews.c
41 ++++ b/inews/inews.c
42 +@@ -143,7 +143,7 @@ char *argv[];
43 + fprintf(ser_wr_fp, "%s\r\n", s);
44 + }
45 +
46 +- append_signature();
47 ++ void append_signature();
48 +
49 + fprintf(ser_wr_fp, ".\r\n");
50 + (void) fflush(ser_wr_fp);
51 +@@ -181,7 +181,7 @@ char *argv[];
52 + * The rn-style DOTDIR environmental variable is used if present.
53 + */
54 +
55 +-append_signature()
56 ++void append_signature()
57 + {
58 + char line[256], sigfile[256];
59 + char *cp;
60 +--
61 +2.26.3
62 +
63
64 diff --git a/app-text/uudeview/uudeview-0.5.20-r2.ebuild b/app-text/uudeview/uudeview-0.5.20-r2.ebuild
65 index c92ff28eafb..72fc9d499c8 100644
66 --- a/app-text/uudeview/uudeview-0.5.20-r2.ebuild
67 +++ b/app-text/uudeview/uudeview-0.5.20-r2.ebuild
68 @@ -20,6 +20,7 @@ PATCHES=(
69 "${FILESDIR}"/${P}-man.patch
70 "${FILESDIR}"/${P}-rename.patch
71 "${FILESDIR}"/${P}-makefile.patch
72 + "${FILESDIR}"/${P}-fix-append_signature.patch
73 )
74
75 DOCS=( HISTORY INSTALL README )