head 1.3; access; symbols; locks; strict; comment @# @; 1.3 date 2008.04.11.06.23.28; author rse; state Exp; branches; next 1.2; commitid Ob0E1kUJpyqOKEYs; 1.2 date 2008.01.28.18.12.56; author rse; state Exp; branches; next 1.1; commitid ZmQTM6E6uwrF3dPs; 1.1 date 2007.10.08.07.06.37; author rse; state Exp; branches; next ; commitid TbBHcmoFRtRhYKAs; desc @@ 1.3 log @upgrading package: msort 8.43 -> 8.44 @ text @Index: compdefs.h --- compdefs.h.orig 2007-03-23 04:51:52 +0100 +++ compdefs.h 2008-04-11 08:12:42 +0200 @@@@ -4,9 +4,6 @@@@ #if defined HAVE_LOCALE_H && defined HAVE_SETLOCALE && defined HAVE_WCSXFRM #define LOCALE_SORT_ORDER #endif -#if defined HAVE_LOCALE_H && defined HAVE_SETLOCALE && defined HAVE_LIBINTL_H -#define LOCALE_GETTEXT -#endif #if defined USEUNINUMOK && defined HAVE_UNINUM_NSDEFS_H && defined HAVE_UNINUM_UNINUM_H #define USE_UNINUM Index: configure --- configure.orig 2008-04-10 08:25:46 +0200 +++ configure 2008-04-11 08:12:42 +0200 @@@@ -3051,7 +3051,7 @@@@ echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS -LIBS="-ltre $LIBS" +LIBS="-ltre -lutf8 $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF @@@@ -3114,7 +3114,7 @@@@ #define HAVE_LIBTRE 1 _ACEOF - LIBS="-ltre $LIBS" + LIBS="-ltre -lutf8 $LIBS" else { { echo "$as_me:$LINENO: error: libtre not found. see http://laurikari.net/tre/" >&5 Index: conversions.c --- conversions.c.orig 2008-03-15 02:09:53 +0100 +++ conversions.c 2008-04-11 08:12:42 +0200 @@@@ -22,7 +22,7 @@@@ #ifdef HAVE_STDINT_H #include #endif -#include +#include "utf8/wchar.h" #include #ifdef HAVE_UNINUM_UNICODE_H #include Index: dstr.c --- dstr.c.orig 2008-03-15 02:10:28 +0100 +++ dstr.c 2008-04-11 08:12:42 +0200 @@@@ -22,7 +22,7 @@@@ #ifdef HAVE_STDINT_H #include #endif -#include +#include "utf8/wchar.h" #ifdef HAVE_UNINUM_UNICODE_H #include #else Index: input.c --- input.c.orig 2007-10-05 11:00:44 +0200 +++ input.c 2008-04-11 08:12:42 +0200 @@@@ -25,7 +25,7 @@@@ #ifdef HAVE_STDINT_H #include #endif -#include +#include "utf8/wchar.h" #ifdef LOCALE_GETTEXT #include #define _(x) gettext(x) @@@@ -60,23 +60,23 @@@@ switch (c) { case UTF8_NOTENOUGHBYTES: - fprintf(fp,gettext("Truncated UTF-8 sequence encountered at record %ld, byte %ld.\n"), + fprintf(fp,_("Truncated UTF-8 sequence encountered at record %ld, byte %ld.\n"), RecordNumber, ByteCnt); exit(1); break; case UTF8_BADINCODE: - fprintf(fp,gettext("Invalid UTF-8 code encountered at record %ld, byte %ld.\n"), + fprintf(fp,_("Invalid UTF-8 code encountered at record %ld, byte %ld.\n"), RecordNumber, ByteCnt); ExplicateBadUTF8(fp,rp); exit(1); break; case UTF8_BADOUTCODE: - fprintf(fp,gettext("Encountered invalid Unicode at record %ld, byte %ld.\n"), + fprintf(fp,_("Encountered invalid Unicode at record %ld, byte %ld.\n"), RecordNumber, ByteCnt); exit(1); break; case UTF8_IOERROR: - snprintf(msg,MSGSIZE-1,gettext("Error reading input at record %ld, byte %ld.\n"), + snprintf(msg,MSGSIZE-1,_("Error reading input at record %ld, byte %ld.\n"), RecordNumber,ByteCnt); perror(msg); exit(1); Index: misc.c --- misc.c.orig 2008-04-10 05:15:59 +0200 +++ misc.c 2008-04-11 08:21:42 +0200 @@@@ -17,6 +17,7 @@@@ */ #include "config.h" +#include "utf8/wchar.h" #include "compdefs.h" #include #ifdef HAVE_STDINT_H @@@@ -34,7 +35,6 @@@@ #define _(x) (x) #endif #include -#include #include #ifndef USEUTF8PROC #include @@@@ -43,16 +43,16 @@@@ #include #include "unorm.h" #endif -#include +#include "tre/regex.h" #include "key.h" #ifdef HAVE_UNINUM_UNICODE_H -#include -#include +#include "uninum/nsdefs.h" +#include "uninum/unicode.h" #else #include "unicode.h" #endif #ifdef HAVE_UNINUM_UNINUM_H -#include +#include "uninum/uninum.h" #endif #include "dstr.h" #include "exitcode.h" Index: msort.c --- msort.c.orig 2008-04-10 08:20:48 +0200 +++ msort.c 2008-04-11 08:12:42 +0200 @@@@ -50,7 +50,7 @@@@ #include #include #include -#include +#include "utf8/wchar.h" #include #include #ifndef USEUTF8PROC @@@@ -68,7 +68,7 @@@@ #include #include #endif -#include +#include "tre/regex.h" #ifdef HAVE_LONG_LONG Index: sorts.c --- sorts.c.orig 2008-04-11 01:16:49 +0200 +++ sorts.c 2008-04-11 08:12:42 +0200 @@@@ -25,9 +25,9 @@@@ #endif #include #include -#include +#include "utf8/wchar.h" #include -#include +#include "tre/regex.h" #ifdef HAVE_UNINUM_UNICODE_H #include #else Index: strs.c --- strs.c.orig 2008-04-11 01:17:12 +0200 +++ strs.c 2008-04-11 08:12:42 +0200 @@@@ -25,7 +25,7 @@@@ #include #include #include -#include +#include "utf8/wchar.h" #ifdef HAVE_UNINUM_UNICODE_H #include #else @ 1.2 log @upgrading package: msort 8.42 -> 8.43 @ text @d3 1 a3 1 +++ compdefs.h 2008-01-28 19:11:30 +0100 d15 2 a16 2 --- configure.orig 2008-01-28 05:42:53 +0100 +++ configure 2008-01-28 19:11:30 +0100 d36 3 a38 3 --- conversions.c.orig 2007-10-05 10:59:19 +0200 +++ conversions.c 2008-01-28 19:11:30 +0100 @@@@ -23,7 +23,7 @@@@ d48 3 a50 3 --- dstr.c.orig 2007-10-05 10:59:22 +0200 +++ dstr.c 2008-01-28 19:11:30 +0100 @@@@ -24,7 +24,7 @@@@ d61 1 a61 1 +++ input.c 2008-01-28 19:11:30 +0100 d100 2 a101 2 --- misc.c.orig 2008-01-28 05:25:39 +0100 +++ misc.c 2008-01-28 19:11:47 +0100 d118 1 a118 1 @@@@ -43,15 +43,15 @@@@ a129 1 +#include "uninum/uninum.h" d133 1 d135 2 a138 1 #include "retcodes.h" d140 2 a141 2 --- msort.c.orig 2008-01-28 08:58:44 +0100 +++ msort.c 2008-01-28 19:11:30 +0100 d161 3 a163 3 --- sorts.c.orig 2007-10-05 11:02:36 +0200 +++ sorts.c 2008-01-28 19:11:30 +0100 @@@@ -24,9 +24,9 @@@@ d176 2 a177 2 --- strs.c.orig 2007-10-05 11:02:14 +0200 +++ strs.c 2008-01-28 19:11:30 +0100 @ 1.1 log @new package: msort 8.42 (File Record Sorting) @ text @d3 1 a3 1 +++ compdefs.h 2007-10-08 09:03:21 +0200 d15 2 a16 2 --- configure.orig 2007-10-05 12:10:50 +0200 +++ configure 2007-10-08 09:03:21 +0200 d37 1 a37 1 +++ conversions.c 2007-10-08 09:03:21 +0200 d49 1 a49 1 +++ dstr.c 2007-10-08 09:03:21 +0200 d61 1 a61 1 +++ input.c 2007-10-08 09:04:15 +0200 d100 2 a101 2 --- misc.c.orig 2007-10-05 11:01:30 +0200 +++ misc.c 2007-10-08 09:03:21 +0200 d126 5 a130 3 #include +#include +#include a133 1 -#include d139 2 a140 2 --- msort.c.orig 2007-10-05 12:01:07 +0200 +++ msort.c 2007-10-08 09:03:21 +0200 d161 1 a161 1 +++ sorts.c 2007-10-08 09:03:21 +0200 d176 1 a176 1 +++ strs.c 2007-10-08 09:03:21 +0200 @