Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ocl-icd for openSUSE:Factory checked 
in at 2025-09-22 16:40:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ocl-icd (Old)
 and      /work/SRC/openSUSE:Factory/.ocl-icd.new.27445 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ocl-icd"

Mon Sep 22 16:40:53 2025 rev:24 rq:1306482 version:2.3.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/ocl-icd/ocl-icd.changes  2025-06-11 
16:24:26.795267165 +0200
+++ /work/SRC/openSUSE:Factory/.ocl-icd.new.27445/ocl-icd.changes       
2025-09-22 16:41:44.554611686 +0200
@@ -1,0 +2,7 @@
+Sat Sep 20 08:13:41 UTC 2025 - Martin Hauke <[email protected]>
+
+- Update to version 2.3.4
+  * Fix sorting that would overwrite dispatch table.
+- Use %ldconfig_scriptlets macro
+
+-------------------------------------------------------------------

Old:
----
  ocl-icd-2.3.3.tar.gz

New:
----
  ocl-icd-2.3.4.tar.gz

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

Other differences:
------------------
++++++ ocl-icd.spec ++++++
--- /var/tmp/diff_new_pack.p6DlHR/_old  2025-09-22 16:41:46.358687486 +0200
+++ /var/tmp/diff_new_pack.p6DlHR/_new  2025-09-22 16:41:46.378688326 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ocl-icd
 #
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2025 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           ocl-icd
-Version:        2.3.3
+Version:        2.3.4
 Release:        0
 Summary:        OpenCL ICD Bindings
 License:        BSD-2-Clause
@@ -86,9 +86,7 @@
 rm -rf instdocs
 mv %{buildroot}%{_datadir}/doc/%{name} instdocs
 
-%post -n libOpenCL1 -p /sbin/ldconfig
-
-%postun -n libOpenCL1 -p /sbin/ldconfig
+%ldconfig_scriptlets -n libOpenCL1
 
 %check
 %make_build check

++++++ ocl-icd-2.3.3.tar.gz -> ocl-icd-2.3.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ocl-icd-2.3.3/NEWS new/ocl-icd-2.3.4/NEWS
--- old/ocl-icd-2.3.3/NEWS      2025-04-02 22:16:06.000000000 +0200
+++ new/ocl-icd-2.3.4/NEWS      2025-09-18 19:35:10.000000000 +0200
@@ -1,3 +1,8 @@
+Version 2.3.4
+=============
+Brice Videau (1):
+      Fix sorting that would overwrite dispatch table
+
 Version 2.3.3
 =============
 Brice Videau (1):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ocl-icd-2.3.3/configure.ac 
new/ocl-icd-2.3.4/configure.ac
--- old/ocl-icd-2.3.3/configure.ac      2025-04-02 22:16:06.000000000 +0200
+++ new/ocl-icd-2.3.4/configure.ac      2025-09-18 19:35:10.000000000 +0200
@@ -6,7 +6,7 @@
 
 
 AC_PREREQ([2.67])
-AC_INIT([OpenCL ICD Loader], [2.3.3], [[email protected]], 
[ocl-icd])
+AC_INIT([OpenCL ICD Loader], [2.3.4], [[email protected]], 
[ocl-icd])
 AC_CONFIG_SRCDIR([ocl_icd_loader.c])
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_HEADERS([config.h])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ocl-icd-2.3.3/ocl_icd_loader.c 
new/ocl-icd-2.3.4/ocl_icd_loader.c
--- old/ocl-icd-2.3.3/ocl_icd_loader.c  2025-04-02 22:16:06.000000000 +0200
+++ new/ocl-icd-2.3.4/ocl_icd_loader.c  2025-09-18 19:35:10.000000000 +0200
@@ -526,8 +526,13 @@
 
       if (KHR_ICD2_HAS_TAG(p->pid))
       {
-          _populate_dispatch_table(p->pid, pltfn_fn_ptr, 
&p->disp_data.dispatch);
-          spltdd_fn_ptr(p->pid, &p->disp_data);
+          p->disp_data = (struct _cl_disp_data *)calloc(1, sizeof(struct 
_cl_disp_data));
+          if (!p->disp_data) {
+            debug(D_WARN, "Not enough memory to allocate dispatch data, 
skipping ICD");
+            continue;
+          }
+          _populate_dispatch_table(p->pid, pltfn_fn_ptr, 
&p->disp_data->dispatch);
+          spltdd_fn_ptr(p->pid, p->disp_data);
           debug(D_LOG, "Found icd 2 platform, using loader managed dispatch");
       }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ocl-icd-2.3.3/ocl_icd_loader.h 
new/ocl-icd-2.3.4/ocl_icd_loader.h
--- old/ocl-icd-2.3.3/ocl_icd_loader.h  2025-04-02 22:16:06.000000000 +0200
+++ new/ocl-icd-2.3.4/ocl_icd_loader.h  2025-09-18 19:35:10.000000000 +0200
@@ -119,14 +119,14 @@
        (object)->dispatch)
 
 struct platform_icd {
-  char                *extension_suffix;
-  char                *version;
-  struct vendor_icd   *vicd;
-  cl_platform_id       pid;
-  cl_uint              ngpus; /* number of GPU devices */
-  cl_uint              ncpus; /* number of CPU devices */
-  cl_uint              ndevs; /* total number of devices, of all types */
-  struct _cl_disp_data disp_data;
+  char                 *extension_suffix;
+  char                 *version;
+  struct vendor_icd    *vicd;
+  cl_platform_id        pid;
+  cl_uint               ngpus; /* number of GPU devices */
+  cl_uint               ncpus; /* number of CPU devices */
+  cl_uint               ndevs; /* total number of devices, of all types */
+  struct _cl_disp_data *disp_data;
 };
 
 __attribute__((visibility("hidden")))

Reply via email to