head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.44 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.4.0.42 pkgsrc-2012Q4-base:1.4 pkgsrc-2011Q4:1.4.0.40 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q2:1.4.0.38 pkgsrc-2011Q2-base:1.4 pkgsrc-2009Q4:1.4.0.36 pkgsrc-2009Q4-base:1.4 pkgsrc-2008Q4:1.4.0.34 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.32 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.30 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.28 pkgsrc-2008Q2-base:1.4 pkgsrc-2008Q1:1.4.0.26 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.24 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.22 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.20 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.18 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.16 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.14 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.12 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.10 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.8 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.4.0.6 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.4.0.4 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.4.0.2 pkgsrc-2005Q1-base:1.4 pkgsrc-2004Q4:1.3.0.6 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.3.0.4 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.3.0.2 pkgsrc-2004Q2-base:1.3 pkgsrc-2004Q1:1.2.0.4 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.2.0.2 pkgsrc-2003Q4-base:1.2; locks; strict; comment @# @; 1.4 date 2005.02.22.16.10.41; author adam; state dead; branches; next 1.3; 1.3 date 2004.06.01.08.55.34; author shannonjr; state Exp; branches; next 1.2; 1.2 date 2002.12.27.02.40.20; author uebayasi; state dead; branches; next 1.1; 1.1 date 2002.12.10.08.26.44; author uebayasi; state Exp; branches; next ; desc @@ 1.4 log @Changes 1.9.15: Format of .index files for 8-bit databases (not-ASCII and non-UTF8) has been changed. This makes `dictd' backward incompatible with 8-bit dagabases built by earlier versions of `dictfmt', i.e. `dictd-1.9.15' and later doesn't work with 8-bit databases generated by dictfmt-1.9.14 and earlier. See ChangeLog for details. If you use 8-bit database, rebuild them using new `dictfmt' like this dictunformat db.index < db.dict | dictfmt -t --locale db-new dictd: - fixed: Function `dict_search_bmh' works incorrectly in utf-8 mode on non-GLIBC systems. As a result `suffix', `substring' and `word' strategies may work incorrectly with UTF-8 databases on such platforms (FreeBSD). - fixed: In dictd-1.9.8 support of CYGWIN was declared, but it was broken in later versions. dictd-1.9.15 can be succesfully built with CYGWIN. - fixed: `dictd' dies when client tries to obtain information about virtual database (SHOW INFO ). - Every database specified in configuration file may have its own "default" search strategy (i.e. `.' strategy). For this purpose additional keyword `default_strategy' is implemented. See example2.conf sample file and dictd.8 for documentation. - When `-d' is applied, debugging information is printed to syslog (or log file or stderr). NOTE: `-dinit' option may show you a reason why dictd doesn't start. If you are in trouble, apply it first (and -L or -s of course)! - dictd works correctly even on platforms which do not support `iswalnum', `iswspace' and `towlower' functions. Dictd with utf-8 databases was slightly tested on FreeBSD4.{9,10} -fixed: logging is directed when --inetd is applied - `AC_FUNC_MMAP' is replaced for `AC_CHECK_FUNC(mmap)' in configure.in As a result `mmap/munmap' functions will be used on CYGWIN and INTERIX if they are present. If you dislike it, use --without-mmap option. dictdplugin_dbi plugin: - new options: `all_char' and `utf8'. `all_char' option is set to FALSE by default. `utf8' option is set to TRUE by default. Both are overrided by `00-database-allchars' and `00-database-utf8' special headwords. dictd/dict/... have been ported to Interix (MS SFU-3.0 and SFU-3.5). It works fine as Interix daemon with ASCII databases (tested on Interix 3.0 and 3.5) NOTE: GNU make is needed for building `dictd' dictfmt: - new option --default-strategy. See dictfmt(1). @ text @$NetBSD: patch-am,v 1.3 2004/06/01 08:55:34 shannonjr Exp $ --- libmaa/parse.c.orig 2002-08-02 13:43:15.000000000 -0600 +++ libmaa/parse.c @@@@ -75,7 +75,7 @@@@ void prs_file( const char *filename ) if (!cpp) { if ((cpp = getenv( "KHEPERA_CPP" ))) { - PRINTF(MAA_PARSE,(__FUNCTION__ ": Using KHEPERA_CPP from %s\n",cpp)); + PRINTF(MAA_PARSE,(__FUNCTION__, ": Using KHEPERA_CPP from %s\n",cpp)); } /* Always look for gcc's cpp first, since @@@@ -86,7 +86,7 @@@@ void prs_file( const char *filename ) if (fread( buf, 1, 1023, tmp ) > 0) { if ((t = strchr( buf, '\n' ))) *t = '\0'; - PRINTF(MAA_PARSE,(__FUNCTION__ ": Using GNU cpp from %s\n",buf)); + PRINTF(MAA_PARSE,(__FUNCTION__, ": Using GNU cpp from %s\n",buf)); cpp = str_find( buf ); extra_options = "-nostdinc -nostdinc++"; } @@@@ -103,7 +103,7 @@@@ void prs_file( const char *filename ) for (pt = cpps; **pt; pt++) { if (!access( *pt, X_OK )) { PRINTF(MAA_PARSE, - (__FUNCTION__ ": Using system cpp from %s\n",*pt)); + (__FUNCTION__, ": Using system cpp from %s\n",*pt)); cpp = *pt; break; } @@@@ -123,7 +123,7 @@@@ void prs_file( const char *filename ) sprintf( buffer, "%s -I. %s %s 2>/dev/null", cpp, _prs_cpp_options ? _prs_cpp_options : "", filename ); - PRINTF(MAA_PARSE,(__FUNCTION__ ": %s\n",buffer)); + PRINTF(MAA_PARSE,(__FUNCTION__ ,": %s\n",buffer)); if (!(yyin = popen( buffer, "r" ))) err_fatal_errno( __FUNCTION__, "Cannot open \"%s\" for read\n", filename ); @ 1.3 log @Re: PR 25720 Syntax errors prevent compilation with gcc 3.4.0 The patch-al fixes a problem where a label appeared at end of block by supplying a null statement for the label. The patch-am provides a missing argument list separator (comma) in four places. This closes the PR. @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @* Separate dictionary data from dict-server. A patch problem found by bulk build is solved. * Make dict-client depend on dict-server. Bump PKGREVISIONs. @ text @d1 1 a1 1 $NetBSD: patch-am,v 1.1 2002/12/10 08:26:44 uebayasi Exp $ d3 3 a5 5 --- ../dict-web1913-1.4/dump.h.orig Mon Feb 23 04:31:40 1998 +++ ../dict-web1913-1.4/dump.h @@@@ -139,7 +139,7 @@@@ declarations for standard library calls. We provide them here for situations that we know about. */ d7 34 a40 5 -#if defined(__sparc__) +#if defined(__sparc__) && !defined(__NetBSD__) /* Both SunOS and Solaris */ extern int getrusage( int who, struct rusage * ); extern void bcopy( const void *, void *, int ); @ 1.1 log @Fix a build problem on NetBSD/sparc. Address PR19337 from Sean Williams . @ text @d1 1 a1 1 $NetBSD$ @