notcurses: update to 2.3.15.
This commit is contained in:
parent
8cabe7b84b
commit
a036c0e4f5
2 changed files with 33 additions and 2 deletions
|
@ -0,0 +1,31 @@
|
|||
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
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'notcurses'
|
||||
pkgname=notcurses
|
||||
version=2.3.13
|
||||
version=2.3.15
|
||||
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=c5eb822ea5b98028acd4a8dd21b155f893d928e4a30a8309eea0c406403af4e8
|
||||
checksum=146e83723e5f5c486b9f16ec11b70ad682e76b6d01f10e4d9c27d07f3de72811
|
||||
|
||||
build_options="man"
|
||||
desc_option_man="Use pandoc for manpages"
|
||||
|
|
Loading…
Reference in a new issue