Hi,

here's the patch for the NMU:

diff -u snownews-1.5.6.1/debian/changelog snownews-1.5.6.1/debian/changelog
--- snownews-1.5.6.1/debian/changelog
+++ snownews-1.5.6.1/debian/changelog
@@ -1,3 +1,10 @@
+snownews (1.5.6.1-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix typedef in md5.h (Closes: #333959).
+
+ -- Christoph Berg <[EMAIL PROTECTED]>  Fri, 28 Oct 2005 13:24:15 +0200
+
 snownews (1.5.6.1-2) unstable; urgency=low
 
   * convert build to dpatch.
diff -u snownews-1.5.6.1/debian/patches/00list 
snownews-1.5.6.1/debian/patches/00list
--- snownews-1.5.6.1/debian/patches/00list
+++ snownews-1.5.6.1/debian/patches/00list
@@ -6,2 +6,3 @@
 40_snowsync_manpage
+50_md5_h
 90_debianisms
only in patch2:
unchanged:
--- snownews-1.5.6.1.orig/debian/patches/50_md5_h.dpatch
+++ snownews-1.5.6.1/debian/patches/50_md5_h.dpatch
@@ -0,0 +1,36 @@
+#! /bin/sh -e
+
+[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
+patch_opts="${patch_opts:--f --no-backup-if-mismatch ${2:+-d $2}}"
+
+if [ $# -lt 1 ]; then
+    echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+    exit 1
+fi
+case "$1" in
+       -patch) patch $patch_opts -p1 < $0;;
+       -unpatch) patch $patch_opts -p1 -R < $0;;
+        *)
+                echo >&2 "`basename $0`: script expects -patch|-unpatch as 
argument"
+                exit 1;;
+esac
+
+exit 0
[EMAIL PROTECTED]@
+--- snownews-1.5.6.1.orig/md5.h
++++ snownews-1.5.6.1/md5.h
+@@ -31,11 +31,9 @@
+ #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];

Christoph
-- 
[EMAIL PROTECTED] | http://www.df7cb.de/

Attachment: signature.asc
Description: Digital signature

Reply via email to