From 195c45e0f21266df37f79a76350e3a867deec634 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Nogueira?= Date: Wed, 30 Jun 2021 00:03:32 -0300 Subject: [PATCH] kanshi: update to 1.2.0. --- srcpkgs/kanshi/patches/assert.patch | 37 ----------------------------- srcpkgs/kanshi/template | 6 ++--- 2 files changed, 3 insertions(+), 40 deletions(-) delete mode 100644 srcpkgs/kanshi/patches/assert.patch diff --git a/srcpkgs/kanshi/patches/assert.patch b/srcpkgs/kanshi/patches/assert.patch deleted file mode 100644 index 6447552ded3..00000000000 --- a/srcpkgs/kanshi/patches/assert.patch +++ /dev/null @@ -1,37 +0,0 @@ -commit 5ff7fad0a8391c0c3ef87f48e34e4e65c584d000 -Author: Érico Rolim -Date: Tue Feb 2 17:18:42 2021 -0300 - - parser: use abort() instead of assert(0). - - assert(0) has no effect on NDEBUG builds, and means the program will - continue running in an unexpected state. - -diff --git parser.c parser.c -index 40146e8..0ed1ba1 100644 ---- a/parser.c -+++ b/parser.c -@@ -1,5 +1,4 @@ - #define _POSIX_C_SOURCE 200809L --#include - #include - #include - #include -@@ -24,7 +23,7 @@ static const char *token_type_str(enum kanshi_token_type t) { - case KANSHI_TOKEN_NEWLINE: - return "newline"; - } -- assert(0); -+ abort(); - } - - static int parser_read_char(struct kanshi_parser *parser) { -@@ -333,7 +332,7 @@ static struct kanshi_profile_output *parse_profile_output( - } - break; - default: -- assert(0); -+ abort(); - } - has_key = false; - output->fields |= key; diff --git a/srcpkgs/kanshi/template b/srcpkgs/kanshi/template index e6fe40f4a69..fecd2621194 100644 --- a/srcpkgs/kanshi/template +++ b/srcpkgs/kanshi/template @@ -1,7 +1,7 @@ # Template file for 'kanshi' pkgname=kanshi -version=1.1.0 -revision=2 +version=1.2.0 +revision=1 build_style=meson hostmakedepends="pkg-config scdoc wayland-devel" makedepends="wayland-devel" @@ -10,7 +10,7 @@ maintainer="Stacy Harper " license="MIT" homepage="https://github.com/emersion/kanshi" distfiles="https://github.com/emersion/kanshi/archive/v${version}.tar.gz" -checksum=f7e782d2b49380aed370213b8d74af9fe806d9dc94b3c19179475f4b18e26566 +checksum=144428b9e79209b853c4b38a5efb6f16d581a2b9cb96e419b3b0a0f5914bcad4 post_install() { vlicense LICENSE