clex: update to 3.15
This commit is contained in:
parent
c84cbca9ed
commit
0c812c8ac8
@ -1,3 +1,2 @@
|
||||
6a983b27613150bc4b6e6eb08956e93c clex-3.14-cd.patch
|
||||
8ed86b6e50266a3b2c7419e369e3ec03 clex-3.14.tar.gz
|
||||
5a662a9f7aae4e626b294d15d139b9f8 clex-bs.patch
|
||||
3de41cef34d45a0496672263f28f55f7 clex-3.15.tar.gz
|
||||
ee270c60bc5e8b0afc81340528c7d32f clex-bs.patch
|
||||
|
@ -4,14 +4,13 @@
|
||||
# Depends on: ncurses
|
||||
|
||||
name=clex
|
||||
version=3.14
|
||||
release=2
|
||||
version=3.15
|
||||
release=1
|
||||
source=(http://www.clex.sk/download/$name-$version.tar.gz \
|
||||
$name-$version-cd.patch $name-bs.patch)
|
||||
$name-bs.patch)
|
||||
|
||||
build () {
|
||||
cd $name-$version
|
||||
patch -p0 < $SRC/$name-$version-cd.patch
|
||||
patch -p1 < $SRC/$name-bs.patch
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
|
@ -1,19 +0,0 @@
|
||||
*** src314/exec.c 2005-11-01 21:10:47.000000000 +0100
|
||||
--- src/exec.c 2005-11-12 15:52:15.000000000 +0100
|
||||
***************
|
||||
*** 388,394 ****
|
||||
|
||||
tilde = *str == '~';
|
||||
quote = needs_dq = 0;
|
||||
! for (real_len = i = 0; (ch = str[i]); i++) {
|
||||
if (quote)
|
||||
quote = 0;
|
||||
else if (ch == '\\')
|
||||
--- 388,394 ----
|
||||
|
||||
tilde = *str == '~';
|
||||
quote = needs_dq = 0;
|
||||
! for (real_len = 0, i = tilde /* 0 or 1 */; (ch = str[i]); i++) {
|
||||
if (quote)
|
||||
quote = 0;
|
||||
else if (ch == '\\')
|
@ -1,12 +1,12 @@
|
||||
diff -Nru clex-3.14.orig/src/inout.c clex-3.14/src/inout.c
|
||||
--- clex-3.14.orig/src/inout.c 2005-11-04 07:50:28.000000000 +0100
|
||||
+++ clex-3.14/src/inout.c 2005-11-04 07:50:39.000000000 +0100
|
||||
@@ -285,7 +285,7 @@
|
||||
diff -Nru clex-3.15_test1.orig/src/inout.c clex-3.15_test1/src/inout.c
|
||||
--- clex-3.15_test1.orig/src/inout.c 2006-05-10 20:54:10.000000000 +0200
|
||||
+++ clex-3.15_test1/src/inout.c 2006-05-10 20:55:42.000000000 +0200
|
||||
@@ -290,7 +290,7 @@
|
||||
if (key == KEY_SUSPEND)
|
||||
key = CH_CTRL('Z');
|
||||
return CH_CTRL('Z');
|
||||
#endif
|
||||
- if (key == KEY_BACKSPACE)
|
||||
+ if (key == KEY_BACKSPACE || key == 127)
|
||||
key = CH_CTRL('H');
|
||||
return key;
|
||||
}
|
||||
return CH_CTRL('H');
|
||||
if (key == KEY_ENTER)
|
||||
return CH_CTRL('M');
|
||||
|
Loading…
x
Reference in New Issue
Block a user