!10 [sync] PR-9: 添加sw架构

From: @openeuler-sync-bot 
Reviewed-by: @t_feng 
Signed-off-by: @t_feng
This commit is contained in:
openeuler-ci-bot 2023-03-08 08:06:43 +00:00 committed by Gitee
commit 1320f617f9
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 20 additions and 1 deletions

View File

@ -0,0 +1,13 @@
diff -Naur gnome-online-miners-3.34.0.org/src/tracker-ioprio.c gnome-online-miners-3.34.0.sw/src/tracker-ioprio.c
--- gnome-online-miners-3.34.0.org/src/tracker-ioprio.c 2022-08-19 12:39:54.740000000 +0000
+++ gnome-online-miners-3.34.0.sw/src/tracker-ioprio.c 2022-08-19 12:41:00.430000000 +0000
@@ -62,6 +62,9 @@
#elif defined(__ia64__)
#define __NR_ioprio_set 1274
#define __NR_ioprio_get 1275
+#elif defined(__sw_64__)
+#define __NR_ioprio_set 442
+#define __NR_ioprio_get 443
#elif defined(__alpha__)
#define __NR_ioprio_set 442
#define __NR_ioprio_get 443

View File

@ -1,6 +1,6 @@
Name: gnome-online-miners
Version: 3.34.0
Release: 3
Release: 4
Summary: Provide the user to grab the online date function
License: GPLv2+ and LGPLv2+ and MIT
URL: https://wiki.gnome.org/Projects/GnomeOnlineMiners
@ -10,6 +10,9 @@ BuildRequires: libgdata-devel >= 0.15.2 libzapojit-devel >= 0.0.2 pkgconfig tra
Requires: dbus grilo-plugins gvfs >= 1.18.3
Patch0: tracker3.patch
%ifarch sw_64
Patch1: gnome-online-miners-3.34.0-sw.patch
%endif
BuildRequires: autoconf automake libtool
BuildRequires: autoconf-archive
@ -51,6 +54,9 @@ echo "%{_libdir}/gnome-online-miners" > %{buildroot}%{_sysconfdir}/ld.so.conf.d/
%exclude %{_docdir}/gnome-online-miners/ChangeLog
%changelog
* Thu Oct 20 2022 wuzx<wuzx1226@qq.com> - 3.34.0-4
- add sw64 patch
* Fri Sep 24 2021 Wenlong Ding <wenlong.ding@turbolinux.com.cn> - 3.34.0-3
- Add tracker3.patch