diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2011-06-22 00:34:23 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2011-06-22 15:52:07 +0200 |
commit | 57772e3795c16ace60e619d8720f73c972831bbf (patch) | |
tree | 3a7382571ec401016dca9f3bbbd511ae131c76ca /patches/libcaca-0.99.beta16 | |
parent | bf21527cee22270641f29cd77fa9734970fd1346 (diff) | |
download | ptxdist-57772e3795c16ace60e619d8720f73c972831bbf.tar.gz ptxdist-57772e3795c16ace60e619d8720f73c972831bbf.tar.xz |
libcaca: fix building with ncurses-5.9
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'patches/libcaca-0.99.beta16')
3 files changed, 29 insertions, 4 deletions
diff --git a/patches/libcaca-0.99.beta16/0001-caca-config-add-SYSROOT-support.patch b/patches/libcaca-0.99.beta16/0001-caca-config-add-SYSROOT-support.patch index 5a58f78b3..6ae00e3e9 100644 --- a/patches/libcaca-0.99.beta16/0001-caca-config-add-SYSROOT-support.patch +++ b/patches/libcaca-0.99.beta16/0001-caca-config-add-SYSROOT-support.patch @@ -1,4 +1,3 @@ -From ab8c8298aa0c2403d12fa47054db826bb6242a21 Mon Sep 17 00:00:00 2001 From: Marc Kleine-Budde <mkl@pengutronix.de> Date: Sat, 9 Jan 2010 17:42:58 +0100 Subject: [PATCH] caca-config: add SYSROOT support @@ -34,6 +33,3 @@ index c768b99..56274e9 100644 + echo -L${SYSROOT}@libdir@ $libs fi --- -1.6.6 - diff --git a/patches/libcaca-0.99.beta16/0002-set-the-escape-delay-with-set_escdelay.patch b/patches/libcaca-0.99.beta16/0002-set-the-escape-delay-with-set_escdelay.patch new file mode 100644 index 000000000..114d82721 --- /dev/null +++ b/patches/libcaca-0.99.beta16/0002-set-the-escape-delay-with-set_escdelay.patch @@ -0,0 +1,26 @@ +From: Michael Olbrich <m.olbrich@pengutronix.de> +Date: Wed, 22 Jun 2011 00:31:47 +0200 +Subject: [PATCH] set the escape delay with set_escdelay + +This fixes building with ncurses-5.9: +driver/ncurses.c: In function 'ncurses_init_graphics': +driver/ncurses.c:267:5: error: lvalue required as left operand of assignment + +Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> +--- + caca/driver/ncurses.c | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/caca/driver/ncurses.c b/caca/driver/ncurses.c +index 274cdd8..4fe950c 100644 +--- a/caca/driver/ncurses.c ++++ b/caca/driver/ncurses.c +@@ -264,7 +264,7 @@ static int ncurses_init_graphics(caca_display_t *dp) + mouseinterval(-1); /* No click emulation */ + + /* Set the escape delay to a ridiculously low value */ +- ESCDELAY = 10; ++ set_escdelay(10); + + /* Activate colour */ + start_color(); diff --git a/patches/libcaca-0.99.beta16/series b/patches/libcaca-0.99.beta16/series index 83bba8a64..212faa1a1 100644 --- a/patches/libcaca-0.99.beta16/series +++ b/patches/libcaca-0.99.beta16/series @@ -1 +1,4 @@ +# generated by git-ptx-patches 0001-caca-config-add-SYSROOT-support.patch +0002-set-the-escape-delay-with-set_escdelay.patch +# d6fec66d66041a42b99192404234b9e8 - git-ptx-patches magic |