[links-list] Re: Links2.1pre5: make exits with Error 1 (Patch)

Cliff Cunnington ccnix at ccnet.xs4all.nl
Sun Nov 3 02:49:32 PST 2002


Hi,

Attached patch fixes the _compile time_ error.

    cd links-2.1pre5
    patch -p0 < links-2.1pre5-codepage.diff



Regards,


Cliff



* Cliff Cunnington <ccnix at ccnet.xs4all.nl> [2002-11-03 10:12:38 +0100]:

(snip)
> gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/local/ssl/include -I/usr/X11R6/include  -g -O2 -c charsets.c
> In file included from charsets.c:19:
> codepage.inc:1995: nondigits in number and not hexadecimal
> codepage.inc:1995: nondigits in number and not hexadecimal
> codepage.inc:1996: nondigits in number and not hexadecimal
> codepage.inc:1998: floating constant exponent has no digits
> codepage.inc:2010: nondigits in number and not hexadecimal
> codepage.inc:2011: nondigits in number and not hexadecimal
> codepage.inc:2018: nondigits in number and not hexadecimal
> make: *** [charsets.o] Error 1
> 
-------------- next part --------------
--- codepage.inc.orig	Sun Nov  3 11:27:45 2002
+++ codepage.inc	Sun Nov  3 11:34:29 2002
@@ -1992,30 +1992,30 @@
 unsigned char *aliases_cp1251 [] = {"windows-1251", "1251", "cp1251", NULL };
 
 struct table_entry table_cp1252 [] = {
-	{ 0x80, 20AC },
-	{ 0x82, 201A },
+	{ 0x80, 0x20AC },
+	{ 0x82, 0x201A },
 	{ 0x83, 0x0192 },
-	{ 0x84, 201E },
-	{ 0x85, 2026 },
-	{ 0x86, 2020 },
-	{ 0x87, 2021 },
+	{ 0x84, 0x201E },
+	{ 0x85, 0x2026 },
+	{ 0x86, 0x2020 },
+	{ 0x87, 0x2021 },
 	{ 0x88, 0x02C6 },
-	{ 0x89, 2030 },
+	{ 0x89, 0x2030 },
 	{ 0x8A, 0x0160 },
-	{ 0x8B, 2039 },
+	{ 0x8B, 0x2039 },
 	{ 0x8C, 0x0152 },
 	{ 0x8E, 0x017D },
-	{ 0x91, 2018 },
-	{ 0x92, 2019 },
-	{ 0x93, 201C },
-	{ 0x94, 201D },
-	{ 0x95, 2022 },
-	{ 0x96, 2013 },
-	{ 0x97, 2014 },
+	{ 0x91, 0x2018 },
+	{ 0x92, 0x2019 },
+	{ 0x93, 0x201C },
+	{ 0x94, 0x201D },
+	{ 0x95, 0x2022 },
+	{ 0x96, 0x2013 },
+	{ 0x97, 0x2014 },
 	{ 0x98, 0x02DC },
-	{ 0x99, 2122 },
+	{ 0x99, 0x2122 },
 	{ 0x9A, 0x0161 },
-	{ 0x9B, 203A },
+	{ 0x9B, 0x203A },
 	{ 0x9C, 0x0153 },
 	{ 0x9E, 0x017E },
 	{ 0x9F, 0x0178 },


More information about the links-list mailing list