Hello community,

here is the log from the commit of package pfstools for openSUSE:Factory 
checked in at 2019-02-05 11:18:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pfstools (Old)
 and      /work/SRC/openSUSE:Factory/.pfstools.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pfstools"

Tue Feb  5 11:18:37 2019 rev:38 rq:671150 version:2.1.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/pfstools/pfstools.changes        2018-10-17 
08:42:55.977777818 +0200
+++ /work/SRC/openSUSE:Factory/.pfstools.new.28833/pfstools.changes     
2019-02-05 11:18:41.800897934 +0100
@@ -1,0 +2,9 @@
+Wed Jan 23 23:50:30 UTC 2019 - Stefan BrĂ¼ns <[email protected]>
+
+- Correct pfstools-fix-libpfs-linkage.patch
+  * Fix broken octave binary modules - mkoctfile does not specify
+    -Wl,--no-undefined, and modules fail at runtime:
+    ".../pfsget.oct: undefined symbol: _ZN3pfs5DOMIOD1Ev"
+  * Fix random parallel build failures due to missing make dependency
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ pfstools.spec ++++++
--- /var/tmp/diff_new_pack.FfhLSw/_old  2019-02-05 11:18:42.656897463 +0100
+++ /var/tmp/diff_new_pack.FfhLSw/_new  2019-02-05 11:18:42.660897460 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package pfstools
 #
-# Copyright (c) 2018 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
@@ -29,6 +29,7 @@
 Patch2:         pfstools-octinstall.patch
 Patch3:         pfstools-stdlib.patch
 Patch4:         pfstools-1.8.1-fix-return-in-nonvoid.patch
+# PATCH-FIX-OPENSUSE - https://sourceforge.net/p/pfstools/bugs/45/
 Patch5:         pfstools-fix-libpfs-linkage.patch
 # patch derived from 
https://github.com/pld-linux/pfstools/commit/67bd2304e516545f2b203f975ac5dd30d2b479b3
 # I guess it could go upstream as is; sent email to mantiuk at gmail

++++++ pfstools-fix-libpfs-linkage.patch ++++++
--- /var/tmp/diff_new_pack.FfhLSw/_old  2019-02-05 11:18:42.688897445 +0100
+++ /var/tmp/diff_new_pack.FfhLSw/_new  2019-02-05 11:18:42.688897445 +0100
@@ -1,16 +1,30 @@
---- a/src/octave/CMakeLists.txt        2014-12-06 19:08:38.000000000 +0100
-+++ b/src/octave/CMakeLists.txt        2015-03-10 12:06:05.052688361 +0100
-@@ -22,11 +22,12 @@
- #Building phase
- foreach(SRC ${SRC_OCT})
-   get_filename_component(OCT_NAME ${SRC} NAME)
-+  target_link_libraries(pfs)
-   add_custom_command(
+From fffb017ed7a531d3d539445912a0e7832bbb9ac4 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <[email protected]>
+Date: Mon, 21 Jan 2019 20:37:17 +0100
+Subject: [PATCH] Fix linkage of oct files
+
+Add missing dependency (fix failing parallel builds), and use the
+appropriate CMake generator expression to provide the directory for
+the pfs target to mkoctfile.
+---
+ src/octave/CMakeLists.txt | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/octave/CMakeLists.txt b/src/octave/CMakeLists.txt
+index 89d8369..b4af6f1 100644
+--- a/src/octave/CMakeLists.txt
++++ b/src/octave/CMakeLists.txt
+@@ -26,8 +26,8 @@ foreach(SRC ${SRC_OCT})
        OUTPUT ${OCT_NAME}.oct
        COMMAND ${MKOCTFILE} "${CMAKE_CURRENT_SOURCE_DIR}/${OCT_NAME}.cpp"
        ARGS -I${HEADERS} -I${CMAKE_CURRENT_SOURCE_DIR}/help_files
 -      -L${PROJECT_BINARY_DIR}/src/pfs -lpfs
-+      -L${PROJECT_BINARY_DIR}/src/pfs
-       DEPENDS ${OCT_NAME}.cpp
+-      DEPENDS ${OCT_NAME}.cpp
++      -L$<TARGET_LINKER_FILE_DIR:pfs> -lpfs
++      DEPENDS ${OCT_NAME}.cpp pfs
        COMMENT "Generating ${OCT_NAME}.oct"
        VERBATIM)
+ endforeach(SRC)
+-- 
+2.20.1
+


Reply via email to