Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] lvm2: add readline bump fix patch
@ 2014-03-01 19:21 Gustavo Zacarias
  2014-03-01 19:21 ` [Buildroot] [PATCH 2/2] parted: " Gustavo Zacarias
  2014-03-01 19:42 ` [Buildroot] [PATCH 1/2] lvm2: " Thomas Petazzoni
  0 siblings, 2 replies; 5+ messages in thread
From: Gustavo Zacarias @ 2014-03-01 19:21 UTC (permalink / raw)
  To: buildroot

Fixes:
http://autobuild.buildroot.net/results/d6f/d6f4d388c62ec2137560aabbff46c4a30c584e18/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/lvm2/lvm2-001-readline-deprecated.patch | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 package/lvm2/lvm2-001-readline-deprecated.patch

diff --git a/package/lvm2/lvm2-001-readline-deprecated.patch b/package/lvm2/lvm2-001-readline-deprecated.patch
new file mode 100644
index 0000000..15dc626
--- /dev/null
+++ b/package/lvm2/lvm2-001-readline-deprecated.patch
@@ -0,0 +1,19 @@
+The CPPFunction typedef (among others) have been deprecated in favour of
+specific prototyped typedefs since readline 4.2.
+They've been working since because compatibility typedefs have been
+until they were removed in readline 6.3.
+
+Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
+
+diff -Nura LVM2.2.02.103.orig/tools/lvm.c LVM2.2.02.103/tools/lvm.c
+--- LVM2.2.02.103.orig/tools/lvm.c	2014-03-01 16:10:57.902422044 -0300
++++ LVM2.2.02.103/tools/lvm.c	2014-03-01 16:11:34.791598230 -0300
+@@ -185,7 +185,7 @@
+ 	char *input = NULL, *args[MAX_ARGS], **argv;
+ 
+ 	rl_readline_name = "lvm";
+-	rl_attempted_completion_function = (CPPFunction *) _completion;
++	rl_attempted_completion_function = (rl_completion_func_t *) _completion;
+ 
+ 	_read_history(cmd);
+ 
-- 
1.8.3.2

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-03-01 19:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-01 19:21 [Buildroot] [PATCH 1/2] lvm2: add readline bump fix patch Gustavo Zacarias
2014-03-01 19:21 ` [Buildroot] [PATCH 2/2] parted: " Gustavo Zacarias
2014-03-01 19:42 ` [Buildroot] [PATCH 1/2] lvm2: " Thomas Petazzoni
2014-03-01 19:46   ` Gustavo Zacarias
2014-03-01 19:57     ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox