Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libxcam for openSUSE:Factory checked in at 2024-01-29 22:33:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libxcam (Old) and /work/SRC/openSUSE:Factory/.libxcam.new.1815 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libxcam" Mon Jan 29 22:33:55 2024 rev:10 rq:1142588 version:1.5.0 Changes: -------- --- /work/SRC/openSUSE:Factory/libxcam/libxcam.changes 2022-07-05 12:09:43.496577822 +0200 +++ /work/SRC/openSUSE:Factory/.libxcam.new.1815/libxcam.changes 2024-01-29 22:34:39.185687607 +0100 @@ -1,0 +2,6 @@ +Mon Jan 22 12:41:44 UTC 2024 - Antonio Larrosa <alarr...@suse.com> + +- Add patch to fix a FTBFS error due to missing include: + * fix-missing-include.patch + +------------------------------------------------------------------- New: ---- fix-missing-include.patch BETA DEBUG BEGIN: New:- Add patch to fix a FTBFS error due to missing include: * fix-missing-include.patch BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libxcam.spec ++++++ --- /var/tmp/diff_new_pack.XJa6zC/_old 2024-01-29 22:34:39.689705849 +0100 +++ /var/tmp/diff_new_pack.XJa6zC/_new 2024-01-29 22:34:39.689705849 +0100 @@ -1,7 +1,7 @@ # # spec file for package libxcam # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -36,6 +36,8 @@ Patch3: 0001-Fix-multiple-definitions-of-XCam-ShaderID-ODR-violat.patch # PATCH-FIX-UPSTREAM Fix build with GCC 12 Patch4: https://github.com/intel/libxcam/pull/802/commits/d13b69e6332277a4a59cd736439e17851fe8be74.patch#/libxcam-1.5.0-gcc-12.patch +# PATCH-FIX-OPENSUSE Fix FTBFS error +Patch5: fix-missing-include.patch BuildRequires: Mesa-libGLESv3-devel BuildRequires: autoconf BuildRequires: automake ++++++ fix-missing-include.patch ++++++ From: Antonio Larrosa <alarr...@suse.com> Subject: Fix build error [ 50s] cl_memory.cpp: In static member function 'static uint32_t XCam::CLImage::calculate_pixel_bytes(const cl_image_format&)': [ 50s] cl_memory.cpp:332:10: error: 'CL_UNORM_INT24' was not declared in this scope; did you mean 'CL_UNORM_INT8'? [ 50s] 332 | case CL_UNORM_INT24: [ 50s] | ^~~~~~~~~~~~~~ [ 50s] | CL_UNORM_INT8 Index: libxcam-release_1.5.0/modules/ocl/cl_memory.cpp =================================================================== --- libxcam-release_1.5.0.orig/modules/ocl/cl_memory.cpp +++ libxcam-release_1.5.0/modules/ocl/cl_memory.cpp @@ -21,6 +21,7 @@ #include "cl_utils.h" #include "cl_memory.h" #include "cl_error.h" +#include <CL/cl_gl.h> namespace XCam {