htop: upgrade 3.4.1 -> 3.5.0

1.ChangeLog
https://github.com/htop-dev/htop/blob/main/ChangeLog

2.Use --with-libunwind instead of --enable-unwind

3.Update 0001-configure.ac-Remove-usr-include-libnl3.patch for 3.5.0

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Liu Yiding
2026-04-15 15:18:54 +08:00
committed by Khem Raj
parent 29305b3295
commit d5bdddcd95
2 changed files with 25 additions and 30 deletions
@@ -1,6 +1,6 @@
From 87d66b3b60176197e785670214b0bbc5bedd6552 Mon Sep 17 00:00:00 2001 From 652b208b8c3038934fb55169f44068bbdf399b69 Mon Sep 17 00:00:00 2001
From: Leon Anavi <leon.anavi@konsulko.com> From: Liu Yiding <liuyd.fnst@fujitsu.com>
Date: Mon, 8 Dec 2025 11:06:01 +0000 Date: Wed, 15 Apr 2026 01:34:56 +0000
Subject: [PATCH] configure.ac: Remove /usr/include/libnl3 Subject: [PATCH] configure.ac: Remove /usr/include/libnl3
Fixes: Fixes:
@@ -11,40 +11,35 @@ netlink/attr.h, netlink/handlers.h, netlink/msg.h
Upstream-Status: Inappropriate [OE-specific] Upstream-Status: Inappropriate [OE-specific]
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Update for 3.5.0.
Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
--- ---
configure.ac | 6 +++--- configure.ac | 4 ++--
1 file changed, 3 insertions(+), 3 deletions(-) 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac diff --git a/configure.ac b/configure.ac
index 9f2f46b3..f3906692 100644 index 2d174d73..ee8b29ca 100644
--- a/configure.ac --- a/configure.ac
+++ b/configure.ac +++ b/configure.ac
@@ -980,14 +980,14 @@ case "$enable_delayacct" in @@ -1638,7 +1638,7 @@ case "$enable_delayacct" in
enable_delayacct=no
else htop_save_CFLAGS=$CFLAGS
old_CFLAGS="$CFLAGS" # New include path searched after what user has specified
- CFLAGS="$CFLAGS -I/usr/include/libnl3" - CFLAGS="$CFLAGS $LIBNL3_CFLAGS"
+ CFLAGS="$CFLAGS"
AC_CHECK_HEADERS([netlink/attr.h netlink/handlers.h netlink/msg.h], [enable_delayacct=yes], [enable_delayacct=no])
CFLAGS="$old_CFLAGS"
fi
;;
yes)
old_CFLAGS="$CFLAGS"
- CFLAGS="$CFLAGS -I/usr/include/libnl3"
+ CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS"
AC_CHECK_HEADERS([netlink/attr.h netlink/handlers.h netlink/msg.h], [], [AC_MSG_ERROR([can not find required header files netlink/attr.h, netlink/handlers.h, netlink/msg.h])]) AC_CHECK_HEADERS(
CFLAGS="$old_CFLAGS" [netlink/attr.h netlink/handlers.h netlink/msg.h],
;; [],
@@ -997,7 +997,7 @@ case "$enable_delayacct" in @@ -1681,7 +1681,7 @@ case "$enable_delayacct" in
esac esac
if test "$enable_delayacct" = yes; then if test "$enable_delayacct" = yes; then
AC_DEFINE([HAVE_DELAYACCT], [1], [Define if delay accounting support should be enabled.]) AC_DEFINE([HAVE_DELAYACCT], [1], [Define if delay accounting support should be enabled.])
- AM_CFLAGS="$AM_CFLAGS -I/usr/include/libnl3" - AM_CFLAGS="$AM_CFLAGS $LIBNL3_CFLAGS"
+ AM_CFLAGS="$AM_CFLAGS" + AM_CFLAGS="$AM_CFLAGS"
fi fi
AM_CONDITIONAL([HAVE_DELAYACCT], [test "$enable_delayacct" = yes]) AM_CONDITIONAL([HAVE_DELAYACCT], [test "$enable_delayacct" = yes])
-- --
2.47.3 2.43.0
@@ -6,10 +6,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
DEPENDS = "ncurses libnl" DEPENDS = "ncurses libnl"
SRC_URI = "git://github.com/htop-dev/htop.git;branch=main;protocol=https \ SRC_URI = "git://github.com/htop-dev/htop.git;branch=main;protocol=https;tag=${PV} \
file://0001-configure.ac-Remove-usr-include-libnl3.patch \ file://0001-configure.ac-Remove-usr-include-libnl3.patch \
" "
SRCREV = "348c0a6bf4f33571835a0b6a1a0f5deb15132128" SRCREV = "a21f043b253a6dfa89df1ff4130fe7d2e505000f"
inherit autotools pkgconfig inherit autotools pkgconfig
@@ -23,7 +23,7 @@ PACKAGECONFIG ??= " \
" "
PACKAGECONFIG[unicode] = "--enable-unicode,--disable-unicode" PACKAGECONFIG[unicode] = "--enable-unicode,--disable-unicode"
PACKAGECONFIG[affinity] = "--enable-affinity,--disable-affinity,,,,hwloc" PACKAGECONFIG[affinity] = "--enable-affinity,--disable-affinity,,,,hwloc"
PACKAGECONFIG[unwind] = "--enable-unwind,--disable-unwind,libunwind" PACKAGECONFIG[unwind] = "--with-libunwind,--without-libunwind,libunwind"
PACKAGECONFIG[hwloc] = "--enable-hwloc,--disable-hwloc,hwloc,,,affinity" PACKAGECONFIG[hwloc] = "--enable-hwloc,--disable-hwloc,hwloc,,,affinity"
PACKAGECONFIG[openvz] = "--enable-openvz,--disable-openvz" PACKAGECONFIG[openvz] = "--enable-openvz,--disable-openvz"
PACKAGECONFIG[vserver] = "--enable-vserver,--disable-vserver" PACKAGECONFIG[vserver] = "--enable-vserver,--disable-vserver"