Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package CoreFreq for openSUSE:Factory checked in at 2025-08-13 18:16:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/CoreFreq (Old) and /work/SRC/openSUSE:Factory/.CoreFreq.new.1085 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "CoreFreq" Wed Aug 13 18:16:06 2025 rev:47 rq:1299248 version:2.0.8 Changes: -------- --- /work/SRC/openSUSE:Factory/CoreFreq/CoreFreq.changes 2025-08-03 13:38:23.861907364 +0200 +++ /work/SRC/openSUSE:Factory/.CoreFreq.new.1085/CoreFreq.changes 2025-08-13 18:16:10.417098420 +0200 @@ -1,0 +2,5 @@ +Wed Aug 6 13:03:56 UTC 2025 - Michael Pujos <pujos.mich...@gmail.com> + +- added fix-leap16-compilation.patch to fix compilation on x86_64 Leap 16.0 + +------------------------------------------------------------------- New: ---- fix-leap16-compilation.patch ----------(New B)---------- New: - added fix-leap16-compilation.patch to fix compilation on x86_64 Leap 16.0 ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ CoreFreq.spec ++++++ --- /var/tmp/diff_new_pack.BzWxN6/_old 2025-08-13 18:16:11.049124833 +0200 +++ /var/tmp/diff_new_pack.BzWxN6/_new 2025-08-13 18:16:11.053125000 +0200 @@ -25,6 +25,8 @@ Source: %{url}/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz Source100: corefreqd.service Source101: preamble +# PATCH-FIX-OPENSUSE fix-leap16-compilation.patch bsc#1247592 +Patch: fix-leap16-compilation.patch BuildRequires: %{kernel_module_package_buildreqs} BuildRequires: pkgconfig BuildRequires: pkgconfig(libsystemd) @@ -40,7 +42,10 @@ Dhyana). %prep -%autosetup -p1 +%setup +%if 0%{?suse_version} == 1600 && 0%{?is_opensuse} +%patch -P 0 -p 1 +%endif %build %make_build ++++++ fix-leap16-compilation.patch ++++++ diff -ruN CoreFreq-2.0.8.orig/x86_64/corefreqk.h CoreFreq-2.0.8/x86_64/corefreqk.h --- CoreFreq-2.0.8.orig/x86_64/corefreqk.h 2025-08-06 14:14:26.771406762 +0200 +++ CoreFreq-2.0.8/x86_64/corefreqk.h 2025-08-06 15:02:28.729320262 +0200 @@ -700,7 +700,7 @@ #if defined(CONFIG_AMD_NB) && LINUX_VERSION_CODE >= KERNEL_VERSION(4, 10, 0) -#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 14, 0) /* asm/amd_node.h */ + static u16 amd_pci_dev_to_node_id(struct pci_dev *pdev) { return PCI_SLOT(pdev->devfn) - AMD_NODE0_PCI_SLOT; @@ -708,9 +708,6 @@ #define GetRootFromNode(_node) pci_get_domain_bus_and_slot( 0x0, 0x0, \ PCI_DEVFN(0x0, 0x0) ) -#else -#define GetRootFromNode(_node) node_to_amd_nb(_node)->root -#endif #define AMD_SMN_RW(node, address, value, write, indexPort, dataPort) \ ({ \