Aleksander Piotrowski wrote:
Deanna Phillips <[EMAIL PROTECTED]> wrote:
Here's a little something I've been using for years: a command
line dictionary client that connects to a variety of public
dictionary databases on the net using the RFC 2229 DICT
client/server protocol. It's more for definitions than for
spelling.
This bit of a port makes the client by default. The -server
subpackage is available but would be mostly useless without also
creating ports of the various databases.
I can do that, if there's any interest.
Works for me on i386, but I'm somewhat clueless, so please test
or just look at it and advise.
I've cleaned up your port a little bit. Get my version from:
http://atlantilde.com/~alek/ports/port-dictd.tar.gz
Could someone please test it on !i386?
Thanks,
Alek
On sparc64 I got a compile errors:
===> Building for dictd-client-1.9.15
cc -c -Ilibmaa -DHAVE_CONFIG_H -I. -O2 -pipe -DUSE_DICT_ORG -DUSE_PLUGIN -DDICT_PLUGIN_PATH=\"/usr/local/libexec/\" -DDICT_DICTIONARY_PATH=\"/usr/local/share/\"
-DDICT_VERSION=\"1.9.15\" -DDICT_CONFIG_PATH=\"/etc/\" dict.c -o dict.o
In file included from dictP.h:294,
from dict.h:27,
from dict.c:24:
decl.h:34: error: conflicting types for `bcopy'
/usr/include/string.h:96: error: previous declaration of `bcopy'
decl.h:46: error: conflicting types for `srandom'
/usr/include/stdlib.h:175: error: previous declaration of `srandom'
decl.h:47: warning: conflicting types for built-in function `memset'
decl.h:56: error: conflicting types for `fputc'
/usr/include/stdio.h:222: error: previous declaration of `fputc'
decl.h:58: error: conflicting types for `fread'
/usr/include/stdio.h:225: error: previous declaration of `fread'
decl.h:61: error: conflicting types for `fwrite'
/usr/include/stdio.h:234: error: previous declaration of `fwrite'
decl.h:69: error: conflicting types for `vfprintf'
/usr/include/stdio.h:260: error: previous declaration of `vfprintf'
decl.h:70: warning: conflicting types for built-in function `vsprintf'
decl.h:73: error: conflicting types for `fclose'
/usr/include/stdio.h:212: error: previous declaration of `fclose'
decl.h:76: error: conflicting types for `gethostname'
/usr/include/unistd.h:195: error: previous declaration of `gethostname'
decl.h:78: error: conflicting types for `accept'
/usr/include/sys/socket.h:444: error: previous declaration of `accept'
decl.h:80: error: conflicting types for `bind'
/usr/include/sys/socket.h:445: error: previous declaration of `bind'
decl.h:82: error: conflicting types for `wait3'
/usr/include/sys/wait.h:159: error: previous declaration of `wait3'
decl.h:85: error: conflicting types for `mmap'
/usr/include/sys/mman.h:113: error: previous declaration of `mmap'
decl.h:86: error: conflicting types for `munmap'
/usr/include/sys/mman.h:115: error: previous declaration of `munmap'
gmake: *** [dict.o] Error 1
*** Error code 2