aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ofono/fix-explicit-bzero.patch
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2019-04-30 12:16:29 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2019-04-30 12:16:29 +0000
commit835fd3c4f8b94f2f248aa4d98c38595adc1bcd16 (patch)
treeecedc17db61d7d6c29b9d7898ae3e20b74ad19ae /testing/ofono/fix-explicit-bzero.patch
parentafa142a5813ef4760d7c14d38b1b949ac92fa040 (diff)
downloadaports-835fd3c4f8b94f2f248aa4d98c38595adc1bcd16.tar.bz2
aports-835fd3c4f8b94f2f248aa4d98c38595adc1bcd16.tar.xz
testing/ofono: upgrade to 1.29, removed unused patch
Diffstat (limited to 'testing/ofono/fix-explicit-bzero.patch')
-rw-r--r--testing/ofono/fix-explicit-bzero.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/testing/ofono/fix-explicit-bzero.patch b/testing/ofono/fix-explicit-bzero.patch
new file mode 100644
index 0000000000..855fa6ba76
--- /dev/null
+++ b/testing/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