r1752 - crux-2.2/ports/opt/clex
Author: jue Date: 2006-08-22 15:17:44 +0200 (Tue, 22 Aug 2006) New Revision: 1752 Removed: crux-2.2/ports/opt/clex/clex-3.14-cd.patch Modified: crux-2.2/ports/opt/clex/.md5sum crux-2.2/ports/opt/clex/Pkgfile crux-2.2/ports/opt/clex/clex-bs.patch Log: clex: update to 3.15 Modified: crux-2.2/ports/opt/clex/.md5sum =================================================================== --- crux-2.2/ports/opt/clex/.md5sum 2006-08-22 09:17:03 UTC (rev 1751) +++ crux-2.2/ports/opt/clex/.md5sum 2006-08-22 13:17:44 UTC (rev 1752) @@ -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 Modified: crux-2.2/ports/opt/clex/Pkgfile =================================================================== --- crux-2.2/ports/opt/clex/Pkgfile 2006-08-22 09:17:03 UTC (rev 1751) +++ crux-2.2/ports/opt/clex/Pkgfile 2006-08-22 13:17:44 UTC (rev 1752) @@ -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 Deleted: crux-2.2/ports/opt/clex/clex-3.14-cd.patch =================================================================== --- crux-2.2/ports/opt/clex/clex-3.14-cd.patch 2006-08-22 09:17:03 UTC (rev 1751) +++ crux-2.2/ports/opt/clex/clex-3.14-cd.patch 2006-08-22 13:17:44 UTC (rev 1752) @@ -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 == '\\') Modified: crux-2.2/ports/opt/clex/clex-bs.patch =================================================================== --- crux-2.2/ports/opt/clex/clex-bs.patch 2006-08-22 09:17:03 UTC (rev 1751) +++ crux-2.2/ports/opt/clex/clex-bs.patch 2006-08-22 13:17:44 UTC (rev 1752) @@ -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');
participants (1)
-
crux@crux.nu