summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2021-10-06 23:47:19 +0900
committerAkinori Hattori <hattya@gentoo.org>2021-10-06 23:47:19 +0900
commitff4292a66a916974fdec86ba74f2358d3b92ec41 (patch)
treeeb821df3178a66b8d8ba58d3a9d3fdbf2494fd96 /app-i18n/fbterm/files/fbterm-autoconf-2.68.patch
parentsys-kernel/vanilla-sources: Linux version updates (diff)
downloadgentoo-ff4292a66a916974fdec86ba74f2358d3b92ec41.tar.gz
gentoo-ff4292a66a916974fdec86ba74f2358d3b92ec41.tar.bz2
gentoo-ff4292a66a916974fdec86ba74f2358d3b92ec41.zip
app-i18n/fbterm: fix build with >=sys-devel/autoconf-2.68
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Akinori Hattori <hattya@gentoo.org>
Diffstat (limited to 'app-i18n/fbterm/files/fbterm-autoconf-2.68.patch')
-rw-r--r--app-i18n/fbterm/files/fbterm-autoconf-2.68.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/app-i18n/fbterm/files/fbterm-autoconf-2.68.patch b/app-i18n/fbterm/files/fbterm-autoconf-2.68.patch
new file mode 100644
index 000000000000..826f3cd3c6bc
--- /dev/null
+++ b/app-i18n/fbterm/files/fbterm-autoconf-2.68.patch
@@ -0,0 +1,24 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -85,16 +85,16 @@
+
+ if test x"$EPOLL" = xauto -a x"$cross_compiling" = xno; then
+ AC_RUN_IFELSE(
+- AC_LANG_PROGRAM([[#include <sys/epoll.h>]],
+- [[if (epoll_create(10) >= 0) return 0; return 1;]]),
++ [AC_LANG_PROGRAM([[#include <sys/epoll.h>]],
++ [[if (epoll_create(10) >= 0) return 0; return 1;]])],
+ [EPOLL=yes]
+ )
+ fi
+
+ if test x"$SIGNALFD" = xauto -a x"$cross_compiling" = xno; then
+ AC_RUN_IFELSE(
+- AC_LANG_PROGRAM([[#include <sys/signalfd.h>]],
+- [[sigset_t mask; if (signalfd(-1, &mask, 0) >= 0) return 0; return 1;]]),
++ [AC_LANG_PROGRAM([[#include <sys/signalfd.h>]],
++ [[sigset_t mask; if (signalfd(-1, &mask, 0) >= 0) return 0; return 1;]])],
+ [SIGNALFD=yes]
+ )
+ fi
+install-data-local: