From 6746e43050c1fce7a44e64e6e9cca583b8308521 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sun, 31 May 2020 11:35:11 +0200 Subject: updater-ng: add new patch for lua --- ...c-fix-check-for-busybox-when-cross-compil.patch | 31 ---------------------- 1 file changed, 31 deletions(-) delete mode 100644 updater-ng/patches/configure.ac-fix-check-for-busybox-when-cross-compil.patch (limited to 'updater-ng/patches/configure.ac-fix-check-for-busybox-when-cross-compil.patch') diff --git a/updater-ng/patches/configure.ac-fix-check-for-busybox-when-cross-compil.patch b/updater-ng/patches/configure.ac-fix-check-for-busybox-when-cross-compil.patch deleted file mode 100644 index 0424f0e..0000000 --- a/updater-ng/patches/configure.ac-fix-check-for-busybox-when-cross-compil.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 1048eccde0342f5aa3133623f9cafbfa92eaf039 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= -Date: Thu, 21 May 2020 21:13:37 +0200 -Subject: [PATCH] configure.ac: fix check for busybox when cross compiling - -AC_CHECK_FILE works only if cross compilation is not performed. The -reason is that it tries to check for existence of file on native system. - -We want check if argument is file so implement check doing exactly that -with plain test. ---- - configure.ac | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/configure.ac b/configure.ac -index e384eae3..aec813cb 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -18,7 +18,8 @@ AM_CONDITIONAL([BUSYBOX_EMBED], [test -n "$with_embed_busybox"]) - AC_SUBST([BUSYBOX_EMBED], [$with_embed_busybox]) - AS_IF([test -n "$with_embed_busybox"], - [ -- AC_CHECK_FILE([$with_embed_busybox],,[AC_MSG_ERROR([Invalid argument for --with-embed-busybox])]) -+ AS_IF([test -f "$with_embed_busybox"],, -+ [AC_MSG_ERROR([Invalid argument for --with-embed-busybox])]) - AC_DEFINE_UNQUOTED([BUSYBOX_EMBED], [$with_embed_busybox], [Embded Busybox]) - ]) - --- -2.26.2 - -- cgit v1.2.3