mirror of
https://github.com/openwrt/packages.git
synced 2025-12-10 12:41:22 +00:00
Update freeipmi to 1.6.15 in order to fix compilation with GCC14. Signed-off-by: Robert Marko <robimarko@gmail.com>
35 lines
1.2 KiB
Diff
35 lines
1.2 KiB
Diff
From 0d0b768272e9a8b092826cc593a1cc6924d65995 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Bj=C3=B8rn=20Mork?= <bjorn@mork.no>
|
|
Date: Thu, 21 Sep 2023 15:46:57 +0200
|
|
Subject: [PATCH] cross-compile with /dev/urandom support
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
The option to disable detection will also disable runtime support.
|
|
Pretty useless...
|
|
|
|
Shortcut this nonsense. We do have /dev/random and /dev/urandom
|
|
|
|
Signed-off-by: Bjørn Mork <bjorn@mork.no>
|
|
---
|
|
configure.ac | 7 ++-----
|
|
1 file changed, 2 insertions(+), 5 deletions(-)
|
|
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -763,11 +763,8 @@ AC_ARG_WITH([random-device],
|
|
])
|
|
AC_MSG_RESULT([${ac_with_random_device=yes}])
|
|
|
|
-if test x"${ac_with_random_device}" = xyes; then
|
|
- AC_CHECK_FILE([/dev/urandom], AC_DEFINE([HAVE_DEVURANDOM], [1], [Define that you found /dev/urandom]))
|
|
- AC_CHECK_FILE([/dev/random], AC_DEFINE([HAVE_DEVRANDOM], [1], [Define that you found /dev/random]))
|
|
-fi
|
|
-
|
|
+AC_DEFINE([HAVE_DEVURANDOM], [1], [Define that you found /dev/urandom])
|
|
+AC_DEFINE([HAVE_DEVRANDOM], [1], [Define that you found /dev/random])
|
|
|
|
dnl Option to install pkg-config support files
|
|
|