summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorAndre McCurdy <armccurdy@gmail.com>2017-10-03 01:03:04 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-10-07 22:20:40 (GMT)
commitb51202cce03f22672205f676d19932802632f1f7 (patch)
treea174e032ea957bf6da1278d16c15f4c9813934f7 /meta
parent18edfb2af6e7040e0453c84796416be2b8f45454 (diff)
downloadpoky-b51202cce03f22672205f676d19932802632f1f7.tar.gz
systemd: drop uclibc specific exp10 support patch
This patch is clearly uclibc specific and appears to have been inadvertently left behind during the recent purging of uclibc specific patches from oe-core: http://git.openembedded.org/openembedded-core/commit/?id=e01e7c543a559c8926d72159b5cd55db0c661434 (From OE-Core rev: 655f0e5830ff883843d44d38de3aea4c4134c903) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-core/systemd/systemd/0003-define-exp10-if-missing.patch35
-rw-r--r--meta/recipes-core/systemd/systemd_234.bb1
2 files changed, 0 insertions, 36 deletions
diff --git a/meta/recipes-core/systemd/systemd/0003-define-exp10-if-missing.patch b/meta/recipes-core/systemd/systemd/0003-define-exp10-if-missing.patch
deleted file mode 100644
index 5ba4b9a..0000000
--- a/meta/recipes-core/systemd/systemd/0003-define-exp10-if-missing.patch
+++ /dev/null
@@ -1,35 +0,0 @@
1From 96baee0e1962e559f4ea025024ebc337cb5d50c5 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 9 Nov 2016 19:25:45 -0800
4Subject: [PATCH 01/14] define exp10 if missing
5
6Inspired by: http://peter.korsgaard.com/patches/alsa-utils/alsamixer-fix-build-on-uClibc-exp10.patch
7
8exp10 extension is not part of uClibc, so compute it.
9
10Upstream-Status: Pending
11
12Signed-off-by: Samuel Martin <s.martin49@gmail.com>
13Signed-off-by: Khem Raj <raj.khem@gmail.com>
14
15---
16 src/basic/missing.h | 5 +++++
17 1 file changed, 5 insertions(+)
18
19diff --git a/src/basic/missing.h b/src/basic/missing.h
20index 7830a4f41..177c0eb8a 100644
21--- a/src/basic/missing.h
22+++ b/src/basic/missing.h
23@@ -1227,4 +1227,9 @@ struct ethtool_link_settings {
24 #define AF_VSOCK 40
25 #endif
26
27+#ifdef __UCLIBC__
28+/* 10^x = 10^(log e^x) = (e^x)^log10 = e^(x * log 10) */
29+#define exp10(x) (exp((x) * log(10)))
30+#endif /* __UCLIBC__ */
31+
32 #include "missing_syscall.h"
33--
342.13.2
35
diff --git a/meta/recipes-core/systemd/systemd_234.bb b/meta/recipes-core/systemd/systemd_234.bb
index acc4c46..36fd3f8 100644
--- a/meta/recipes-core/systemd/systemd_234.bb
+++ b/meta/recipes-core/systemd/systemd_234.bb
@@ -15,7 +15,6 @@ SRC_URI += " \
15 file://00-create-volatile.conf \ 15 file://00-create-volatile.conf \
16 file://init \ 16 file://init \
17 file://run-ptest \ 17 file://run-ptest \
18 file://0003-define-exp10-if-missing.patch \
19 file://0004-Use-getenv-when-secure-versions-are-not-available.patch \ 18 file://0004-Use-getenv-when-secure-versions-are-not-available.patch \
20 file://0005-binfmt-Don-t-install-dependency-links-at-install-tim.patch \ 19 file://0005-binfmt-Don-t-install-dependency-links-at-install-tim.patch \
21 file://0007-use-lnr-wrapper-instead-of-looking-for-relative-opti.patch \ 20 file://0007-use-lnr-wrapper-instead-of-looking-for-relative-opti.patch \