Add sw64 architecture
Signed-off-by: Wu Zixuan <wuzx1226@qq.com> (cherry picked from commit 9bb94465e072adb1869185aa773389d98cd1ab94)
This commit is contained in:
parent
5bbf84f255
commit
e716df679a
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
|
Name: gnome-online-miners
|
||||||
Version: 3.34.0
|
Version: 3.34.0
|
||||||
Release: 3
|
Release: 4
|
||||||
Summary: Provide the user to grab the online date function
|
Summary: Provide the user to grab the online date function
|
||||||
License: GPLv2+ and LGPLv2+ and MIT
|
License: GPLv2+ and LGPLv2+ and MIT
|
||||||
URL: https://wiki.gnome.org/Projects/GnomeOnlineMiners
|
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
|
Requires: dbus grilo-plugins gvfs >= 1.18.3
|
||||||
|
|
||||||
Patch0: tracker3.patch
|
Patch0: tracker3.patch
|
||||||
|
%ifarch sw_64
|
||||||
|
Patch1: gnome-online-miners-3.34.0-sw.patch
|
||||||
|
%endif
|
||||||
BuildRequires: autoconf automake libtool
|
BuildRequires: autoconf automake libtool
|
||||||
BuildRequires: autoconf-archive
|
BuildRequires: autoconf-archive
|
||||||
|
|
||||||
@ -51,6 +54,9 @@ echo "%{_libdir}/gnome-online-miners" > %{buildroot}%{_sysconfdir}/ld.so.conf.d/
|
|||||||
%exclude %{_docdir}/gnome-online-miners/ChangeLog
|
%exclude %{_docdir}/gnome-online-miners/ChangeLog
|
||||||
|
|
||||||
%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
|
* Fri Sep 24 2021 Wenlong Ding <wenlong.ding@turbolinux.com.cn> - 3.34.0-3
|
||||||
- Add tracker3.patch
|
- Add tracker3.patch
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user