96ca9aad08
+ New script dict_lookup for translating words and phrases + dictfmt: Internal buffer size was increased from 10240 to 102400 bytes + dictfmt: superfluous spaces are removed not only from the beginng and the end of a headword but also inside a multiword headwords. + dictfmt spawns sort command to sort the index. When there are several entries for the same headword, they get sorted BY OFFSET AND SIZE (in addition to headwords). As a result, the order of identical headwords is messed up. To fix these problem -k1,3 option is replaced with -k1,1. + FIX: When search is handled by dict_search_bmh() function, the first character from the first entry in the index file is missing. Usually this is some of 00-database-* entries. + Other minor fixes and cleanups - update libmaa to 1.3.1: + Build failure with gcc-4.6 was fixed + Only maa's symbols are exported from libmaa shared library ^^ INCLUDES ABI INCOMPATIBILITIES + For better conformance with POSIX/SUS xmalloc, xrealloc and xcalloc functions take 'size_t' args, not 'unsigned int'. - small init script beaufify - split out devel package OBS-URL: https://build.opensuse.org/package/show/Education/dictd?expand=0&rev=2
35 lines
823 B
Diff
35 lines
823 B
Diff
Index: Makefile.in
|
|
===================================================================
|
|
--- Makefile.in.orig
|
|
+++ Makefile.in
|
|
@@ -33,8 +33,9 @@ VPATH= @srcdir@:.
|
|
prefix= @prefix@
|
|
subdirs= @allsubdirs@ # doc -- use rfc2229 instead
|
|
exec_prefix= @exec_prefix@
|
|
-man1_prefix= @mandir@/man1
|
|
-man8_prefix= @mandir@/man8
|
|
+mandir= @mandir@
|
|
+man1_prefix= $(mandir)/man1
|
|
+man8_prefix= $(mandir)/man8
|
|
bindir= @bindir@
|
|
libdir= @libdir@
|
|
libexecdir= @libexecdir@
|
|
Index: md5.h
|
|
===================================================================
|
|
--- md5.h.orig
|
|
+++ md5.h
|
|
@@ -1,11 +1,8 @@
|
|
#ifndef MD5_H
|
|
#define MD5_H
|
|
|
|
-#ifdef __alpha
|
|
-typedef unsigned int uint32;
|
|
-#else
|
|
-typedef unsigned long uint32;
|
|
-#endif
|
|
+#include <stdint.h>
|
|
+typedef uint32_t uint32;
|
|
|
|
struct MD5Context {
|
|
uint32 buf[4];
|