Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package crossguid for openSUSE:Factory 
checked in at 2023-04-15 22:34:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/crossguid (Old)
 and      /work/SRC/openSUSE:Factory/.crossguid.new.19717 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "crossguid"

Sat Apr 15 22:34:31 2023 rev:3 rq:1079659 version:0.2.2.20190529T083634.ca1bf4b

Changes:
--------
--- /work/SRC/openSUSE:Factory/crossguid/crossguid.changes      2022-08-18 
16:49:24.829480360 +0200
+++ /work/SRC/openSUSE:Factory/.crossguid.new.19717/crossguid.changes   
2023-04-15 22:34:32.526020846 +0200
@@ -1,0 +2,7 @@
+Sat Apr  8 19:04:09 UTC 2023 - Bjørn Lie <bjorn....@gmail.com>
+
+- Add include_missing_cstdint.patch, taken from upstream pull req.
+  Fixes build with new gcc 13.
+- Use ldconfig_scriptlets macro.
+
+-------------------------------------------------------------------

New:
----
  include_missing_cstdint.patch

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

Other differences:
------------------
++++++ crossguid.spec ++++++
--- /var/tmp/diff_new_pack.SIlJIV/_old  2023-04-15 22:34:33.034023779 +0200
+++ /var/tmp/diff_new_pack.SIlJIV/_new  2023-04-15 22:34:33.038023803 +0200
@@ -25,6 +25,7 @@
 Group:          Development/Libraries/C and C++
 URL:            https://github.com/graeme-hill/crossguid
 Source0:        %{name}-%{version}.tar.xz
+Patch0:         include_missing_cstdint.patch
 BuildRequires:  cmake >= 3.8
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(uuid)
@@ -67,8 +68,7 @@
 %install
 %cmake_install
 
-%post   -n lib%{name}%{sover} -p /sbin/ldconfig
-%postun -n lib%{name}%{sover} -p /sbin/ldconfig
+%ldconfig_scriptlets -n lib%{name}%{sover}
 
 %files -n lib%{name}%{sover}
 %license LICENSE

++++++ include_missing_cstdint.patch ++++++
>From 1eb9bea38c320b2b588635cffceaaa2a8d434780 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.k...@gmail.com>
Date: Wed, 25 Jan 2023 22:09:26 -0800
Subject: [PATCH] include missing <cstdint>

gcc 13 moved some includes around and as a result <cstdint> is no longer 
transitively
included [1]. Explicitly include it for uint{32,64}_t.

[1] https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes

Signed-off-by: Khem Raj <raj.k...@gmail.com>
---
 include/crossguid/guid.hpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/crossguid/guid.hpp b/include/crossguid/guid.hpp
index 61e0f17..70966f2 100644
--- a/include/crossguid/guid.hpp
+++ b/include/crossguid/guid.hpp
@@ -29,6 +29,7 @@ THE SOFTWARE.
 #include <jni.h>
 #endif
 
+#include <cstdint>
 #include <functional>
 #include <iostream>
 #include <array>

Reply via email to