SHA256
1
0
forked from pool/alevt
alevt/alevt-happy-abuild.diff

34 lines
1.0 KiB
Diff

--- alevt-1.6.1/edline.c.orig 1999-10-08 01:36:41.000000000 +0200
+++ alevt-1.6.1/edline.c 2005-07-07 20:33:16.044929859 +0200
@@ -87,7 +87,7 @@
while (n-- && el->len < (int)sizeof(el->buf)-1)
{
- if (*p >= 0x20 && *p <= 0x7e || *p >= 0xa0 && *p <= 0xff)
+ if ((*p >= 0x20 && *p <= 0x7e) || *p >= 0xa0) // && *p <= 0xff)
el->buf[el->len++] = *p;
p++;
}
--- alevt-1.6.1/misc.h.orig 1999-07-14 21:54:30.000000000 +0200
+++ alevt-1.6.1/misc.h 2005-07-07 20:30:42.871745007 +0200
@@ -1,6 +1,8 @@
#ifndef MISC_H
#define MISC_H
+#include <string.h> /* strcmp */
+
//////////////////////////
// generic macros/typedefs
//////////////////////////
--- alevt-1.6.1/Makefile.orig 2005-07-07 20:24:30.000000000 +0200
+++ alevt-1.6.1/Makefile 2005-07-07 20:32:27.120493633 +0200
@@ -40,7 +40,7 @@
./bdf2xbm font2 <$(FONT)-latin-2.bdf >font2.xbm
bdf2xbm: bdf2xbm.c
- $(CC) -O -s bdf2xbm.c -o bdf2xbm
+ $(CC) $(OPT) bdf2xbm.c -o bdf2xbm
alevt.1x: alevt.1x.in
sed s/VERSION/$(VER)/g <alevt.1x.in >alevt.1x