Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package assimp for openSUSE:Factory checked in at 2022-02-02 22:41:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/assimp (Old) and /work/SRC/openSUSE:Factory/.assimp.new.1898 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "assimp" Wed Feb 2 22:41:50 2022 rev:13 rq:950710 version:5.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/assimp/assimp.changes 2022-01-25 17:38:06.653489290 +0100 +++ /work/SRC/openSUSE:Factory/.assimp.new.1898/assimp.changes 2022-02-02 22:42:50.762949341 +0100 @@ -1,0 +2,6 @@ +Wed Feb 2 10:24:27 UTC 2022 - Christophe Giboudeaux <christo...@krop.fr> + +- Add patch to fix build in big endian archs: + * 0001-use-fully-qualified-namespace-in-byteswap-macros.patch + +------------------------------------------------------------------- New: ---- 0001-use-fully-qualified-namespace-in-byteswap-macros.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ assimp.spec ++++++ --- /var/tmp/diff_new_pack.2ZU6Ue/_old 2022-02-02 22:42:51.502944325 +0100 +++ /var/tmp/diff_new_pack.2ZU6Ue/_new 2022-02-02 22:42:51.514944243 +0100 @@ -27,6 +27,8 @@ Source0: %{name}-%{version}.tar.xz # PATCH-FIX-UPSTREAM Patch0: 0001-Fix-build-with-zlib.patch +# PATCH-FIX-UPSTREAM +Patch1: 0001-use-fully-qualified-namespace-in-byteswap-macros.patch BuildRequires: cmake BuildRequires: dos2unix BuildRequires: gcc-c++ ++++++ 0001-use-fully-qualified-namespace-in-byteswap-macros.patch ++++++ >From ed6b6cd65c5a707842366e08eb7804828359b090 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig=20=28Debian/GNU=29?= <umlae...@debian.org> Date: Mon, 31 Jan 2022 14:41:41 +0100 Subject: [PATCH] use fully qualified namespace in byteswap macros Closes: https://github.com/assimp/assimp/issues/4358 --- include/assimp/ByteSwapper.h | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/include/assimp/ByteSwapper.h b/include/assimp/ByteSwapper.h index cf3a703b0..488f7a51d 100644 --- a/include/assimp/ByteSwapper.h +++ b/include/assimp/ByteSwapper.h @@ -211,7 +211,7 @@ template <typename T> struct ByteSwap::_swapper<T,8> { // -------------------------------------------------------------------------------------- #if (defined AI_BUILD_BIG_ENDIAN) # define AI_LE(t) (t) -# define AI_BE(t) ByteSwap::Swapped(t) +# define AI_BE(t) Assimp::ByteSwap::Swapped(t) # define AI_LSWAP2(p) # define AI_LSWAP4(p) # define AI_LSWAP8(p) @@ -219,16 +219,16 @@ template <typename T> struct ByteSwap::_swapper<T,8> { # define AI_LSWAP4P(p) # define AI_LSWAP8P(p) # define LE_NCONST const -# define AI_SWAP2(p) ByteSwap::Swap2(&(p)) -# define AI_SWAP4(p) ByteSwap::Swap4(&(p)) -# define AI_SWAP8(p) ByteSwap::Swap8(&(p)) -# define AI_SWAP2P(p) ByteSwap::Swap2((p)) -# define AI_SWAP4P(p) ByteSwap::Swap4((p)) -# define AI_SWAP8P(p) ByteSwap::Swap8((p)) +# define AI_SWAP2(p) Assimp::ByteSwap::Swap2(&(p)) +# define AI_SWAP4(p) Assimp::ByteSwap::Swap4(&(p)) +# define AI_SWAP8(p) Assimp::ByteSwap::Swap8(&(p)) +# define AI_SWAP2P(p) Assimp::ByteSwap::Swap2((p)) +# define AI_SWAP4P(p) Assimp::ByteSwap::Swap4((p)) +# define AI_SWAP8P(p) Assimp::ByteSwap::Swap8((p)) # define BE_NCONST #else # define AI_BE(t) (t) -# define AI_LE(t) ByteSwap::Swapped(t) +# define AI_LE(t) Assimp::ByteSwap::Swapped(t) # define AI_SWAP2(p) # define AI_SWAP4(p) # define AI_SWAP8(p) @@ -236,12 +236,12 @@ template <typename T> struct ByteSwap::_swapper<T,8> { # define AI_SWAP4P(p) # define AI_SWAP8P(p) # define BE_NCONST const -# define AI_LSWAP2(p) ByteSwap::Swap2(&(p)) -# define AI_LSWAP4(p) ByteSwap::Swap4(&(p)) -# define AI_LSWAP8(p) ByteSwap::Swap8(&(p)) -# define AI_LSWAP2P(p) ByteSwap::Swap2((p)) -# define AI_LSWAP4P(p) ByteSwap::Swap4((p)) -# define AI_LSWAP8P(p) ByteSwap::Swap8((p)) +# define AI_LSWAP2(p) Assimp::ByteSwap::Swap2(&(p)) +# define AI_LSWAP4(p) Assimp::ByteSwap::Swap4(&(p)) +# define AI_LSWAP8(p) Assimp::ByteSwap::Swap8(&(p)) +# define AI_LSWAP2P(p) Assimp::ByteSwap::Swap2((p)) +# define AI_LSWAP4P(p) Assimp::ByteSwap::Swap4((p)) +# define AI_LSWAP8P(p) Assimp::ByteSwap::Swap8((p)) # define LE_NCONST #endif -- 2.34.1