From f69e5c19191bd098bded41798f6c2834930be85e Mon Sep 17 00:00:00 2001 From: Bart Ribbers Date: Thu, 7 Nov 2019 12:12:02 +0100 Subject: community/ofono: move from testing --- community/ofono/fix-explicit-bzero.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 community/ofono/fix-explicit-bzero.patch (limited to 'community/ofono/fix-explicit-bzero.patch') diff --git a/community/ofono/fix-explicit-bzero.patch b/community/ofono/fix-explicit-bzero.patch new file mode 100644 index 0000000000..855fa6ba76 --- /dev/null +++ b/community/ofono/fix-explicit-bzero.patch @@ -0,0 +1,16 @@ +diff --git a/ell/missing.h b/ell/missing.h +index 37d5586..649a5ac 100644 +--- a/ell/missing.h ++++ b/ell/missing.h +@@ -54,11 +54,3 @@ + # define __NR_getrandom 0xffffffff + # endif + #endif +- +-#ifndef HAVE_EXPLICIT_BZERO +-static inline void explicit_bzero(void *s, size_t n) +-{ +- memset(s, 0, n); +- __asm__ __volatile__ ("" : : "r"(s) : "memory"); +-} +-#endif -- cgit v1.2.3