[Parted-maintainers] Bug#741758: Patch to make gnu-fdisk build again

Sami Liedes sami.liedes at iki.fi
Sat Apr 12 21:28:58 UTC 2014


tags 741758 + patch
thanks

Here's a patch to make gnu-fdisk build again against recent readline.

	Sami


------------------------------------------------------------
--- gnu-fdisk-1.2.5.orig/src/ui.c
+++ gnu-fdisk-1.2.5/src/ui.c
@@ -1465,7 +1465,7 @@ fdisk_init_ui ()
 
 #if HAVE_LIBREADLINE
   rl_initialize ();
-	rl_attempted_completion_function = (CPPFunction*) fdisk_complete_function;
+  rl_attempted_completion_function = (rl_completion_func_t *) fdisk_complete_function;
 #endif /* HAVE_LIBREADLINE */
 
   readline_state.in_readline = 0; 

------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/parted-maintainers/attachments/20140413/0873e836/attachment.sig>


More information about the Parted-maintainers mailing list