Hello community,

here is the log from the commit of package xset for openSUSE:Factory checked in 
at 2017-11-23 09:35:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xset (Old)
 and      /work/SRC/openSUSE:Factory/.xset.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xset"

Thu Nov 23 09:35:17 2017 rev:7 rq:544171 version:1.2.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/xset/xset.changes        2013-08-19 
10:51:42.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.xset.new/xset.changes   2017-11-23 
09:35:20.724367564 +0100
@@ -1,0 +2,6 @@
+Mon Nov 20 23:27:49 UTC 2017 - zai...@opensuse.org
+
+- Add U_xset_fix-warning-about-usage-format-string.patch: Fix one
+  last warning about usage() format string.
+
+-------------------------------------------------------------------

New:
----
  U_xset_fix-warning-about-usage-format-string.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ xset.spec ++++++
--- /var/tmp/diff_new_pack.pS2L9z/_old  2017-11-23 09:35:21.872325680 +0100
+++ /var/tmp/diff_new_pack.pS2L9z/_new  2017-11-23 09:35:21.872325680 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package xset
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,6 +24,7 @@
 Group:          System/X11/Utilities
 Url:            http://xorg.freedesktop.org/
 Source0:        
http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.bz2
+Patch0:         U_xset_fix-warning-about-usage-format-string.patch
 BuildRequires:  pkg-config
 BuildRequires:  pkgconfig(x11)
 BuildRequires:  pkgconfig(xext)
@@ -42,6 +43,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure

++++++ U_xset_fix-warning-about-usage-format-string.patch ++++++
>From c3ce2c28deac121db0de50af63c902e5883fe140 Mon Sep 17 00:00:00 2001
From: Matthieu Herrb <matthieu.he...@laas.fr>
Date: Sat, 17 Aug 2013 18:25:49 +0200
Subject: Fix one last warning about usage() format string.

Signed-off-by: Matthieu Herrb <matthieu.he...@laas.fr>
Reviewed-by: Alan Coopersmith <alan.coopersm...@oracle.com>

diff --git a/xset.c b/xset.c
index f461d4b..98f552f 100644
--- a/xset.c
+++ b/xset.c
@@ -325,8 +325,7 @@ main(int argc, char *argv[])
                            usage("low-mark must be greater than 0");
                        }
                        if (himark <= lowmark) {
-                           usage("hi-mark must be greater than low-mark",
-                                 NULL);
+                           usage("hi-mark must be greater than low-mark");
                        }
                        if (i >= argc) {
                            set_font_cache(dpy, himark, lowmark, balance);
-- 
cgit v0.10.2

Reply via email to