public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/incron] epel8: inotify_init is legacy syscall not supported on AArch64
@ 2026-11-12  2:01 Marcin Juszkiewicz
  0 siblings, 0 replies; only message in thread
From: Marcin Juszkiewicz @ 2026-11-12  2:01 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/incron
            Branch : epel8
            Commit : b9119502bc0953639ffa07f7975e349fa59e53bd
            Author : Marcin Juszkiewicz <mjuszkiewicz@redhat.com>
            Date   : 2014-09-10T10:19:52-06:00
            Stats  : +19/-1 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/incron/c/b9119502bc0953639ffa07f7975e349fa59e53bd?branch=epel8

            Log:
            inotify_init is legacy syscall not supported on AArch64

Signed-off-by: Marcin Juszkiewicz <mjuszkiewicz@redhat.com>

---
diff --git a/incron-aarch64.patch b/incron-aarch64.patch
new file mode 100644
index 0000000..fe872ae
--- /dev/null
+++ b/incron-aarch64.patch
@@ -0,0 +1,13 @@
+Index: incron-0.5.10/inotify-cxx.h
+===================================================================
+--- incron-0.5.10.orig/inotify-cxx.h
++++ incron-0.5.10/inotify-cxx.h
+@@ -37,7 +37,7 @@
+ #include <sys/inotify.h>
+ 
+ // Use this if syscalls not defined
+-#ifndef __NR_inotify_init
++#if not defined(__NR_inotify_init) && not defined(__aarch64__)
+ #include <sys/inotify-syscalls.h>
+ #endif // __NR_inotify_init
+ 

diff --git a/incron.spec b/incron.spec
index c836196..24a67e4 100644
--- a/incron.spec
+++ b/incron.spec
@@ -3,7 +3,7 @@
 Summary:     Inotify cron system
 Name:        incron
 Version:     0.5.10
-Release:     7%{?dist}
+Release:     8%{?dist}
 
 Group:       System Environment/Base          
 License:     GPLv2
@@ -11,6 +11,7 @@ URL:         http://inotify.aiken.cz
 Source0:     http://inotify.aiken.cz/download/incron/%{name}-%{version}.tar.bz2
 Source1:     incrond.service
 Patch0:      incron-0.5.10-gcc.patch
+Patch1:      incron-aarch64.patch
 BuildRoot:   %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires: systemd
@@ -29,6 +30,7 @@ filesystem events rather than time periods.
 %prep
 %setup -q
 %patch0 -p1 -b .gcc
+%patch1 -p1 -b .aarch64
 
 %build
 make %{?_smp_mflags} CXXFLAGS="%{optflags}" LDFLAGS="%{__global_ldflags}"
@@ -84,6 +86,9 @@ rm -rf %{buildroot}
 %doc COPYING CHANGELOG README TODO LICENSE-GPL
 
 %changelog
+* Wed Sep 10 2014 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> - 0.5.10-8
+- inotify_init is legacy syscall not supported on AArch64
+
 * Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.10-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-12  2:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-12  2:01 [rpms/incron] epel8: inotify_init is legacy syscall not supported on AArch64 Marcin Juszkiewicz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox