Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package intel-opencl for openSUSE:Factory 
checked in at 2023-03-27 18:18:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/intel-opencl (Old)
 and      /work/SRC/openSUSE:Factory/.intel-opencl.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "intel-opencl"

Mon Mar 27 18:18:00 2023 rev:6 rq:1074709 version:21.43.21438

Changes:
--------
--- /work/SRC/openSUSE:Factory/intel-opencl/intel-opencl.changes        
2022-11-10 14:22:21.874376885 +0100
+++ /work/SRC/openSUSE:Factory/.intel-opencl.new.31432/intel-opencl.changes     
2023-03-27 18:18:09.783702713 +0200
@@ -1,0 +2,5 @@
+Mon Mar 27 12:09:02 UTC 2023 - Patrik Jakobsson <[email protected]>
+
+- Fix build issues for missing include of cstdio with gcc13
+  * 0001-include-cstdint-needed-when-compiling-with-gcc13.patch
+-------------------------------------------------------------------

New:
----
  0001-include-cstdint-needed-when-compiling-with-gcc13.patch

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

Other differences:
------------------
++++++ intel-opencl.spec ++++++
--- /var/tmp/diff_new_pack.yzbOzb/_old  2023-03-27 18:18:10.411706026 +0200
+++ /var/tmp/diff_new_pack.yzbOzb/_new  2023-03-27 18:18:10.415706048 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package intel-opencl
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,6 +25,7 @@
 URL:            https://github.com/intel/compute-runtime
 Source0:        
https://github.com/intel/compute-runtime/archive/%{version}/compute-runtime-%{version}.tar.gz
 Patch0:         0001-Include-memory-in-generate_cpp_array.cpp.patch
+Patch1:         0001-include-cstdint-needed-when-compiling-with-gcc13.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  libigc-devel

++++++ 0001-include-cstdint-needed-when-compiling-with-gcc13.patch ++++++
>From b05bb79915a6ad56b5509eac2d2599bb3b81e076 Mon Sep 17 00:00:00 2001
From: Patrik Jakobsson <[email protected]>
Date: Mon, 27 Mar 2023 14:01:39 +0200
Subject: [PATCH] include cstdint needed when compiling with gcc13

Signed-off-by: Patrik Jakobsson <[email protected]>
---
 shared/source/os_interface/linux/print.cpp | 1 +
 shared/source/tbx/tbx_sockets.h            | 1 +
 shared/source/tbx/tbx_sockets_imp.h        | 1 +
 3 files changed, 3 insertions(+)

diff --git a/shared/source/os_interface/linux/print.cpp 
b/shared/source/os_interface/linux/print.cpp
index d6a3def..da9ad99 100644
--- a/shared/source/os_interface/linux/print.cpp
+++ b/shared/source/os_interface/linux/print.cpp
@@ -9,6 +9,7 @@
 
 #include <cstdio>
 #include <iostream>
+#include <cstdint>
 
 void printToSTDOUT(const char *str) {
     fprintf(stdout, "%s", str);
diff --git a/shared/source/tbx/tbx_sockets.h b/shared/source/tbx/tbx_sockets.h
index 9b7f786..0ec475c 100644
--- a/shared/source/tbx/tbx_sockets.h
+++ b/shared/source/tbx/tbx_sockets.h
@@ -7,6 +7,7 @@
 
 #pragma once
 #include <string>
+#include <cstdint>
 
 namespace NEO {
 
diff --git a/shared/source/tbx/tbx_sockets_imp.h 
b/shared/source/tbx/tbx_sockets_imp.h
index 738f261..b3fe551 100644
--- a/shared/source/tbx/tbx_sockets_imp.h
+++ b/shared/source/tbx/tbx_sockets_imp.h
@@ -11,6 +11,7 @@
 #include "os_socket.h"
 
 #include <iostream>
+#include <cstdint>
 
 namespace NEO {
 
-- 
2.40.0

Reply via email to