cmocka: include missing stdint.h.

This commit is contained in:
Jerome Duval
2018-09-26 11:22:13 +02:00
parent 866d31a901
commit 1fc87f0f16
2 changed files with 52 additions and 1 deletions

View File

@@ -7,9 +7,10 @@ COPYRIGHT="2008 Google Inc.
2014-2018 Andreas Schneider
2015 Jakub Hrozek"
LICENSE="Apache v2"
REVISION="2"
REVISION="3"
SOURCE_URI="https://cmocka.org/files/${portVersion%.*}/cmocka-$portVersion.tar.xz"
CHECKSUM_SHA256="d11cd1e129827ff240a501c1c43557e808de89e8fcd8ab9e963c8db419332bdd"
PATCHES="cmocka-$portVersion.patchset"
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"

View File

@@ -0,0 +1,50 @@
From 3dfa4f45ed8cce83c5b69aaf0c3ff90376bba5e3 Mon Sep 17 00:00:00 2001
From: Jerome Duval <jerome.duval@gmail.com>
Date: Wed, 26 Sep 2018 11:19:25 +0200
Subject: [PATCH] include missing stdint.h
---
example/calculator_test.c | 1 +
example/chef_wrap/waiter_test_wrap.c | 1 +
example/product_database_test.c | 1 +
3 files changed, 3 insertions(+)
diff --git a/example/calculator_test.c b/example/calculator_test.c
index ab8cad8..655c835 100644
--- a/example/calculator_test.c
+++ b/example/calculator_test.c
@@ -15,6 +15,7 @@
*/
#include <stdarg.h>
#include <stddef.h>
+#include <stdint.h>
#include <setjmp.h>
#include "cmocka.h"
#include <stdio.h>
diff --git a/example/chef_wrap/waiter_test_wrap.c b/example/chef_wrap/waiter_test_wrap.c
index 4146818..1f52111 100644
--- a/example/chef_wrap/waiter_test_wrap.c
+++ b/example/chef_wrap/waiter_test_wrap.c
@@ -23,6 +23,7 @@
#include <stdarg.h>
#include <stddef.h>
+#include <stdint.h>
#include <setjmp.h>
#include <cmocka.h>
diff --git a/example/product_database_test.c b/example/product_database_test.c
index e09eeab..b66450e 100644
--- a/example/product_database_test.c
+++ b/example/product_database_test.c
@@ -15,6 +15,7 @@
*/
#include <stdarg.h>
#include <stddef.h>
+#include <stdint.h>
#include <setjmp.h>
#include <cmocka.h>
#include <database.h>
--
2.9.3.windows.1