!10 [sync] PR-9: 添加sw架构
From: @openeuler-sync-bot Reviewed-by: @t_feng Signed-off-by: @t_feng
This commit is contained in:
commit
1320f617f9
13
gnome-online-miners-3.34.0-sw.patch
Executable file
13
gnome-online-miners-3.34.0-sw.patch
Executable 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
|
||||
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user