dictd/dictd-1.11.1.patch

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];