Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package swayidle for openSUSE:Factory checked in at 2022-01-21 01:25:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/swayidle (Old) and /work/SRC/openSUSE:Factory/.swayidle.new.1938 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "swayidle" Fri Jan 21 01:25:40 2022 rev:9 rq:947712 version:1.7.1 Changes: -------- --- /work/SRC/openSUSE:Factory/swayidle/swayidle.changes 2022-01-17 22:35:15.930292189 +0100 +++ /work/SRC/openSUSE:Factory/.swayidle.new.1938/swayidle.changes 2022-01-21 01:26:21.326202491 +0100 @@ -1,0 +2,6 @@ +Thu Jan 20 10:26:03 UTC 2022 - Bj??rn Lie <bjorn....@gmail.com> + +- Add e81d40fca7533f73319e76e42fa9694b21cc9e6e.patch: Fix printf + using size_t lineno variable. + +------------------------------------------------------------------- New: ---- e81d40fca7533f73319e76e42fa9694b21cc9e6e.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ swayidle.spec ++++++ --- /var/tmp/diff_new_pack.PPIS0L/_old 2022-01-21 01:26:21.726199748 +0100 +++ /var/tmp/diff_new_pack.PPIS0L/_new 2022-01-21 01:26:21.734199693 +0100 @@ -23,7 +23,10 @@ License: MIT Group: System/GUI/Other URL: https://github.com/swaywm/swayidle -Source0: https://github.com/swaywm/swayidle/archive/%{version}.tar.gz +Source0: %{url}/archive/%{version}.tar.gz +# PATCH-FIX-UPSTREAM e81d40fca7533f73319e76e42fa9694b21cc9e6e.patch -- Fix printf using size_t lineno variable +Patch0: %{url}/commit/e81d40fca7533f73319e76e42fa9694b21cc9e6e.patch + BuildRequires: meson >= 0.48.0 BuildRequires: pkgconfig BuildRequires: scdoc @@ -66,7 +69,7 @@ Zsh command line completion support for %{name}. %prep -%setup -q +%autosetup -p1 %build export CFLAGS="%{optflags} -I/usr/include/wayland" ++++++ e81d40fca7533f73319e76e42fa9694b21cc9e6e.patch ++++++ >From e81d40fca7533f73319e76e42fa9694b21cc9e6e Mon Sep 17 00:00:00 2001 From: Stacy Harper <cont...@stacyharper.net> Date: Sat, 15 Jan 2022 17:39:47 +0100 Subject: [PATCH] Fix printf using size_t lineno variable --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index 9ea3f0b3..b524e738 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; }