[eso-midas] 01/01: Use newer readline API

Ole Streicher olebole-guest at moszumanska.debian.org
Sat Apr 26 11:17:59 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 1d062b311543a318117472dbb1008881016bfd38
Author: Ole Streicher <debian at liska.ath.cx>
Date:   Sat Apr 26 13:17:52 2014 +0200

    Use newer readline API
---
 debian/patches/system_readline.patch | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/debian/patches/system_readline.patch b/debian/patches/system_readline.patch
index a11c059..359ff6d 100644
--- a/debian/patches/system_readline.patch
+++ b/debian/patches/system_readline.patch
@@ -41,3 +41,33 @@ Description: Use the system provided readline instead of the copy
    else
      exit 1
    fi
+--- a/monit/prepa2.c
++++ b/monit/prepa2.c
+@@ -90,6 +90,9 @@
+ #include <osxdef.h>		/* MIDAS osx definitions */
+ #include <midback.h>		/* Context extructure */
+ 
++typedef int Function ();
++typedef char **CPPFunction ();
++
+ extern int  is_a_tty;		/* Is this a terminal, (yes=1) set in prepa.c */
+ 
+ void using_history();
+@@ -238,7 +241,7 @@
+   if (!xhelp_pid) {
+     if ( (fd = fopen(channame[1],"r")) == (FILE *)NULL) {
+       (void) printf("\n\rTry first: CREATE/GUI HELP \n\r");
+-      rl_refresh_line();
++      rl_refresh_line(0,0);
+       return 0;
+       }
+     fscanf(fd,(const char *) "%d\n",&xhelp_pid);
+@@ -247,7 +250,7 @@
+       xhelp_pid = 0;
+       unlink(channame[1]);
+       (void) printf("\n\rTry first: CREATE/GUI HELP \n\r");
+-      rl_refresh_line();
++      rl_refresh_line(0,0);
+       return 0;
+       }
+     }

-- 
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