Subversion Repositories libdkim

Compare Revisions

Ignore whitespace Rev 8 → Rev 7

/trunk/debian/patches/20_winmacros.dpatch
0,0 → 1,22
#! /bin/sh /usr/share/dpatch/dpatch-run
## 20_winmacros.dpatch by Magnus Holmgren <magnus@kibibyte.se>
##
## DP: Define some macros that are used despite being Windows-specific
 
@DPATCH@
 
--- libdkim-1.0.14.orig/src/dkim.h
+++ libdkim-1.0.14/src/dkim.h
@@ -18,7 +18,12 @@
#ifdef WIN32
#define DKIM_CALL WINAPI
#else
+#include <inttypes.h>
#define DKIM_CALL
+#define MAKELONG(low,high) \
+ ((uint32_t)(((uint16_t)(low))|((uint32_t)(((uint16_t)(high))<<16))))
+#define HIWORD(l) ((uint16_t) (((uint32_t) (l) >> 16) & 0xFFFF))
+#define LOWORD(l) ((uint16_t) (l))
#endif
Property changes:
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: debian/patches/00list
===================================================================
--- debian/patches/00list (revision 8)
+++ debian/patches/00list (revision 7)
@@ -0,0 +1 @@
+20_winmacros
Index: debian/changelog
===================================================================
--- debian/changelog (revision 8)
+++ debian/changelog (revision 7)
@@ -1,10 +1,3 @@
-libdkim (1.0.17-1) unstable; urgency=low
-
- * New upstream release.
- * Drop 20_winmacros.dpatch; fixed upstream.
-
- -- Magnus Holmgren <magnus@kibibyte.se> Sun, 09 Dec 2007 11:15:07 +0100
-
libdkim (1.0.14-1) unstable; urgency=low
* New upstream release.