summaryrefslogtreecommitdiffstats
path: root/debian/patches/rl-header.diff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 12:43:23 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 12:43:23 +0000
commitd1b4ac2b41011983e25616d1cb5c8b86339800a5 (patch)
tree12fa3c60c9d35479057b187338f24b8149064b03 /debian/patches/rl-header.diff
parentAdding upstream version 8.1. (diff)
downloadreadline-debian/8.1-1.tar.xz
readline-debian/8.1-1.zip
Adding debian version 8.1-1.debian/8.1-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/rl-header.diff')
-rw-r--r--debian/patches/rl-header.diff24
1 files changed, 24 insertions, 0 deletions
diff --git a/debian/patches/rl-header.diff b/debian/patches/rl-header.diff
new file mode 100644
index 0000000..7695081
--- /dev/null
+++ b/debian/patches/rl-header.diff
@@ -0,0 +1,24 @@
+rl-header.dpatch by <doko@debian.org>
+
+Include stdio.h in readline.h and history.h
+
+--- a/history.h
++++ b/history.h
+@@ -32,6 +32,7 @@ extern "C" {
+ # include "rlstdc.h"
+ # include "rltypedefs.h"
+ #else
++# include <stdio.h>
+ # include <readline/rlstdc.h>
+ # include <readline/rltypedefs.h>
+ #endif
+--- a/readline.h
++++ b/readline.h
+@@ -32,6 +32,7 @@ extern "C" {
+ # include "keymaps.h"
+ # include "tilde.h"
+ #else
++# include <stdio.h>
+ # include <readline/rlstdc.h>
+ # include <readline/rltypedefs.h>
+ # include <readline/keymaps.h>