Skip to content
Snippets Groups Projects
Commit b55b91d8 authored by Stacy Harper's avatar Stacy Harper Committed by Michał Polański
Browse files

community/swayidle: upgrade to 1.7.1

parent b59f5965
No related branches found
No related tags found
1 merge request!29590community/swayidle: upgrade to 1.7.1
Pipeline #106689 passed
From b0dcc6f6cd404d28836a852e53872200929efb7d Mon Sep 17 00:00:00 2001
From: Stacy Harper <contact@stacyharper.net>
Date: Sat, 15 Jan 2022 17:39:47 +0100
Subject: [PATCH] Fix printf using size_t lineno variable
Signed-off-by: Stacy Harper <contact@stacyharper.net>
---
main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/main.c b/main.c
index 9ea3f0b..b524e73 100644
--- a/main.c
+++ b/main.c
@@ -1004,7 +1004,7 @@ static int load_config(const char *config_path) {
parse_idlehint(p.we_wordc, p.we_wordv);
} else {
line[i] = 0;
- swayidle_log(LOG_ERROR, "Unexpected keyword \"%s\" in line %lu", line, lineno);
+ swayidle_log(LOG_ERROR, "Unexpected keyword \"%s\" in line %zu", line, lineno);
free(line);
return -EINVAL;
}
--
2.34.1
......@@ -2,7 +2,7 @@
# Contributor: Drew DeVault <sir@cmpwn.com>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=swayidle
pkgver=1.7
pkgver=1.7.1
pkgrel=0
pkgdesc="Idle management daemon for Wayland"
url="https://swaywm.org"
......@@ -22,7 +22,9 @@ subpackages="
$pkgname-fish-completion
$pkgname-zsh-completion
"
source="https://github.com/swaywm/swayidle/archive/$pkgver/swayidle-$pkgver.tar.gz"
source="https://github.com/swaywm/swayidle/archive/$pkgver/swayidle-$pkgver.tar.gz
0001-Fix-printf-using-size_t-lineno-variable.patch
"
build() {
abuild-meson \
......@@ -39,5 +41,6 @@ package() {
}
sha512sums="
26a48c510caaadb1ad694426e82880ab1547b7b0ef8ac62a2c2ee41c7b8cc0554f4925b0abdc6dc37f2501a171c0b6ae53c56b045b5c545093f3b0463aefcf24 swayidle-1.7.tar.gz
6e0a6eb3b99a415414cac04299392ede9a8263fa5f4a75815742f5fcd4a5badb3021a7ff699a476c04ca2256b85f4149f8c8dda0484306636ffbaccff615d9da swayidle-1.7.1.tar.gz
768dae9b6bd72637fee0820919e88ff0d045a8175fb24fda61aca2778981c989c21a1d789ee1bdc16b1ed3ae3fee8032a800b67589098fa8bf95ae3468541c49 0001-Fix-printf-using-size_t-lineno-variable.patch
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment