diff options
| author | Joel Carlson <joelsoncarl@gmail.com> | 2018-10-03 10:58:53 -0600 |
|---|---|---|
| committer | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | 2018-10-08 18:13:12 +0200 |
| commit | 40d4df2156211e3f91c5340971f62a20cdf222c2 (patch) | |
| tree | e5dc160f652b569f9bfee5bbb59128e233cbc9b1 /package/cmocka/0001-examples-uptime-include-stdint.h-before-cmocka.h.patch | |
| parent | 964521fbecac98022cf81cff4f3daa1713d28395 (diff) | |
| download | buildroot-40d4df2156211e3f91c5340971f62a20cdf222c2.tar.gz buildroot-40d4df2156211e3f91c5340971f62a20cdf222c2.zip | |
cmocka: bump to version 1.1.3
Removes patch for upstream commit
d677b564c2193a5cd381925c2eeaad6b23c6af2f
Adds hash for license file.
Adds patch to fix a build error encountered by br-mips64-n64-full
toolchain about uintptr_t being declared twice.
Signed-off-by: Joel Carlson <JoelsonCarl@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/cmocka/0001-examples-uptime-include-stdint.h-before-cmocka.h.patch')
| -rw-r--r-- | package/cmocka/0001-examples-uptime-include-stdint.h-before-cmocka.h.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/package/cmocka/0001-examples-uptime-include-stdint.h-before-cmocka.h.patch b/package/cmocka/0001-examples-uptime-include-stdint.h-before-cmocka.h.patch new file mode 100644 index 0000000000..68dbc11da8 --- /dev/null +++ b/package/cmocka/0001-examples-uptime-include-stdint.h-before-cmocka.h.patch @@ -0,0 +1,35 @@ +From dd8449ae3ba7fd05ac172f0227cd93af7f37005e Mon Sep 17 00:00:00 2001 +From: Joel Carlson <joelsoncarl@gmail.com> +Date: Mon, 1 Oct 2018 15:01:56 -0600 +Subject: [PATCH] examples: uptime: include stdint.h before cmocka.h + +Fixes a build error encountered on one MIPS64 toolchain about uintptr_t +being declared twice, first by cmocka.h and then later by the toolchains +stdint.h. + +Fixes #7 + +Signed-off-by: Joel Carlson <JoelsonCarl@gmail.com> +Reviewed-by: Andreas Schneider <asn@cryptomilk.org> +--- +Fixes build error with br-mips64-n64-full +Upstream commit: dd8449ae3ba7fd05ac172f0227cd93af7f37005e +--- + example/mock/uptime/test_uptime.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/example/mock/uptime/test_uptime.c b/example/mock/uptime/test_uptime.c +index badfac9..183c276 100644 +--- a/example/mock/uptime/test_uptime.c ++++ b/example/mock/uptime/test_uptime.c +@@ -16,6 +16,7 @@ + + #include <stdarg.h> + #include <stddef.h> ++#include <stdint.h> + #include <setjmp.h> + #include <cmocka.h> + +-- +2.17.1 + |

