[PATCH] htop: fix source, generate configure file (hopefully temporary)

2 replies

[PATCH] htop: fix source, generate configure file (hopefully temporary)

From: Nihal Jere
---
 community/htop/build     | 1 +
 community/htop/checksums | 2 +-
 community/htop/sources   | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/community/htop/build b/community/htop/build
index d2fcdb6..44804ef 100755
--- a/community/htop/build
+++ b/community/htop/build
@@ -3,6 +3,7 @@
 # Fix build with GCC 10.
 export CFLAGS="$CFLAGS -fcommon"
 
+./autogen.sh
 ./configure \
     --prefix=/usr \
     --sysconfdir=/etc \
diff --git a/community/htop/checksums b/community/htop/checksums
index 4088b85..c30b3e4 100644
--- a/community/htop/checksums
+++ b/community/htop/checksums
@@ -1 +1 @@
-19535f8f01ac08be2df880c93c9cedfc50fa92320d48e3ef92a30b6edc4d1917
+4c2629bd50895bd24082ba2f81f8c972348aa2298cc6edc6a21a7fa18b73990c
diff --git a/community/htop/sources b/community/htop/sources
index 2d5a610..dce099a 100644
--- a/community/htop/sources
+++ b/community/htop/sources
@@ -1 +1 @@
-https://dl.bintray.com/htop/source/htop-3.0.5.tar.gz
+https://github.com/htop-dev/htop/archive/refs/tags/3.0.5.tar.gz
-- 
2.31.1


Re: [PATCH] htop: fix source, generate configure file (hopefully temporary)

From: Dilyn Corner
> --- a/community/htop/build
> +++ b/community/htop/build
> @@ -3,6 +3,7 @@
> # Fix build with GCC 10.
> export CFLAGS="$CFLAGS -fcommon"
>  
> +./autogen.sh

We should use autoreconf -sfi here instead

> ./configure \
> --prefix=/usr \
> --sysconfdir=/etc \

This change will also require that automake be added as a make dep for htop.

Dilyn
2 replies

[PATCH v2] htop: fix source, generate configure file (hopefully temporary)

From: Nihal Jere
---
 community/htop/build     | 1 +
 community/htop/checksums | 2 +-
 community/htop/depends   | 1 +
 community/htop/sources   | 2 +-
 4 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/community/htop/build b/community/htop/build
index d2fcdb6..1cd8f0d 100755
--- a/community/htop/build
+++ b/community/htop/build
@@ -3,6 +3,7 @@
 # Fix build with GCC 10.
 export CFLAGS="$CFLAGS -fcommon"
 
+autoreconf -sfi
 ./configure \
     --prefix=/usr \
     --sysconfdir=/etc \
diff --git a/community/htop/checksums b/community/htop/checksums
index 4088b85..c30b3e4 100644
--- a/community/htop/checksums
+++ b/community/htop/checksums
@@ -1 +1 @@
-19535f8f01ac08be2df880c93c9cedfc50fa92320d48e3ef92a30b6edc4d1917
+4c2629bd50895bd24082ba2f81f8c972348aa2298cc6edc6a21a7fa18b73990c
diff --git a/community/htop/depends b/community/htop/depends
index fc7a822..4cc52b3 100644
--- a/community/htop/depends
+++ b/community/htop/depends
@@ -1,2 +1,3 @@
+automake make
 ncurses
 python make
diff --git a/community/htop/sources b/community/htop/sources
index 2d5a610..dce099a 100644
--- a/community/htop/sources
+++ b/community/htop/sources
@@ -1 +1 @@
-https://dl.bintray.com/htop/source/htop-3.0.5.tar.gz
+https://github.com/htop-dev/htop/archive/refs/tags/3.0.5.tar.gz
-- 
2.31.1