[eso-midas] 02/03: Declare completion_matches() function
Ole Streicher
olebole-guest at moszumanska.debian.org
Fri Jun 6 08:08:05 UTC 2014
This is an automated email from the git hooks/post-receive script.
olebole-guest pushed a commit to branch debian
in repository eso-midas.
commit d101b6d38aa021840aecbe47118a95603e1d29c8
Author: Ole Streicher <debian at liska.ath.cx>
Date: Fri Jun 6 09:36:20 2014 +0200
Declare completion_matches() function
---
debian/patches/declare_readline_func.patch | 14 ++++++++++++++
debian/patches/series | 1 +
2 files changed, 15 insertions(+)
diff --git a/debian/patches/declare_readline_func.patch b/debian/patches/declare_readline_func.patch
new file mode 100644
index 0000000..433a1a9
--- /dev/null
+++ b/debian/patches/declare_readline_func.patch
@@ -0,0 +1,14 @@
+Author: Ole Streicher <debian at liska.ath.cx>
+Description: Declare completion_matches() function.
+ On 32 bit systems, this function seems to be undeclared, so the compiler
+ assumes to return an integer. This is fixed here.
+--- a/monit/prepa2.c
++++ b/monit/prepa2.c
+@@ -370,6 +370,7 @@
+ char *text;
+ int start, end;
+ {
++ extern char **completion_matches ();
+ char **matches;
+ char *command_generator();
+ char *filename_completion_function();
diff --git a/debian/patches/series b/debian/patches/series
index bfb2735..420bb65 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -13,3 +13,4 @@ fix_manpages.patch
fix_missing_haddr.patch
fix_POSIX_VDISABLE.patch
fix_swapint.patch
+declare_readline_func.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-astro/packages/eso-midas.git
More information about the debian-science-commits
mailing list