Skip to content

Commit

Permalink
notcurses: update to 2.3.15.
Browse files Browse the repository at this point in the history
  • Loading branch information
mobinmob authored and ericonr committed Aug 18, 2021
1 parent 8cabe7b commit a036c0e
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions srcpkgs/notcurses/template
Original file line number Diff line number Diff line change
@@ -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)"
Expand All @@ -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"
Expand Down

0 comments on commit a036c0e

Please sign in to comment.