From a23114da5877fc76da8dee6a3fd43e5858d2b1f5 Mon Sep 17 00:00:00 2001 From: mobinmob Date: Wed, 18 Aug 2021 19:46:39 +0300 Subject: [PATCH] notcurses: update to 2.3.15. --- ...6a2480f047b3d4517a8d4db9a9a43d523fe84.diff | 31 +++++++++++++++++++ srcpkgs/notcurses/template | 4 +-- 2 files changed, 33 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/notcurses/patches/6296a2480f047b3d4517a8d4db9a9a43d523fe84.diff diff --git a/srcpkgs/notcurses/patches/6296a2480f047b3d4517a8d4db9a9a43d523fe84.diff b/srcpkgs/notcurses/patches/6296a2480f047b3d4517a8d4db9a9a43d523fe84.diff new file mode 100644 index 000000000000..62dd0d3e7dbf --- /dev/null +++ b/srcpkgs/notcurses/patches/6296a2480f047b3d4517a8d4db9a9a43d523fe84.diff @@ -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 +@@ -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 diff --git a/srcpkgs/notcurses/template b/srcpkgs/notcurses/template index 0023919a6ace..bf3105ee75c3 100644 --- a/srcpkgs/notcurses/template +++ b/srcpkgs/notcurses/template @@ -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"