0,0 → 1,29 |
#! /bin/sh /usr/share/dpatch/dpatch-run |
## 20_strict_includes.dpatch by Magnus Holmgren <magnus@kibibyte.se> |
## |
## All lines beginning with `## DP:' are a description of the patch. |
## DP: Add "#include <string.h>" as needed to fix FTBFS with GCC 4.3. |
|
@DPATCH@ |
diff -urNad trunk~/src/dkim.cpp trunk/src/dkim.cpp |
--- trunk~/src/dkim.cpp 2007-09-04 14:38:44.000000000 +0200 |
+++ trunk/src/dkim.cpp 2008-01-19 23:32:38.000000000 +0100 |
@@ -20,6 +20,7 @@ |
#else |
#endif |
|
+#include <string.h> |
#include "dkim.h" |
#include "dkimsign.h" |
#include "dkimverify.h" |
diff -urNad trunk~/src/dkimverify.cpp trunk/src/dkimverify.cpp |
--- trunk~/src/dkimverify.cpp 2007-10-29 15:15:18.000000000 +0100 |
+++ trunk/src/dkimverify.cpp 2008-01-19 23:32:50.000000000 +0100 |
@@ -29,6 +29,7 @@ |
#include <assert.h> |
#include <vector> |
#include <algorithm> |
+#include <string.h> |
|
#define MAX_SIGNATURES 10 // maximum number of DKIM signatures to process in a message |
|
Property changes: |
Added: svn:executable |
## -0,0 +1 ## |
+* |
\ No newline at end of property |
Index: trunk/debian/patches/20_bad_test.dpatch |
=================================================================== |
--- trunk/debian/patches/20_bad_test.dpatch (nonexistent) |
+++ trunk/debian/patches/20_bad_test.dpatch (revision 28) |
@@ -0,0 +1,20 @@ |
+#! /bin/sh /usr/share/dpatch/dpatch-run |
+## 20_bad_test.dpatch by Magnus Holmgren <magnus@kibibyte.se> |
+## |
+## All lines beginning with `## DP:' are a description of the patch. |
+## DP: Change pfnPolicyCallback to pfnPracticesCallback in test |
+## DP: program. |
+ |
+@DPATCH@ |
+diff -urNad trunk~/src/libdkimtest.cpp trunk/src/libdkimtest.cpp |
+--- trunk~/src/libdkimtest.cpp 2007-02-22 17:05:46.000000000 +0100 |
++++ trunk/src/libdkimtest.cpp 2008-01-19 22:47:48.000000000 +0100 |
+@@ -256,7 +256,7 @@ |
+ |
+ DKIMVerifyOptions vopts; |
+ vopts.pfnSelectorCallback = NULL; //SelectorCallback; |
+- vopts.pfnPolicyCallback = NULL; //PolicyCallback; |
++ vopts.pfnPracticesCallback = NULL; //PolicyCallback; |
+ |
+ n = DKIMVerifyInit( &ctxt, &vopts ); |
+ |