Hello community,

here is the log from the commit of package ksh for openSUSE:Factory checked in 
at 2019-09-16 10:50:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ksh (Old)
 and      /work/SRC/openSUSE:Factory/.ksh.new.7948 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ksh"

Mon Sep 16 10:50:59 2019 rev:109 rq:730729 version:93vu

Changes:
--------
--- /work/SRC/openSUSE:Factory/ksh/ksh.changes  2017-12-21 11:29:53.381951662 
+0100
+++ /work/SRC/openSUSE:Factory/.ksh.new.7948/ksh.changes        2019-09-16 
10:51:01.911167342 +0200
@@ -1,0 +2,6 @@
+Fri Sep  6 17:25:26 CEST 2019 - [email protected]
+
+- fix build by removing -Werror=return-type and using
+  -ffat-lto-objects
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ ksh.spec ++++++
--- /var/tmp/diff_new_pack.RKJOJL/_old  2019-09-16 10:51:03.071167191 +0200
+++ /var/tmp/diff_new_pack.RKJOJL/_new  2019-09-16 10:51:03.075167190 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ksh
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -66,7 +66,7 @@
 Version:        93vu
 Release:        0
 Summary:        Korn Shell
-License:        CPL-1.0 and EPL-1.0
+License:        CPL-1.0 AND EPL-1.0
 Group:          System/Shells
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Source:         INIT.%{date}.tar.bz2
@@ -274,6 +274,8 @@
 %patch63 -p 1
 
 %build
+%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
+
   #
   # Check for a clean signal environment for runtime tests
   #
@@ -322,6 +324,8 @@
   RPM_OPT_FLAGS="${RPM_OPT_FLAGS//-as-needed/-no-as-needed/}"
   # Use POSIX as environment
   test -n "${!LC_*}" && unset "${!LC_*}"
+  # ksh currently does not build with -Werror=return-type
+  RPM_OPT_FLAGS="${RPM_OPT_FLAGS//-Werror=return-type/}"
   cflags ()
   {
       set +x


Reply via email to