mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-10 23:07:05 +02:00
testing/py3-inotify: enable aarch64
This commit is contained in:
parent
164a4965c7
commit
a577a6cdcb
@ -2,14 +2,15 @@
|
||||
pkgname=py3-inotify
|
||||
_pkgname=pyinotify
|
||||
pkgver=0.9.6
|
||||
pkgrel=7
|
||||
pkgrel=8
|
||||
pkgdesc="Linux filesystem events monitoring"
|
||||
options="!check" # No testsuite
|
||||
url="http://pypi.python.org/pypi/pyinotify"
|
||||
arch="all !aarch64" # Unsupported architecture
|
||||
arch="all"
|
||||
license="MIT"
|
||||
makedepends="py3-setuptools python3-dev"
|
||||
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz
|
||||
aarch64.patch
|
||||
force-c-ext.patch
|
||||
"
|
||||
builddir="$srcdir"/$_pkgname-$pkgver
|
||||
@ -26,4 +27,5 @@ package() {
|
||||
}
|
||||
|
||||
sha512sums="b52de43293b06b32236e90b7c33fac061f3095cd7d4aecec89a099d56020db1a85440ab9dcc8b521238c001fc49a1f37d1b16d621bc1acab4d7273aebcaadbc5 pyinotify-0.9.6.tar.gz
|
||||
a8c401de04b9c9af9ee51f93bc70c3d7de92f9087f80e94a94281cc251e76dcbe7978eff34e44039e519312637d75b32ea447b019522298fe93a8b9449425ae1 aarch64.patch
|
||||
28fe821c7fd4edf5f359c2d6026bfe95477ed167ea6948b3785d3c1708513c0e038dd4d9f3988a26c02c43bfaac9acb0357ee7edd6d5b0b7ae6c40000e31c485 force-c-ext.patch"
|
||||
|
||||
24
testing/py3-inotify/aarch64.patch
Normal file
24
testing/py3-inotify/aarch64.patch
Normal file
@ -0,0 +1,24 @@
|
||||
From d2431fef8dfcf75adb5eae8357be4f19a8178234 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= <besser82@fedoraproject.org>
|
||||
Date: Sat, 15 Apr 2017 14:19:32 +0200
|
||||
Subject: [PATCH] Add system calls numbers for aarch64
|
||||
|
||||
---
|
||||
common/inotify_syscalls.c | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/common/inotify_syscalls.c b/common/inotify_syscalls.c
|
||||
index 5e1f95d..bb173f8 100644
|
||||
--- a/common/inotify_syscalls.c
|
||||
+++ b/common/inotify_syscalls.c
|
||||
@@ -60,6 +60,10 @@
|
||||
# define __NR_inotify_init 316
|
||||
# define __NR_inotify_add_watch 317
|
||||
# define __NR_inotify_rm_watch 318
|
||||
+# elif defined (__aarch64__)
|
||||
+# define __NR_inotify_init 26
|
||||
+# define __NR_inotify_add_watch 27
|
||||
+# define __NR_inotify_rm_watch 28
|
||||
# elif defined (__sh__)
|
||||
# define __NR_inotify_init 290
|
||||
# define __NR_inotify_add_watch 291
|
||||
Loading…
x
Reference in New Issue
Block a user