package/cmocka: bump to version 1.1.5
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sat, 13 Apr 2019 19:39:49 +0000 (21:39 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 14 Apr 2019 12:59:27 +0000 (14:59 +0200)
- Remove patch (already in version)
- Use WITH_EXAMPLES=OFF (option added with
  https://git.cryptomilk.org/projects/cmocka.git/commit?id=ee264da1aa222b354cee36184ab48c2072f62243)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/cmocka/0001-examples-uptime-include-stdint.h-before-cmocka.h.patch [deleted file]
package/cmocka/cmocka.hash
package/cmocka/cmocka.mk

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
deleted file mode 100644 (file)
index 68dbc11..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-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
-
index 1cbda2242803c5da17d6f4e01819dabb4e978d38..007dd7a7fcf30c135f0ca731db2b928a23c7e125 100644 (file)
@@ -1,3 +1,3 @@
 # Locally computed:
-sha256 43eabcf72a9c80e3d03f7c8a1c04e408c18d2db5121eb058a3ef732a9dfabfaf cmocka-1.1.3.tar.xz
+sha256 f0ccd8242d55e2fd74b16ba518359151f6f8383ff8aef4976e48393f77bba8b6 cmocka-1.1.5.tar.xz
 sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 COPYING
index 281410abb3161288aec563164e7072b95d8ee8b9..eafb4898e1e413a2ba227d6abd182a1f6e528439 100644 (file)
@@ -4,12 +4,13 @@
 #
 ################################################################################
 
-CMOCKA_VERSION = 1.1.3
+CMOCKA_VERSION = 1.1.5
 CMOCKA_SOURCE = cmocka-$(CMOCKA_VERSION).tar.xz
 CMOCKA_SITE = https://cmocka.org/files/1.1
 CMOCKA_LICENSE = Apache-2.0
 CMOCKA_LICENSE_FILES = COPYING
 CMOCKA_INSTALL_STAGING = YES
+CMOCKA_CONF_OPTS = -DWITH_EXAMPLES=OFF
 
 # cmocka only supports out of source builds
 CMOCKA_SUPPORTS_IN_SOURCE_BUILD = NO