View | Details | Raw Unified | Return to bug 281633
Collapse All | Expand All

(-)b/devel/readline/Makefile (+1 lines)
Lines 1-5 Link Here
1
PORTNAME=	readline
1
PORTNAME=	readline
2
PORTVERSION=	8.2.${PATCHLEVEL}
2
PORTVERSION=	8.2.${PATCHLEVEL}
3
PORTREVISION=	1
3
CATEGORIES=	devel
4
CATEGORIES=	devel
4
MASTER_SITES=	GNU
5
MASTER_SITES=	GNU
5
DISTNAME=	readline-${PORTVERSION:R}
6
DISTNAME=	readline-${PORTVERSION:R}
(-)b/devel/readline/files/patch-readline.h (+11 lines)
Added Link Here
1
--- readline.h.orig	2024-09-21 16:56:41 UTC
2
+++ readline.h
3
@@ -407,7 +407,7 @@ extern int rl_message (const char *, ...)  __attribute
4
 #if defined (USE_VARARGS) && defined (PREFER_STDARG)
5
 extern int rl_message (const char *, ...)  __attribute__((__format__ (printf, 1, 2)));
6
 #else
7
-extern int rl_message ();
8
+extern int rl_message (void);
9
 #endif
10
 
11
 extern int rl_show_char (int);
(-)b/devel/readline/files/patch-rltypedefs.h (+17 lines)
Added Link Here
1
--- rltypedefs.h.orig	2021-01-22 15:04:18 UTC
2
+++ rltypedefs.h
3
@@ -32,10 +32,10 @@ extern "C" {
4
 #  define _FUNCTION_DEF
5
 
6
 #if defined(__GNUC__) || defined(__clang__)
7
-typedef int Function () __attribute__((deprecated));
8
-typedef void VFunction () __attribute__((deprecated));
9
-typedef char *CPFunction () __attribute__((deprecated));
10
-typedef char **CPPFunction () __attribute__((deprecated));
11
+typedef int Function (void) __attribute__((deprecated));
12
+typedef void VFunction (void) __attribute__((deprecated));
13
+typedef char *CPFunction (void) __attribute__((deprecated));
14
+typedef char **CPPFunction (void) __attribute__((deprecated));
15
 #else
16
 typedef int Function ();
17
 typedef void VFunction ();

Return to bug 281633