From f74a840064b964e1b31b3aef04197b1a9a991b40 Mon Sep 17 00:00:00 2001 From: leigh123linux Date: Jan 30 2020 09:44:55 +0000 Subject: Suppress s390x gcc-10 build issue --- diff --git a/gcc-10.patch b/gcc-10.patch new file mode 100644 index 0000000..161996e --- /dev/null +++ b/gcc-10.patch @@ -0,0 +1,11 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -30,6 +30,7 @@ + -Werror=init-self \ + -Werror=format-security \ + -Werror=format=2 \ ++ -Wno-error=format-overflow= \ + -Werror=missing-include-dirs" + WARN_CXXFLAGS="-Wall" + fi + diff --git a/lightdm.spec b/lightdm.spec index 6955b55..7ba3652 100644 --- a/lightdm.spec +++ b/lightdm.spec @@ -11,7 +11,7 @@ Name: lightdm Summary: A cross-desktop Display Manager Version: 1.30.0 -Release: 7%{?dist} +Release: 8%{?dist} %if 0%{?rhel} >= 8 # Exclude failing arch @@ -44,8 +44,10 @@ Source25: 50-disable-guest.conf Source26: 50-remove-wayland-session.conf Source27: 50-run-directory.conf +Patch0: gcc-10.patch + # Upstreamed: -Patch0: %{giturl}/pull/5.patch#/lightdm-1.25.1-disable_dmrc.patch +Patch1: %{giturl}/pull/5.patch#/lightdm-1.25.1-disable_dmrc.patch # Upstream commits @@ -319,6 +321,9 @@ fi %changelog +* Thu Jan 30 2020 Leigh Scott - 1.30.0-8 +- Suppress s390x gcc-10 build issue + * Wed Jan 29 2020 Fedora Release Engineering - 1.30.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild