Skip to contentSkip to conversation

package/wavemon: bump to version 0.9.2

PATCH New Fabrice Fontaine 1 participant 1 message Oct 28, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/wavemon: bump to version 0.9.2

Add two upstream patches and don't autoreconf as the second patch is also updating configure

https://github.com/uoaerg/wavemon/releases/tag/v0.9.2

---
 ....h-add-a-check-for-ncursesw-curses.h.patch | 42 +++++++++++
 ...ude-condition-for-ncursesw-ncurses-h.patch | 73 +++++++++++++++++++
 package/wavemon/wavemon.hash                  |  2 +-
 package/wavemon/wavemon.mk                    |  2 +-
 4 files changed, 117 insertions(+), 2 deletions(-)
 create mode 100644 package/wavemon/0001-wavemon.h-add-a-check-for-ncursesw-curses.h.patch
 create mode 100644 package/wavemon/0002-Build-clarify-include-condition-for-ncursesw-ncurses-h.patch
package/wavemon/0001-wavemon.h-add-a-check-for-ncursesw-curses.h.patch new file +42 -0
new file mode 100644
index 0000000000..4a7ec8e38e
@@ -0,0 +1,42 @@
+From ce7f9c4da90767bb50e4b80cdb3cee61264d8d12 Mon Sep 17 00:00:00 2001
+From: Fabrice Fontaine <[email protected]>
+Date: Tue, 27 Oct 2020 00:18:52 +0100
+Subject: [PATCH] wavemon.h: add a check for <ncursesw/curses.h>
+
+Add a check for <ncursesw/curses.h> before using it to fix a build
+failaure on buildroot where curses.h is not installed under ncursesw
+even when libncursesw is enabled/installed.
+
+Signed-off-by: Fabrice Fontaine <[email protected]>
+[Retrieved from:
+https://github.com/uoaerg/wavemon/commit/ce7f9c4da90767bb50e4b80cdb3cee61264d8d12]
+---
+ configure.ac | 1 +
+ wavemon.h    | 2 +-
+ 2 files changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index 5ad562f..c2a6c76 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -52,6 +52,7 @@ AC_HEADER_STDBOOL
+ 
+ # Tests involving libraries
+ AC_CHECK_LIB([m], [pow], [],              [AC_MSG_ERROR(math library not found)])
++AC_CHECK_HEADERS([ncursesw/curses.h])
+ AC_CHECK_LIB([ncursesw], [waddstr],
+ 	     [],
+ 	     [AC_CHECK_LIB([ncurses], [waddstr], [], [AC_MSG_ERROR(ncurses library not found)])])
+diff --git a/wavemon.h b/wavemon.h
+index baf9dba..e263fef 100644
+--- a/wavemon.h
++++ b/wavemon.h
+@@ -34,7 +34,7 @@
+ #include <ctype.h>
+ #include <math.h>
+ #include <stdbool.h>
+-#ifdef HAVE_LIBNCURSESW
++#ifdef HAVE_NCURSESW_CURSES_H
+ #define _XOPEN_SOURCE_EXTENDED
+ #include <ncursesw/curses.h>
+ #else
package/wavemon/0002-Build-clarify-include-condition-for-ncursesw-ncurses-h.patch new file +73 -0

73 lines not on this page · raw message

package/wavemon/wavemon.hash +1 -1
index 455e64cba8..2533fe2955 100644
@@ -1,3 +1,3 @@
 # Locally calculated
-sha256  5ebd5b79d3b7c546bc16b95161872c699a75e9acdfc6e3f02ec48dad10802067  wavemon-0.9.1.tar.gz
+sha256  13334ff17720ba4d17f4658dd2b93a50a6b5bc0583dedd72b88fd0cb90db686a  wavemon-0.9.2.tar.gz
 sha256  8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903  COPYING
package/wavemon/wavemon.mk +1 -1
index 3ae1141ec4..a27e83c0b5 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-WAVEMON_VERSION = 0.9.1
+WAVEMON_VERSION = 0.9.2
 WAVEMON_SITE = $(call github,uoaerg,wavemon,v$(WAVEMON_VERSION))
 WAVEMON_LICENSE = GPL-3.0+
 WAVEMON_LICENSE_FILES = COPYING
Signature · 1 line
2.28.0