public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Marcin Juszkiewicz <mjuszkiewicz@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/incron] epel8: inotify_init is legacy syscall not supported on AArch64
Date: Thu, 12 Nov 2026 02:01:39 GMT	[thread overview]
Message-ID: <179444889909.1.325854298741947758.rpms-incron-b9119502bc09@fedoraproject.org> (raw)

            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
 

                 reply	other threads:[~2026-11-12  2:01 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179444889909.1.325854298741947758.rpms-incron-b9119502bc09@fedoraproject.org \
    --to=mjuszkiewicz@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox