aboutsummaryrefslogtreecommitdiff
path: root/devel/readline/files/patch-clang18
diff options
context:
space:
mode:
Diffstat (limited to 'devel/readline/files/patch-clang18')
-rw-r--r--devel/readline/files/patch-clang1831
1 files changed, 0 insertions, 31 deletions
diff --git a/devel/readline/files/patch-clang18 b/devel/readline/files/patch-clang18
deleted file mode 100644
index df9e8b671ddc..000000000000
--- a/devel/readline/files/patch-clang18
+++ /dev/null
@@ -1,31 +0,0 @@
---- readline.h.orig 2022-02-18 16:13:59 UTC
-+++ readline.h
-@@ -404,10 +404,10 @@ extern int rl_mark_active_p (void);
- extern void rl_deactivate_mark (void);
- extern int rl_mark_active_p (void);
-
--#if defined (USE_VARARGS) && defined (PREFER_STDARG)
-+#if defined(__GNUC__) || defined(__clang__)
- extern int rl_message (const char *, ...) __attribute__((__format__ (printf, 1, 2)));
- #else
--extern int rl_message ();
-+extern int rl_message (const char *, ...);
- #endif
-
- extern int rl_show_char (int);
---- rltypedefs.h.orig 2021-01-22 15:04:18 UTC
-+++ rltypedefs.h
-@@ -32,10 +32,13 @@ extern "C" {
- # define _FUNCTION_DEF
-
- #if defined(__GNUC__) || defined(__clang__)
-+#pragma GCC diagnostic push
-+#pragma GCC diagnostic ignored "-Wstrict-prototypes"
- typedef int Function () __attribute__((deprecated));
- typedef void VFunction () __attribute__((deprecated));
- typedef char *CPFunction () __attribute__((deprecated));
- typedef char **CPPFunction () __attribute__((deprecated));
-+#pragma GCC diagnostic pop
- #else
- typedef int Function ();
- typedef void VFunction ();