notcurses: update to 2.3.17.

This commit is contained in:
mobinmob 2021-08-28 15:12:26 +03:00 committed by Érico Nogueira Rolim
parent 30f490fc4d
commit b0a1b0c345
2 changed files with 2 additions and 33 deletions

View file

@ -1,31 +0,0 @@
diff --git a/src/compat/compat.h b/src/compat/compat.h
index 72da2c3b1..a28439193 100644
--- a/src/compat/compat.h
+++ b/src/compat/compat.h
@@ -3,13 +3,6 @@
#ifdef __cplusplus
extern "C" {
-#ifdef __linux__
-#define NOEXCEPT noexcept
-#else
-#define NOEXCEPT
-#endif
-#else
-#define NOEXCEPT
#endif
#include <time.h>
@@ -79,10 +72,10 @@ int clock_nanosleep(clockid_t clockid, int flags,
const struct timespec *request,
struct timespec *remain);
-char* strndup(const char* str, size_t size) NOEXCEPT;
-
#ifdef __cplusplus
}
+#else
+char* strndup(const char* str, size_t size);
#endif
#endif

View file

@ -1,6 +1,6 @@
# Template file for 'notcurses'
pkgname=notcurses
version=2.3.15
version=2.3.17
revision=1
build_style=cmake
configure_args="-DUSE_STATIC=ON $(vopt_bool man USE_PANDOC)"
@ -14,7 +14,7 @@ license="Apache-2.0"
homepage="https://nick-black.com/dankwiki/index.php/Notcurses"
changelog="https://raw.githubusercontent.com/dankamongmen/notcurses/master/NEWS.md"
distfiles="https://github.com/dankamongmen/notcurses/archive/v${version}.tar.gz"
checksum=146e83723e5f5c486b9f16ec11b70ad682e76b6d01f10e4d9c27d07f3de72811
checksum=81db9d13b515d01b134619f3e69cc1efe9f326030c4e49128131d3288ee68e33
build_options="man"
desc_option_man="Use pandoc for manpages"