Update ttyplot to 1.6.2.

This commit is contained in:
fcambus 2024-02-05 18:38:08 +00:00
parent fe17378574
commit 9abf9812b1
3 changed files with 8 additions and 8 deletions

View File

@ -2,7 +2,7 @@ COMMENT = realtime plotting utility for terminals
GH_ACCOUNT = tenox7
GH_PROJECT = ttyplot
GH_TAGNAME = 1.6.1
GH_TAGNAME = 1.6.2
CATEGORIES = sysutils

View File

@ -1,2 +1,2 @@
SHA256 (ttyplot-1.6.1.tar.gz) = ptDPsuw36mtKr5eKgZDKD0LqzUhB9i2k6i2T7O/E3Sg=
SIZE (ttyplot-1.6.1.tar.gz) = 53746
SHA256 (ttyplot-1.6.2.tar.gz) = mSInIeLYnhBkVG8p5niDDMq6m3XydqS2hFzAkRaXh6A=
SIZE (ttyplot-1.6.2.tar.gz) = 56277

View File

@ -3,12 +3,12 @@ OpenBSD also needs the _XOPEN_SOURCE_EXTENDED define.
Index: ttyplot.c
--- ttyplot.c.orig
+++ ttyplot.c
@@ -8,7 +8,7 @@
//
@@ -9,7 +9,7 @@
// This is needed on macOS to get the ncurses widechar API, and pkg-config fails to define it.
// This is needed on macOS to get the ncurses widechar API, and pkg-config fails to
// define it.
-#ifdef __APPLE__
+#if defined (__APPLE__) || defined (__OpenBSD__)
#define _XOPEN_SOURCE_EXTENDED
#endif
#else
// This is needed for musl libc