aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Polański <michal@polanski.me>2021-06-24 21:02:35 +0200
committerMichał Polański <michal@polanski.me>2021-06-24 21:02:35 +0200
commitfc2704b2516ac97c7be85b952cf8c6518f725d5b (patch)
tree85d21fc2c2d5e3bd244f805ede3bc7ad014ae11b
parenta2c7defd0e28b3c8865d991f4e0112e920ed7241 (diff)
downloadaports-fc2704b2516ac97c7be85b952cf8c6518f725d5b.tar.gz
aports-fc2704b2516ac97c7be85b952cf8c6518f725d5b.tar.bz2
aports-fc2704b2516ac97c7be85b952cf8c6518f725d5b.tar.xz
community/kanshi: upgrade to 1.2.0
-rw-r--r--community/kanshi/0001-parser-explicitly-initialize-key-kanshi_output_field.patch26
-rw-r--r--community/kanshi/APKBUILD12
2 files changed, 6 insertions, 32 deletions
diff --git a/community/kanshi/0001-parser-explicitly-initialize-key-kanshi_output_field.patch b/community/kanshi/0001-parser-explicitly-initialize-key-kanshi_output_field.patch
deleted file mode 100644
index fd16ceb5ec..0000000000
--- a/community/kanshi/0001-parser-explicitly-initialize-key-kanshi_output_field.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From 9206c167d6da498d7746dd53dfecd6bd0f39d51d Mon Sep 17 00:00:00 2001
-From: Ariadne Conill <ariadne@dereferenced.org>
-Date: Thu, 17 Dec 2020 05:24:27 -0700
-Subject: [PATCH] parser: explicitly initialize key (kanshi_output_field) to 0
-
-This warning is tripped by GCC 10.
----
- parser.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/parser.c b/parser.c
-index 1f596c0..40146e8 100644
---- a/parser.c
-+++ b/parser.c
-@@ -299,7 +299,7 @@ static struct kanshi_profile_output *parse_profile_output(
- output->name = strdup(parser->tok_str);
-
- bool has_key = false;
-- enum kanshi_output_field key;
-+ enum kanshi_output_field key = 0;
- while (1) {
- if (!parser_next_token(parser)) {
- return NULL;
---
-2.29.2
-
diff --git a/community/kanshi/APKBUILD b/community/kanshi/APKBUILD
index e9cce93ea7..44c9534119 100644
--- a/community/kanshi/APKBUILD
+++ b/community/kanshi/APKBUILD
@@ -2,8 +2,8 @@
# Contributor: Michał Polański <michal@polanski.me>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=kanshi
-pkgver=1.1.0
-pkgrel=2
+pkgver=1.2.0
+pkgrel=0
pkgdesc="Dynamic display configuration for Wayland"
url="https://wayland.emersion.fr/kanshi/"
arch="all"
@@ -11,8 +11,7 @@ license="MIT"
options="!check" # no test suite
makedepends="meson wayland-dev scdoc"
subpackages="$pkgname-doc"
-source="https://github.com/emersion/kanshi/releases/download/v$pkgver/kanshi-$pkgver.tar.gz
- 0001-parser-explicitly-initialize-key-kanshi_output_field.patch"
+source="https://github.com/emersion/kanshi/releases/download/v$pkgver/kanshi-$pkgver.tar.gz"
build() {
abuild-meson . output
@@ -23,5 +22,6 @@ package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
-sha512sums="6582bae7b73ad13cad83e4d537c7c870699a72bf6993becaafa47a3dd70439a3c626ffff4874c8f737b32b62ad7512772c2c3bf54ac2cb74879213bd40b8d7a1 kanshi-1.1.0.tar.gz
-f5df2075615762ef46d4bef48d46736e8987043395a9d120c5b64012199065afc57061037fa04c114d5a4fe45c700e51a09bb4019624cebdfa51aa790a5b013c 0001-parser-explicitly-initialize-key-kanshi_output_field.patch"
+sha512sums="
+d863547f0fcc2289d52220d913a7092af1c164ef0cd118288a1731983d06d1821e03f2defec9b43275b40fee23da25135e2bea39293b9de0ec8a32775369dac0 kanshi-1.2.0.tar.gz
+"