]> code.ossystems Code Review - openembedded-core.git/commitdiff
systemd: drop uclibc specific exp10 support patch
authorAndre McCurdy <armccurdy@gmail.com>
Tue, 3 Oct 2017 01:03:04 +0000 (18:03 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 6 Oct 2017 11:03:33 +0000 (12:03 +0100)
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

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-core/systemd/systemd/0003-define-exp10-if-missing.patch [deleted file]
meta/recipes-core/systemd/systemd_234.bb

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 (file)
index 5ba4b9a..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-From 96baee0e1962e559f4ea025024ebc337cb5d50c5 Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Wed, 9 Nov 2016 19:25:45 -0800
-Subject: [PATCH 01/14] define exp10 if missing
-
-Inspired by: http://peter.korsgaard.com/patches/alsa-utils/alsamixer-fix-build-on-uClibc-exp10.patch
-
-exp10 extension is not part of uClibc, so compute it.
-
-Upstream-Status: Pending
-
-Signed-off-by: Samuel Martin <s.martin49@gmail.com>
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
-
----
- src/basic/missing.h | 5 +++++
- 1 file changed, 5 insertions(+)
-
-diff --git a/src/basic/missing.h b/src/basic/missing.h
-index 7830a4f41..177c0eb8a 100644
---- a/src/basic/missing.h
-+++ b/src/basic/missing.h
-@@ -1227,4 +1227,9 @@ struct ethtool_link_settings {
- #define AF_VSOCK 40
- #endif
-+#ifdef __UCLIBC__
-+/* 10^x = 10^(log e^x) = (e^x)^log10 = e^(x * log 10) */
-+#define exp10(x) (exp((x) * log(10)))
-+#endif /* __UCLIBC__ */
-+
- #include "missing_syscall.h"
--- 
-2.13.2
-
index acc4c4623b4ae3f19ee781519c6cd46cc999f7d3..36fd3f8ff4bd10656777f141e9c0b4245dd2919f 100644 (file)
@@ -15,7 +15,6 @@ SRC_URI += " \
            file://00-create-volatile.conf \
            file://init \
            file://run-ptest \
-           file://0003-define-exp10-if-missing.patch \
            file://0004-Use-getenv-when-secure-versions-are-not-available.patch \
            file://0005-binfmt-Don-t-install-dependency-links-at-install-tim.patch \
            file://0007-use-lnr-wrapper-instead-of-looking-for-relative-opti.patch \