diff options
Diffstat (limited to 'meta-oe/recipes-connectivity/ptpd/ptpd-1.0.0')
-rw-r--r-- | meta-oe/recipes-connectivity/ptpd/ptpd-1.0.0/add-limit-h.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/meta-oe/recipes-connectivity/ptpd/ptpd-1.0.0/add-limit-h.patch b/meta-oe/recipes-connectivity/ptpd/ptpd-1.0.0/add-limit-h.patch deleted file mode 100644 index 8ed3f2f97..000000000 --- a/meta-oe/recipes-connectivity/ptpd/ptpd-1.0.0/add-limit-h.patch +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | ptpd: fix ftbfs by including limits.h so MAX_INT defined | ||
2 | |||
3 | The current recipe for ptpd fails to build with: | ||
4 | |||
5 | | arith.c: In function 'fromInternalTime': | ||
6 | | arith.c:46: error: 'INT_MAX' undeclared (first use in this function) | ||
7 | | arith.c:46: error: (Each undeclared identifier is reported only once | ||
8 | | arith.c:46: error: for each function it appears in.) | ||
9 | | arith.c: In function 'toInternalTime': | ||
10 | | arith.c:64: error: 'INT_MAX' undeclared (first use in this function) | ||
11 | | make: *** [arith.o] Error 1 | ||
12 | | make: *** Waiting for unfinished jobs.... | ||
13 | | FATAL: oe_runmake failed | ||
14 | |||
15 | diff --git a/src/arith.c b/src/arith.c | ||
16 | --- a/src/arith.c | ||
17 | +++ b/src/arith.c | ||
18 | @@ -1,6 +1,7 @@ | ||
19 | /* arith.c */ | ||
20 | |||
21 | #include "ptpd.h" | ||
22 | +#include <limits.h> | ||
23 | |||
24 | /* from annex C of the spec */ | ||
25 | UInteger32 crc_algorithm(Octet *buf, Integer16 length) | ||
26 | |||