代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/gnome-desktop3 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
diff -Naur gnome-desktop-3.38.6.org/libgnome-desktop/gnome-desktop-thumbnail-script.c gnome-desktop-3.38.6.sw/libgnome-desktop/gnome-desktop-thumbnail-script.c
--- gnome-desktop-3.38.6.org/libgnome-desktop/gnome-desktop-thumbnail-script.c 2022-08-19 15:09:31.100000000 +0000
+++ gnome-desktop-3.38.6.sw/libgnome-desktop/gnome-desktop-thumbnail-script.c 2022-08-19 15:11:51.660000000 +0000
@@ -152,7 +152,7 @@
}
/* From https://github.com/flatpak/flatpak/blob/master/common/flatpak-utils.c */
-#if !defined(__i386__) && !defined(__x86_64__) && !defined(__aarch64__) && !defined(__arm__)
+#if !defined(__i386__) && !defined(__x86_64__) && !defined(__aarch64__) && !defined(__arm__) && !defined(__sw_64__)
static const char *
flatpak_get_kernel_arch (void)
{
@@ -226,6 +226,8 @@
return "x86_64";
#elif defined(__aarch64__)
return "aarch64";
+#elif defined(__sw_64__)
+ return "sw_64";
#elif defined(__arm__)
#if G_BYTE_ORDER == G_LITTLE_ENDIAN
return "arm";
@@ -243,6 +245,9 @@
#ifdef SCMP_ARCH_AARCH64
static const guint32 seccomp_aarch64_extra_arches[] = { SCMP_ARCH_ARM, 0 };
#endif
+#ifdef SCMP_ARCH_SW_64
+static const guint32 seccomp_sw_64_extra_arches[] = { SCMP_ARCH_SW_64, 0 };
+#endif
static inline void
cleanup_seccomp (void *p)
@@ -402,6 +407,13 @@
extra_arches = seccomp_aarch64_extra_arches;
}
#endif
+#ifdef SCMP_ARCH_SW_64
+ else if (strcmp (arch, "sw_64") == 0)
+ {
+ arch_id = SCMP_ARCH_SW_64;
+ extra_arches = seccomp_sw_64_extra_arches;
+ }
+#endif
/* We only really need to handle arches on multiarch systems.
* If only one arch is supported the default is fine */
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。