[SCM] Image Reduction and Analysis Facility branch, debian, updated. 9696ee148ce69a192247a1bc6c1c51ae8cdcde44
Ole Streicher
debian at liska.ath.cx
Fri Jun 7 20:02:10 UTC 2013
The following commit has been merged in the debian branch:
commit 07dd9be99b9a7689e204a07570e25a298d76909c
Author: Ole Streicher <debian at liska.ath.cx>
Date: Fri Jun 7 19:12:50 2013 +0200
Better solution for vocl/readline: insert the missing declaration
diff --git a/debian/patches/shared-readline.patch b/debian/patches/shared-readline.patch
index 3a884a9..69632d1 100644
--- a/debian/patches/shared-readline.patch
+++ b/debian/patches/shared-readline.patch
@@ -109,3 +109,44 @@
+--- a/pkg/vocl/samp.c
++++ b/pkg/vocl/samp.c
+@@ -20,7 +20,7 @@
+ #define import_xwhen
+ #include <iraf.h>
+
+-#include "readline.h" /* to install rl_event_hook */
++extern int (*rl_event_hook)(void);
+ #include "config.h" /* CL declarations */
+ #include "clmodes.h"
+ #include "operand.h"
+--- a/pkg/vocl/sampCmd.c
++++ b/pkg/vocl/sampCmd.c
+@@ -18,7 +18,6 @@
+ #define import_stdio
+ #include <iraf.h>
+
+-#include "readline.h" /* to install rl_event_hook */
+ #include "config.h" /* CL declarations */
+ #include "operand.h"
+ #include "task.h"
+--- a/pkg/vocl/sampFuncs.c
++++ b/pkg/vocl/sampFuncs.c
+@@ -20,7 +20,6 @@
+ #define import_xwhen
+ #include <iraf.h>
+
+-#include "readline.h" /* to install rl_event_hook */
+ #include "config.h" /* CL declarations */
+ #include "clmodes.h"
+ #include "operand.h"
+--- a/pkg/vocl/sampHandlers.c
++++ b/pkg/vocl/sampHandlers.c
+@@ -18,7 +18,6 @@
+ #define import_xwhen
+ #include <iraf.h>
+
+-#include "readline.h" /* to install rl_event_hook */
+ #include "config.h" /* CL declarations */
+ #include "clmodes.h"
+ #include "operand.h"
--
Image Reduction and Analysis Facility
More information about the debian-science-commits
mailing list