From 359f4806bf8a396c2011a79242bbbf61e1659e25 Mon Sep 17 00:00:00 2001 From: ouyanglearnning Date: Thu, 14 Apr 2022 15:10:35 +0800 Subject: [PATCH] fix build error in kylin --- 0001-fix-build-error-in-kylin.patch | 24 ++++++++++++++++++++++++ gdm.spec | 6 +++++- 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 0001-fix-build-error-in-kylin.patch diff --git a/0001-fix-build-error-in-kylin.patch b/0001-fix-build-error-in-kylin.patch new file mode 100644 index 0000000..90c753f --- /dev/null +++ b/0001-fix-build-error-in-kylin.patch @@ -0,0 +1,24 @@ +From be43ef0a359d745f68de3b2a2ef031cc7b8acfab Mon Sep 17 00:00:00 2001 +From: ouyangminxiang +Date: Wed, 30 Mar 2022 11:29:49 +0800 +Subject: [PATCH] fix build error in kylin + +--- + meson.build | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/meson.build b/meson.build +index 9d7b8b7..d358056 100644 +--- a/meson.build ++++ b/meson.build +@@ -173,6 +173,7 @@ if default_pam_config == 'autodetect' + '/etc/exherbo-release': 'exherbo', + '/etc/arch-release': 'arch', + '/etc/lfs-release': 'lfs', ++ '/etc/kylin-release': 'redhat', + } + + foreach _file, _pam_conf : pam_autodetect_map +-- +2.33.0 + diff --git a/gdm.spec b/gdm.spec index 5621334..01940dd 100644 --- a/gdm.spec +++ b/gdm.spec @@ -1,7 +1,7 @@ Name: gdm Epoch: 1 Version: 3.38.2.1 -Release: 5 +Release: 6 Summary: A graphical display manager License: GPLv2+ URL: https://wiki.gnome.org/Projects/GDM @@ -13,6 +13,7 @@ Patch0: 0001-data-add-system-dconf-databases-to-gdm-profile.patch Patch1: 0001-Honor-initial-setup-being-disabled-by-distro-install.patch Patch2: gdm-should-recover-automatically.patch Patch3: 9000-add-openeuler-pam-config.patch +Patch4: 0001-fix-build-error-in-kylin.patch BuildRequires: pam-devel >= 0:0.99.8.1-11 desktop-file-utils >= 0.2.90 BuildRequires: libtool automake autoconf libattr-devel gettext-devel libdmx-devel @@ -189,6 +190,9 @@ fi %{_libdir}/pkgconfig/*.pc %changelog +* Wed Mar 30 2022 ouyangminxiang - 3.38.2-6 +- fix build error in kylin + * Wed Feb 23 2022 wulei - 3.38.2-5 - Change gdm-devel to systemd-pam to rectify gdm.service start failure -- Gitee