Rev 13 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 13 | Rev 22 | ||
---|---|---|---|
1 | #! /bin/sh /usr/share/dpatch/dpatch-run |
1 | #! /bin/sh /usr/share/dpatch/dpatch-run |
2 | ## 20_strict_includes.dpatch by Magnus Holmgren <magnus@kibibyte.se> |
2 | ## 20_strict_includes.dpatch by Magnus Holmgren <magnus@kibibyte.se> |
3 | ## |
3 | ## |
4 | ## All lines beginning with `## DP:' are a description of the patch. |
4 | ## All lines beginning with `## DP:' are a description of the patch. |
5 | ## DP: Add "#include <string.h>" as needed to fix FTBFS with GCC 4.3. |
5 | ## DP: Add "#include <string.h>" as needed to fix FTBFS with GCC 4.3. |
6 | 6 | ||
7 | @DPATCH@ |
7 | @DPATCH@ |
8 | diff -urNad trunk~/src/dkim.cpp trunk/src/dkim.cpp |
8 | diff -urNad trunk~/src/dkim.cpp trunk/src/dkim.cpp |
9 | --- trunk~/src/dkim.cpp 2007-09-04 14:38:44.000000000 +0200 |
9 | --- trunk~/src/dkim.cpp 2007-09-04 14:38:44.000000000 +0200 |
10 | +++ trunk/src/dkim.cpp 2008-01-19 23:32:38.000000000 +0100 |
10 | +++ trunk/src/dkim.cpp 2008-01-19 23:32:38.000000000 +0100 |
11 | @@ -20,6 +20,7 @@ |
11 | @@ -20,6 +20,7 @@ |
12 | #else |
12 | #else |
13 | #endif |
13 | #endif |
14 | 14 | ||
15 | +#include <string.h> |
15 | +#include <string.h> |
16 | #include "dkim.h" |
16 | #include "dkim.h" |
17 | #include "dkimsign.h" |
17 | #include "dkimsign.h" |
18 | #include "dkimverify.h" |
18 | #include "dkimverify.h" |
19 | diff -urNad trunk~/src/dkimverify.cpp trunk/src/dkimverify.cpp |
19 | diff -urNad trunk~/src/dkimverify.cpp trunk/src/dkimverify.cpp |
20 | --- trunk~/src/dkimverify.cpp 2007-10-29 15:15:18.000000000 +0100 |
20 | --- trunk~/src/dkimverify.cpp 2007-10-29 15:15:18.000000000 +0100 |
21 | +++ trunk/src/dkimverify.cpp 2008-01-19 23:32:50.000000000 +0100 |
21 | +++ trunk/src/dkimverify.cpp 2008-01-19 23:32:50.000000000 +0100 |
22 | @@ -29,6 +29,7 @@ |
22 | @@ -29,6 +29,7 @@ |
23 | #include <assert.h> |
23 | #include <assert.h> |
24 | #include <vector> |
24 | #include <vector> |
25 | #include <algorithm> |
25 | #include <algorithm> |
26 | +#include <string.h> |
26 | +#include <string.h> |
27 | 27 | ||
28 | #define MAX_SIGNATURES 10 // maximum number of DKIM signatures to process in a message |
28 | #define MAX_SIGNATURES 10 // maximum number of DKIM signatures to process in a message |
29 | 29 |