summaryrefslogtreecommitdiffstats
path: root/package/iprutils/0002-configure.ac-use-pow-instead-of-matherr-for-libm-che.patch
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2017-06-05 13:06:20 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-06-05 15:05:52 +0200
commita34b77e44aa926ff1aba48d8dda7db28ccbad948 (patch)
treec076905415aa80f87ed71b8ebecca9dcc03a6284 /package/iprutils/0002-configure.ac-use-pow-instead-of-matherr-for-libm-che.patch
parent2abac75eaa213124d6a37fa41d620486a560817b (diff)
downloadbuildroot-a34b77e44aa926ff1aba48d8dda7db28ccbad948.tar.gz
buildroot-a34b77e44aa926ff1aba48d8dda7db28ccbad948.zip
package/iprutils: bump version to 2.4.14.1
Removed patches applied upstream: 0001-iprutils-Don-t-use-gettext.patch https://sourceforge.net/p/iprdd/iprutils/ci/4512cfb915b492e9eed65f7b9f72fc1c1bd097c2/ 0002-configure.ac-use-pow-instead-of-matherr-for-libm-che.patch https://sourceforge.net/p/iprdd/iprutils/ci/d7cfe35b9706da357814d4bdd21563396733753c/ 0003-iprlib-fixes-for-compatibility-with-musl.patch https://sourceforge.net/p/iprdd/iprutils/ci/ed9da50d114ea5e97f3cf599fb7b305e0cec18d6/ Autoreconf is not needed anymore, added upstream hashes, switched _SITE to https. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/iprutils/0002-configure.ac-use-pow-instead-of-matherr-for-libm-che.patch')
-rw-r--r--package/iprutils/0002-configure.ac-use-pow-instead-of-matherr-for-libm-che.patch36
1 files changed, 0 insertions, 36 deletions
diff --git a/package/iprutils/0002-configure.ac-use-pow-instead-of-matherr-for-libm-che.patch b/package/iprutils/0002-configure.ac-use-pow-instead-of-matherr-for-libm-che.patch
deleted file mode 100644
index ea7a683570..0000000000
--- a/package/iprutils/0002-configure.ac-use-pow-instead-of-matherr-for-libm-che.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From 62a41abffa028a3a4c4ae0803d48c559a14e97f1 Mon Sep 17 00:00:00 2001
-From: Bernd Kuhls <bernd.kuhls@t-online.de>
-Date: Sun, 7 Feb 2016 13:54:10 +0100
-Subject: [PATCH] configure.ac: use pow() instead of matherr() for libm check
-
-In certain configurations of uClibc, the matherr() function may not be
-provided by the C library, which makes the current configure.ac check
-for libm fail. However, iprutils does not use matherr(), so using this
-function for the test makes little sense.
-
-This patch adjusts configure.ac to test for pow() instead, which is
-actually used by iprutils, and more commonly available, including in
-uClibc.
-
-Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
-Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
----
- configure.ac | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/configure.ac b/configure.ac
-index c1a4f70..e430554 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -129,7 +129,7 @@ save_LIBS="$LIBS"
- AC_CHECK_LIB([ncurses], [curses_version], [],
- [AC_ERROR("libncurses not found.")])
- AC_CHECK_LIB([form], [free_form], [], [AC_ERROR("libform not found.")])
--AC_CHECK_LIB([m], [matherr], [], [AC_ERROR("libm not found.")])
-+AC_CHECK_LIB([m], [pow], [], [AC_ERROR("libm not found.")])
- AC_CHECK_LIB([menu], [new_menu], [], [AC_ERROR("libmenu not found.")])
- AC_CHECK_LIB([panel], [show_panel], [], [AC_ERROR("libpanel not found.")])
- IPRCONFIG_LIBS="$LIBS"
---
-2.6.4
-
OpenPOWER on IntegriCloud