The package rpms/eegdev.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/eegdev.git/commit/?id=192a42895a9....
Change:
+ExcludeArch: %{ix86}
Thanks.
Full change:
============
commit 2c0cc1411a8fa15277f87efb8c32208147b3cf14
Author: Sandro <devel(a)penguinpee.nl>
Date: Thu Dec 21 12:31:29 2023 +0100
Make sure config.h is included first (RHBZ#2225765)
Patch from Debian's eegdev package. Apparently, this is a bug in flex.
Debian bug:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1042124
diff --git a/eegdev.spec b/eegdev.spec
index ea4c5f5..5407470 100644
--- a/eegdev.spec
+++ b/eegdev.spec
@@ -12,6 +12,7 @@ Patch2: fix-biosemi-close-hangups.patch
Patch3: fix-bison-grammar-file.patch
Patch4: include-config_h.patch
Patch5: fix-unaligned-memory-access.patch
+Patch6: work-around-flex-bug.patch
#
https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
ExcludeArch: %{ix86}
diff --git a/work-around-flex-bug.patch b/work-around-flex-bug.patch
new file mode 100644
index 0000000..e72a530
--- /dev/null
+++ b/work-around-flex-bug.patch
@@ -0,0 +1,32 @@
+Description: Workaround flex bug for inclusion of config.h when an embedded gnulib is
present
+See
https://github.com/westes/flex/issues/564
+Author: Nilesh Patra <nilesh(a)debian.org>
+Last-Update: 2023-08-25
+--- a/src/core/conffile.l
++++ b/src/core/conffile.l
+@@ -21,6 +21,11 @@
+ %option prefix="cff_"
+ %option header-file="conffile.lex.h"
+ %option outfile="conffile.lex.c"
++%top {
++#if HAVE_CONFIG_H
++#include <config.h>
++#endif
++}
+ %{
+ #if HAVE_CONFIG_H
+ # include <config.h>
+--- a/src/core/confline.l
++++ b/src/core/confline.l
+@@ -21,6 +21,11 @@
+ %option prefix="cfl_"
+ %option header-file="confline.lex.h"
+ %option outfile="confline.lex.c"
++%top {
++#if HAVE_CONFIG_H
++#include <config.h>
++#endif
++}
+ %{
+ #if HAVE_CONFIG_H
+ # include <config.h>
commit 192a42895a96e365e0cc5b54190e960f315a1799
Author: Sandro <devel(a)penguinpee.nl>
Date: Sat Dec 16 14:05:36 2023 +0100
Drop i686 support
The sole consumer of eegdev-devel, eegview, already dropped support for
i686.
diff --git a/eegdev.spec b/eegdev.spec
index 1e807fd..ea4c5f5 100644
--- a/eegdev.spec
+++ b/eegdev.spec
@@ -13,6 +13,9 @@ Patch3: fix-bison-grammar-file.patch
Patch4: include-config_h.patch
Patch5: fix-unaligned-memory-access.patch
+#
https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
+ExcludeArch: %{ix86}
+
BuildRequires: gcc
BuildRequires: automake autoconf libtool
BuildRequires: gnulib-devel