Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kchmviewer for openSUSE:Factory 
checked in at 2023-03-21 17:43:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kchmviewer (Old)
 and      /work/SRC/openSUSE:Factory/.kchmviewer.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kchmviewer"

Tue Mar 21 17:43:22 2023 rev:3 rq:1073348 version:8.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kchmviewer/kchmviewer.changes    2022-02-17 
23:41:56.515700211 +0100
+++ /work/SRC/openSUSE:Factory/.kchmviewer.new.31432/kchmviewer.changes 
2023-03-21 17:44:17.474623229 +0100
@@ -1,0 +2,6 @@
+Mon Mar 20 17:23:58 UTC 2023 - Carsten Ziepke <[email protected]>
+
+- Add kchmviewer-adding-support-for-old-single-pass-gcc-linker.patch,
+  fixes building for openSUSE Leap
+
+-------------------------------------------------------------------

New:
----
  kchmviewer-adding-support-for-old-single-pass-gcc-linker.patch

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

Other differences:
------------------
++++++ kchmviewer.spec ++++++
--- /var/tmp/diff_new_pack.SONAfl/_old  2023-03-21 17:44:18.230626845 +0100
+++ /var/tmp/diff_new_pack.SONAfl/_new  2023-03-21 17:44:18.234626864 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package kchmviewer
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -38,6 +38,8 @@
 Patch5:         InitialPreference-greater-than-okular.patch
 # PATCH-FIX-OPENSUSE https://github.com/gyunaev/kchmviewer/pull/17
 Patch6:         rename-desktop-file.patch
+# PATCH-FIX-UPSTREAM - 
kchmviewer-adding-support-for-old-single-pass-gcc-linker.patch - 
https://github.com/gyunaev/kchmviewer/commit/e3b09edbbae17ad19661a7514afe5a9d84ca0ffa
+Patch7:         kchmviewer-adding-support-for-old-single-pass-gcc-linker.patch
 BuildRequires:  chmlib-devel
 BuildRequires:  libQt5Core-devel
 BuildRequires:  libQt5DBus-devel

++++++ kchmviewer-adding-support-for-old-single-pass-gcc-linker.patch ++++++
>From e3b09edbbae17ad19661a7514afe5a9d84ca0ffa Mon Sep 17 00:00:00 2001
From: George Yunaev <[email protected]>
Date: Sun, 23 May 2021 15:03:06 -0700
Subject: [PATCH] Adding support for old single-pass gcc linker which requires
 a specific order of libraries. Thanks to @u-235 for reporting and patch.

---
 src/src.pro | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/src.pro b/src/src.pro
index e75d6a9..14c31a1 100644
--- a/src/src.pro
+++ b/src/src.pro
@@ -40,7 +40,6 @@ SOURCES += config.cpp \
     textencodings.cpp \
     treeitem_toc.cpp \
     treeitem_index.cpp
-LIBS += -lchm -lzip
 TARGET = ../bin/kchmviewer
 CONFIG += threads \
     warn_on \
@@ -106,6 +105,7 @@ unix:!macx: {
     LIBS += ../lib/libebook/libebook.a
     POST_TARGETDEPS += ../lib/libebook/libebook.a
 }
+LIBS += -lchm -lzip
 
 greaterThan(QT_MAJOR_VERSION, 4) {
     # Qt 5

Reply via email to