tags 741779 + patch
tags 741779 + pending
thanks

Dear maintainer,

I've prepared an NMU for pal (versioned as 0.4.3-8.1) and
uploaded it to DELAYED/5. Please feel free to tell me if I
should delay it longer.

Regards.

-- 
Confucius say: He who play in root, eventually kill tree.
Saludos /\/\ /\ >< `/
diff -u pal-0.4.3/debian/changelog pal-0.4.3/debian/changelog
--- pal-0.4.3/debian/changelog
+++ pal-0.4.3/debian/changelog
@@ -1,3 +1,10 @@
+pal (0.4.3-8.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * New patch: 53_debian_rl_hook.patch (Closes: #741779)
+
+ -- Maximiliano Curia <m...@debian.org>  Fri, 25 Apr 2014 20:15:32 +0200
+
 pal (0.4.3-8) unstable; urgency=low
 
   * Include the headers from ncursesw instead of ncurses.  Since both
diff -u pal-0.4.3/debian/patches/series pal-0.4.3/debian/patches/series
--- pal-0.4.3/debian/patches/series
+++ pal-0.4.3/debian/patches/series
@@ -10,0 +11 @@
+53_debian_rl_hook.patch
only in patch2:
unchanged:
--- pal-0.4.3.orig/debian/patches/53_debian_rl_hook.patch
+++ pal-0.4.3/debian/patches/53_debian_rl_hook.patch
@@ -0,0 +1,47 @@
+Description: FTBFS fix, replace Function with int (*)(void)
+Author: Maximiliano Curia <m...@debian.org>
+Bug: http://bugs.debian.org/741779
+Forwarded: no
+Last-Update: 2014-04-25
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: pal/src/manage.c
+===================================================================
+--- pal.orig/src/manage.c	2014-04-25 19:56:03.242689939 +0200
++++ pal/src/manage.c	2014-04-25 20:03:50.235382801 +0200
+@@ -403,7 +403,7 @@
+     rl_initialize();     /* Initialise readline so we can fiddle stuff */
+     rl_already_prompted = 1;
+     rl_redisplay_function = pal_rl_ncurses_hack;
+-    rl_pre_input_hook = (Function*) pal_rl_ncurses_hack;
++    rl_pre_input_hook = pal_rl_ncurses_ihack;
+ 
+ 
+     /* initialize curses */
+Index: pal/src/rl.c
+===================================================================
+--- pal.orig/src/rl.c	2014-04-25 20:02:59.173999681 +0200
++++ pal/src/rl.c	2014-04-25 20:03:17.606499242 +0200
+@@ -209,6 +209,12 @@
+     refresh();
+ }
+ 
++int pal_rl_ncurses_ihack(void)
++{
++    pal_rl_ncurses_hack;
++    return 0;
++}
++
+ gboolean pal_rl_get_y_n(const char* prompt)
+ {
+     gchar *s = NULL;
+Index: pal/src/rl.h
+===================================================================
+--- pal.orig/src/rl.h	2014-04-25 20:02:51.901802596 +0200
++++ pal/src/rl.h	2014-04-25 20:03:12.590363056 +0200
+@@ -41,4 +41,5 @@
+ void pal_rl_completions_output(char **matches, int num_matches, int max_length );
+ PalEvent* pal_rl_get_event(GDate** d, gboolean allow_global);
+ void pal_rl_ncurses_hack(void);
++int pal_rl_ncurses_ihack(void);
+ #endif

Attachment: signature.asc
Description: Digital signature

Reply via email to