* [Buildroot] [PATCH] lcdproc: bump version to 0.5.6
@ 2012-11-06 13:14 spdawson at gmail.com
2012-11-11 20:08 ` Thomas Petazzoni
0 siblings, 1 reply; 3+ messages in thread
From: spdawson at gmail.com @ 2012-11-06 13:14 UTC (permalink / raw)
To: buildroot
From: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Simon Dawson <spdawson@gmail.com>
---
| 19 -------------------
package/lcdproc/lcdproc.mk | 2 +-
2 files changed, 1 insertion(+), 20 deletions(-)
delete mode 100644 package/lcdproc/lcdproc-0.5.5-fix-menu-segfault.patch
diff --git a/package/lcdproc/lcdproc-0.5.5-fix-menu-segfault.patch b/package/lcdproc/lcdproc-0.5.5-fix-menu-segfault.patch
deleted file mode 100644
index f0ebe2d..0000000
--- a/package/lcdproc/lcdproc-0.5.5-fix-menu-segfault.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-Trying to add a menu item using menu_add_item causes a segmentation fault
-in the LCDd server. This is caused by a read beyond the end of an array.
-
-This patch adds a safety check on the size of the argument array.
-
-Signed-off-by: Simon Dawson <spdawson@gmail.com>
-
-diff -Nurp a/server/commands/menu_commands.c b/server/commands/menu_commands.c
---- a/server/commands/menu_commands.c 2011-08-14 13:29:16.000000000 +0100
-+++ b/server/commands/menu_commands.c 2012-10-04 22:19:07.997409193 +0100
-@@ -198,7 +198,7 @@ menu_add_item_func(Client *c, int argc,
-
- /* call menu_set_item() with a temporarily allocated argv
- * to process the remaining options */
-- if ((argc > 5) || (argv[4][0] == '-')) {
-+ if ((argc > 5) || ((argc == 5) && argv[4][0] == '-')) {
- // menu_add_item <menuid> <newitemid> <type> [<text>]
- // menu_set_item <menuid> <itemid> {<option>}+
- int i, j;
diff --git a/package/lcdproc/lcdproc.mk b/package/lcdproc/lcdproc.mk
index 7914c85..aa204f1 100644
--- a/package/lcdproc/lcdproc.mk
+++ b/package/lcdproc/lcdproc.mk
@@ -3,7 +3,7 @@
# lcdproc
#
#############################################################
-LCDPROC_VERSION = 0.5.5
+LCDPROC_VERSION = 0.5.6
LCDPROC_SOURCE = lcdproc-$(LCDPROC_VERSION).tar.gz
LCDPROC_SITE = http://downloads.sourceforge.net/project/lcdproc/lcdproc/$(LCDPROC_VERSION)
LCDPROC_LICENSE = GPLv2+
--
1.7.10.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] lcdproc: bump version to 0.5.6
2012-11-06 13:14 [Buildroot] [PATCH] lcdproc: bump version to 0.5.6 spdawson at gmail.com
@ 2012-11-11 20:08 ` Thomas Petazzoni
2012-11-11 21:02 ` Simon Dawson
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2012-11-11 20:08 UTC (permalink / raw)
To: buildroot
Hello Simon,
On Tue, 6 Nov 2012 13:14:58 +0000, spdawson at gmail.com wrote:
> From: Simon Dawson <spdawson@gmail.com>
>
> Signed-off-by: Simon Dawson <spdawson@gmail.com>
> ---
> .../lcdproc/lcdproc-0.5.5-fix-menu-segfault.patch | 19 -------------------
> package/lcdproc/lcdproc.mk | 2 +-
> 2 files changed, 1 insertion(+), 20 deletions(-)
> delete mode 100644 package/lcdproc/lcdproc-0.5.5-fix-menu-segfault.patch
There are apparently build issues with lcdproc 0.5.6. Not sure if they
are new or if they were present in older versions. See
http://autobuild.buildroot.org/results/9967bc20a6094e836c4c18ff2cd30edef143bb8e/build-end.log.
Basically, lcdproc uses -I<foo>/host/usr/include -L<foo>/host/usr/lib
to build things for the target.
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] lcdproc: bump version to 0.5.6
2012-11-11 20:08 ` Thomas Petazzoni
@ 2012-11-11 21:02 ` Simon Dawson
0 siblings, 0 replies; 3+ messages in thread
From: Simon Dawson @ 2012-11-11 21:02 UTC (permalink / raw)
To: buildroot
Hi Thomas.
On 11 November 2012 20:08, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> There are apparently build issues with lcdproc 0.5.6. Not sure if they
> are new or if they were present in older versions. See
> http://autobuild.buildroot.org/results/9967bc20a6094e836c4c18ff2cd30edef143bb8e/build-end.log.
> Basically, lcdproc uses -I<foo>/host/usr/include -L<foo>/host/usr/lib
> to build things for the target.
Okay; I'll have a look. (I must have missed this problem because I'm
applying quite a large local patch to lcdproc, which necessitates an
autoreconf.)
Simon.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-11-11 21:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-06 13:14 [Buildroot] [PATCH] lcdproc: bump version to 0.5.6 spdawson at gmail.com
2012-11-11 20:08 ` Thomas Petazzoni
2012-11-11 21:02 ` Simon Dawson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox