Replace gunixconnection.h file in gio-unix include dir check
(cherry picked from commit 8cb47968bf11f4e8e46cdca55c2acaab31785f58)
This commit is contained in:
parent
37d412b560
commit
918cc8a656
27
0001-Replace-gunixconnection.h-file-in-gio-unix.patch
Normal file
27
0001-Replace-gunixconnection.h-file-in-gio-unix.patch
Normal file
@ -0,0 +1,27 @@
|
||||
From 44b7d6baed8f85cc516fedd6f2f5628efdef5707 Mon Sep 17 00:00:00 2001
|
||||
From: peijiankang <peijiankang@kylinos.cn>
|
||||
Date: Wed, 13 Jul 2022 10:29:39 +0800
|
||||
Subject: [PATCH] Replace gunixconnection.h file in gio-unix include dir check
|
||||
|
||||
---
|
||||
cmake/find-modules/FindGLIB.cmake | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/cmake/find-modules/FindGLIB.cmake b/cmake/find-modules/FindGLIB.cmake
|
||||
index 0564b8d..014ef1c 100644
|
||||
--- a/cmake/find-modules/FindGLIB.cmake
|
||||
+++ b/cmake/find-modules/FindGLIB.cmake
|
||||
@@ -101,8 +101,8 @@ foreach (_component ${GLIB_FIND_COMPONENTS})
|
||||
elseif (${_component} STREQUAL "gio-unix")
|
||||
pkg_check_modules(GIO_UNIX gio-unix-2.0)
|
||||
find_path(GLIB_GIO_UNIX_INCLUDE_DIR
|
||||
- NAMES gio/gunixconnection.h
|
||||
- HINTS ${GIO_UNIX_INCLUDEDIR}
|
||||
+ NAMES gio/gunixfdlist.h
|
||||
+ HINTS ${GIO_UNIX_INCLUDEDIR}
|
||||
PATH_SUFFIXES gio-unix-2.0)
|
||||
|
||||
set(ADDITIONAL_REQUIRED_VARS ${ADDITIONAL_REQUIRED_VARS} GLIB_GIO_UNIX_INCLUDE_DIR)
|
||||
--
|
||||
2.33.0
|
||||
|
||||
@ -1,12 +1,12 @@
|
||||
Name: lxqt-build-tools
|
||||
Version: 0.10.0
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: Packaging tools for LXQt
|
||||
|
||||
License: BSD
|
||||
URL: http://lxqt.org/
|
||||
Source0: https://github.com/lxqt/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz
|
||||
|
||||
Patch01: 0001-Replace-gunixconnection.h-file-in-gio-unix.patch
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: %{?fedora:cmake}%{!?fedora:cmake3} >= 3.0
|
||||
@ -44,7 +44,10 @@ popd
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Jan 13 2022 pei-jiankang<peijiankang@kylinos.cn> - 0.10.0-1
|
||||
* Wed Jul 13 2022 peijiankang<peijiankang@kylinos.cn> - 0.10.0-2
|
||||
- Replace gunixconnection.h file in gio-unix include dir check
|
||||
|
||||
* Thu Jan 13 2022 peijiankang<peijiankang@kylinos.cn> - 0.10.0-1
|
||||
- update to upstream version 0.10.0
|
||||
|
||||
* Mon Dec 28 2020 Ge Wang <wangge20@huawei.com> - 0.6.0-2
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user