!188 fix build error of ddcutil-2.0.0
From: @peijiankang Reviewed-by: @dou33 Signed-off-by: @dou33
This commit is contained in:
commit
8890ecbc78
25
fix-build-error-of-ddcutil-2.0.0.patch
Normal file
25
fix-build-error-of-ddcutil-2.0.0.patch
Normal file
@ -0,0 +1,25 @@
|
||||
From d5649623556085cb7f97cbc9e047c77514a554a5 Mon Sep 17 00:00:00 2001
|
||||
From: peijiankang <peijiankang@kylinos.cn>
|
||||
Date: Mon, 29 Jan 2024 11:33:15 +0800
|
||||
Subject: [PATCH] fix build error of ddcutil-2.0.0
|
||||
|
||||
---
|
||||
registeredQDbus/sysdbusregister.cpp | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/registeredQDbus/sysdbusregister.cpp b/registeredQDbus/sysdbusregister.cpp
|
||||
index 46766c3..ab63fb8 100644
|
||||
--- a/registeredQDbus/sysdbusregister.cpp
|
||||
+++ b/registeredQDbus/sysdbusregister.cpp
|
||||
@@ -761,7 +761,7 @@ void SysdbusRegister::_getDisplayInfoThread()
|
||||
display.edidHash = edidHash;
|
||||
display.I2C_busType = QString::number(dlist_loc->info[i].path.path.i2c_busno);
|
||||
ddca_create_edid_display_identifier(dlist_loc->info[i].edid_bytes,&did);
|
||||
- ddca_create_display_ref(did,&ddca_dref);
|
||||
+ ddca_get_display_ref(did,&ddca_dref);
|
||||
ddca_open_display2(ddca_dref,false,&display.ddca_dh_loc);
|
||||
displayInfo_V.append(display);
|
||||
}
|
||||
--
|
||||
2.41.0
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
Name: ukui-control-center
|
||||
Version: 3.1.2
|
||||
Release: 28
|
||||
Release: 29
|
||||
Summary: utilities to configure the UKUI desktop
|
||||
License: GPL-2+
|
||||
URL: http://www.ukui.org
|
||||
@ -30,6 +30,7 @@ Patch25: update-formats_loacle-and-language.patch
|
||||
|
||||
Patch200: fix-build-error-of-libkscreen-qt5-5.27.6.patch
|
||||
Patch201: fix-build-error-of-clang.patch
|
||||
Patch202: fix-build-error-of-ddcutil-2.0.0.patch
|
||||
BuildRequires: qt5-qtsvg-devel
|
||||
BuildRequires: gsettings-qt-devel
|
||||
BuildRequires: glib2-devel
|
||||
@ -150,6 +151,12 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Jan 29 2024 peijiankang <peijiankang@kylinos.cn> - 3.1.2-29
|
||||
- Type:bugfix
|
||||
- ID :NA
|
||||
- SUG :NA
|
||||
- DESC:add fix-build-error-of-ddcutil-2.0.0.patch
|
||||
|
||||
* Mon Sep 25 2023 peijiankang <peijiankang@kylinos.cn> - 3.1.2-28
|
||||
- Type:bugfix
|
||||
- ID :NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user