Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package vigra for openSUSE:Factory checked 
in at 2022-08-17 18:17:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/vigra (Old)
 and      /work/SRC/openSUSE:Factory/.vigra.new.1521 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "vigra"

Wed Aug 17 18:17:04 2022 rev:37 rq:997526 version:1.11.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/vigra/vigra.changes      2021-08-12 
09:02:29.798072060 +0200
+++ /work/SRC/openSUSE:Factory/.vigra.new.1521/vigra.changes    2022-08-17 
18:30:55.688291011 +0200
@@ -1,0 +2,8 @@
+Wed Aug 17 10:52:50 UTC 2022 - Fabian Vogt <fv...@suse.com>
+
+- Drop baselibs.conf, not necessary
+- Use %autosetup
+- Add patch to fix build against newer hdf5 (boo#1202460):
+  * 0001-Add-compatibility-for-hdf5-1-12.patch
+
+-------------------------------------------------------------------

Old:
----
  baselibs.conf

New:
----
  0001-Add-compatibility-for-hdf5-1-12.patch

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

Other differences:
------------------
++++++ vigra.spec ++++++
--- /var/tmp/diff_new_pack.51046c/_old  2022-08-17 18:30:56.440292867 +0200
+++ /var/tmp/diff_new_pack.51046c/_new  2022-08-17 18:30:56.460292917 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package vigra
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,9 +25,10 @@
 Group:          Development/Libraries/C and C++
 URL:            http://ukoethe.github.io/vigra/
 Source:         
https://github.com/ukoethe/vigra/releases/download/Version-1-11-1/vigra-%{version}-src.tar.gz#/%{name}-%{version}.tar.gz
-Source1:        baselibs.conf
 # https://github.com/ukoethe/vigra/issues/496
 Patch0:         vigra-openexr3.patch
+# PATCH-FIX-UPSTREAM
+Patch1:         0001-Add-compatibility-for-hdf5-1-12.patch
 BuildRequires:  cmake
 BuildRequires:  fdupes
 BuildRequires:  fftw3-devel
@@ -90,8 +91,7 @@
 execution speed.
 
 %prep
-%setup -q
-%patch0 -p1
+%autosetup -p1
 sed -i -e "1s|#!.*|#!/usr/bin/python3|" config/vigra-config.in
 
 %build

++++++ 0001-Add-compatibility-for-hdf5-1-12.patch ++++++
>From 4c70103d215bb70d4820cd4569321361d0baade7 Mon Sep 17 00:00:00 2001
From: Mark Harfouche <mark.harfou...@gmail.com>
Date: Tue, 28 Sep 2021 09:45:08 -0400
Subject: [PATCH] Add compatibility for HDF5 1.12

---
 src/impex/hdf5impex.cxx | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/impex/hdf5impex.cxx b/src/impex/hdf5impex.cxx
index 2c68342ea..b202b2fb5 100644
--- a/src/impex/hdf5impex.cxx
+++ b/src/impex/hdf5impex.cxx
@@ -190,7 +190,11 @@ H5O_type_t HDF5_get_type(hid_t loc_id, const char* name)
 {
     // get information about object
     H5O_info_t infobuf;
+#if H5Oget_info_by_name_vers >= 3
+    H5Oget_info_by_name(loc_id, name, &infobuf, H5O_INFO_BASIC, H5P_DEFAULT);
+#else
     H5Oget_info_by_name(loc_id, name, &infobuf, H5P_DEFAULT);
+#endif
     return infobuf.type;
 }
 

Reply via email to