summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLucía Andrea Illanes Albornoz <lucia@luciaillanes.de>2023-03-27 09:20:43 +0200
committerLucía Andrea Illanes Albornoz <lucia@luciaillanes.de>2023-03-27 09:20:43 +0200
commitb7cca31d9092af8b11c038504eb7246b25fcaea4 (patch)
treedea758ad0af04d5dd77304667aaa618ae158843f
parent938c5c45b976387ceea5792b0ce9717dd97667eb (diff)
downloadmidipix_build-b7cca31d9092af8b11c038504eb7246b25fcaea4.tar.bz2
midipix_build-b7cca31d9092af8b11c038504eb7246b25fcaea4.tar.xz
patches/elinks-0.15.0_pre.local.patch: fix broken configure script.
groups/241.native_packages_inet.group:${PKG_MAKEFLAGS_PARALLELISE}: build w/ -j1 due to broken Makefiles.
-rw-r--r--groups/241.native_packages_inet.group1
-rw-r--r--patches/elinks-0.15.0_pre.local.patch27
2 files changed, 24 insertions, 4 deletions
diff --git a/groups/241.native_packages_inet.group b/groups/241.native_packages_inet.group
index e46236be..30b4c384 100644
--- a/groups/241.native_packages_inet.group
+++ b/groups/241.native_packages_inet.group
@@ -52,6 +52,7 @@ ac_cv_path_PS2PDF=false"};
: ${PKG_ELINKS_URL:=https://github.com/rkd77/elinks/releases/download/v${PKG_ELINKS_VERSION}/elinks-${PKG_ELINKS_VERSION}.tar.xz};
: ${PKG_ELINKS_CONFIGURE_ARGS_EXTRA:="--enable-fastmem --enable-88-colors --enable-256-colors --enable-true-color --enable-leds --enable-gemini --enable-gopher --enable-html-highlight --enable-fsp --with-terminfo --with-libevent --with-lzma --with-gnutls --without-spidermonkey --without-x"};
: ${PKG_ELINKS_CFLAGS_CONFIGURE_EXTRA:="-I${PREFIX_NATIVE}/include/ncurses"};
+: ${PKG_ELINKS_MAKEFLAGS_PARALLELISE:="-j1"};
: ${PKG_FETCHMAIL_DEPENDS:="libressl"};
: ${PKG_FETCHMAIL_SHA256SUM:=c7500bed3b0bb85722f7cf2d980e74a879ac57b13cfd225d278179d671c0f5e8};
: ${PKG_FETCHMAIL_VERSION:=6.4.0.beta4};
diff --git a/patches/elinks-0.15.0_pre.local.patch b/patches/elinks-0.15.0_pre.local.patch
index e57afb81..64b1684f 100644
--- a/patches/elinks-0.15.0_pre.local.patch
+++ b/patches/elinks-0.15.0_pre.local.patch
@@ -1,7 +1,26 @@
-diff -ru elinks-0.15.0.orig/configure elinks-0.15.0/configure
---- elinks-0.15.0.orig/configure 2021-12-24 20:57:15.000000000 +0100
-+++ elinks-0.15.0/configure 2022-01-01 15:57:15.992481385 +0100
-@@ -13347,59 +13347,9 @@
+--- elinks-0.15.0/configure.orig 2021-12-24 20:57:15.000000000 +0100
++++ elinks-0.15.0/configure 2023-03-27 08:37:42.627732227 +0200
+@@ -10345,18 +10345,10 @@
+ fi
+ fi
+
+- for ac_header in term.h
+-do :
+- ac_fn_cxx_check_header_compile "$LINENO" "term.h" "ac_cv_header_term_h" "$ac_includes_default"
+-if test "x$ac_cv_header_term_h" = xyes
+-then :
++ac_cv_header_term_h=yes
+ printf "%s\n" "#define HAVE_TERM_H 1" >>confdefs.h
+ CONFIG_TERMINFO=yes
+-else $as_nop
+- CONFIG_TERMINFO=no; break;
+-fi
+
+-done
+ if test "$CONFIG_TERMINFO" = yes; then
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for setupterm in -ltinfo" >&5
+ printf %s "checking for setupterm in -ltinfo... " >&6; }
+@@ -13347,59 +13339,9 @@
chosen_ssl_library="GNUTLS"