commit grim for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package grim for openSUSE:Factory checked in at 2022-02-28 19:43:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/grim (Old) and /work/SRC/openSUSE:Factory/.grim.new.1958 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "grim" Mon Feb 28 19:43:44 2022 rev:7 rq:958015 version:1.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/grim/grim.changes 2022-02-11 23:09:22.990941402 +0100 +++ /work/SRC/openSUSE:Factory/.grim.new.1958/grim.changes 2022-02-28 19:44:11.453955279 +0100 @@ -1,0 +2,6 @@ +Mon Feb 28 10:07:27 UTC 2022 - Christophe Giboudeaux <christophe@krop.fr> + +- Add upstream change: + * 0001-write_jpg-fix-printf-format-specifier.patch + +------------------------------------------------------------------- New: ---- 0001-write_jpg-fix-printf-format-specifier.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ grim.spec ++++++ --- /var/tmp/diff_new_pack.83RezC/_old 2022-02-28 19:44:12.017955489 +0100 +++ /var/tmp/diff_new_pack.83RezC/_new 2022-02-28 19:44:12.025955493 +0100 @@ -24,7 +24,9 @@ Group: Productivity/Graphics/Other URL: https://github.com/emersion/grim Source: https://github.com/emersion/grim/archive/v%{version}.tar.gz -BuildRequires: meson +# PATCH-FIX-UPSTREAM +Patch0: 0001-write_jpg-fix-printf-format-specifier.patch +BuildRequires: meson >= 0.59.0 BuildRequires: pkgconfig BuildRequires: scdoc BuildRequires: pkgconfig(libjpeg) @@ -37,7 +39,7 @@ This tool can grab images from a Wayland compositor. %prep -%setup -q +%autosetup -p1 %build %meson ++++++ 0001-write_jpg-fix-printf-format-specifier.patch ++++++ From 89e02e663fabc534b7e7039514f60a8c5d70070d Mon Sep 17 00:00:00 2001 From: Simon Ser <contact@emersion.fr> Date: Wed, 9 Feb 2022 01:24:11 +0100 Subject: [PATCH] write_jpg: fix printf format specifier --- write_jpg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/write_jpg.c b/write_jpg.c index 4476f5f..0cb57d3 100644 --- a/write_jpg.c +++ b/write_jpg.c @@ -54,7 +54,7 @@ int write_to_jpeg_stream(pixman_image_t *image, FILE *stream, int quality) { size_t written = fwrite(data, 1, len, stream); if (written < len) { free(data); - fprintf(stderr, "Failed to write jpg; only %zu of %zu bytes written\n", + fprintf(stderr, "Failed to write jpg; only %zu of %lu bytes written\n", written, len); return -1; } -- 2.35.1
participants (1)
-
Source-Sync