Hello community,

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

Package is "trousers"

Tue Sep 10 00:04:40 2019 rev:41 rq:729491 version:0.3.14

Changes:
--------
--- /work/SRC/openSUSE:Factory/trousers/trousers.changes        2019-04-26 
22:55:01.773292733 +0200
+++ /work/SRC/openSUSE:Factory/.trousers.new.7948/trousers.changes      
2019-09-10 00:04:43.649202475 +0200
@@ -1,0 +2,11 @@
+Mon Sep  9 14:12:22 UTC 2019 - mgerstner <matthias.gerst...@suse.com>
+
+- add fix-lto.patch: This fixes the rpmlint error:
+
+  trousers-devel.x86_64: E: lto-no-text-in-archive (Badness: 10000) 
/usr/lib64/libtddl.a
+
+  objcopy/strip seem not to support the LTO linking and discard the actual
+  text section from libtddl.a. By passing -ffat-lto-objects the object format
+  is kept compatible with unaware tools and fixes the error.
+
+-------------------------------------------------------------------

New:
----
  fix-lto.patch

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

Other differences:
------------------
++++++ trousers.spec ++++++
--- /var/tmp/diff_new_pack.yuWQTB/_old  2019-09-10 00:04:44.229202436 +0200
+++ /var/tmp/diff_new_pack.yuWQTB/_new  2019-09-10 00:04:44.233202436 +0200
@@ -12,7 +12,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/
 #
 
 
@@ -27,6 +27,7 @@
 Source0:        http://downloads.sf.net/trousers/%{name}-%{version}.tar.gz
 Source1:        tcsd.service
 Source2:        baselibs.conf
+Patch0:         fix-lto.patch
 BuildRequires:  gtk2-devel
 BuildRequires:  libtool
 BuildRequires:  openssl-devel
@@ -79,10 +80,11 @@
 
 %prep
 %setup -q -c %{name}-%{version}
+%patch0 -p1
 
 %build
     CC=gcc
-CFLAGS="%{optflags} -Wall -fno-strict-aliasing -fgnu89-inline"
+CFLAGS="%{optflags} -Wall -fno-strict-aliasing -fgnu89-inline 
-ffat-lto-objects"
  SHARE=%{_prefix}/share
    DOC=%{_defaultdocdir}
 export CC CFLAGS

++++++ fix-lto.patch ++++++
Index: trousers-0.3.14/src/tddl/Makefile.am
===================================================================
--- trousers-0.3.14.orig/src/tddl/Makefile.am
+++ trousers-0.3.14/src/tddl/Makefile.am
@@ -1,4 +1,4 @@
 lib_LIBRARIES=libtddl.a
 
 libtddl_a_SOURCES=tddl.c
-libtddl_a_CFLAGS=-DAPPID=\"TCSD\ TDDL\" -I${top_srcdir}/src/include -fPIE -DPIE
+libtddl_a_CFLAGS=-ffat-lto-objects -DAPPID=\"TCSD\ TDDL\" 
-I${top_srcdir}/src/include -fPIE -DPIE

Reply via email to