commit xsel for openSUSE:Factory
Hello community, here is the log from the commit of package xsel for openSUSE:Factory checked in at 2019-05-25 13:14:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xsel (Old) and /work/SRC/openSUSE:Factory/.xsel.new.5148 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "xsel" Sat May 25 13:14:37 2019 rev:12 rq:703440 version:1.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/xsel/xsel.changes 2014-10-31 20:38:17.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.xsel.new.5148/xsel.changes 2019-05-25 13:14:43.664459425 +0200 @@ -1,0 +2,5 @@ +Tue May 14 09:39:22 UTC 2019 - Martin Liška <mliska@suse.cz> + +- Add disable-werror.patch in order to handle with a new GCC 9 warning. + +------------------------------------------------------------------- New: ---- disable-werror.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xsel.spec ++++++ --- /var/tmp/diff_new_pack.DawcgY/_old 2019-05-25 13:14:44.128459251 +0200 +++ /var/tmp/diff_new_pack.DawcgY/_new 2019-05-25 13:14:44.132459250 +0200 @@ -1,7 +1,7 @@ # # spec file for package xsel # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2010 Guido Berhoerster. # # All modifications and additions to the file contributed by third parties @@ -13,7 +13,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -24,6 +24,7 @@ Version: 1.2.0 Release: 0 Source: http://www.kfish.org/software/xsel/download/xsel-%{version}.tar.gz +Patch0: disable-werror.patch Url: http://www.kfish.org/software/xsel/ BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{suse_version} < 1220 @@ -40,6 +41,7 @@ %prep %setup -q +%patch0 -p1 %build %if 0%{?suse_version} > 0 && 0%{?suse_version} < 1100 ++++++ disable-werror.patch ++++++ diff --git a/configure b/configure index 7641e96..6c64e85 100755 --- a/configure +++ b/configure @@ -5880,7 +5880,7 @@ fi # Error out on compile warnings if test "x$ac_cv_c_compiler_gnu" = xyes ; then - CFLAGS="$CFLAGS -fno-strict-aliasing -Wall -Werror -g -std=gnu99 -Wdeclaration-after-statement -Wno-unused" + CFLAGS="$CFLAGS -fno-strict-aliasing -Wall -g -std=gnu99 -Wdeclaration-after-statement -Wno-unused" fi # Checks for header files. diff --git a/configure.ac b/configure.ac index e444185..9ab3ba9 100644 --- a/configure.ac +++ b/configure.ac @@ -24,7 +24,7 @@ AC_CHECK_LIB([X11], [XOpenDisplay]) dnl Add some useful warnings if we have gcc. dnl changequote(,)dnl if test "x$ac_cv_prog_gcc" = xyes ; then - CFLAGS="$CFLAGS -fno-strict-aliasing -Wall -Werror -g -std=gnu99 -Wdeclaration-after-statement -Wno-unused" + CFLAGS="$CFLAGS -fno-strict-aliasing -Wall -g -std=gnu99 -Wdeclaration-after-statement -Wno-unused" fi dnl changequote([,])dnl
participants (1)
-
root