From 4953a15f2b2a40e008722635af642a781395d475 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98rjan=20Malde?= Date: Thu, 23 Dec 2021 09:11:24 +0100 Subject: groups/211.native_packages_cmdline.group: adds sharutils v4.15 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ørjan Malde --- patches/sharutils-4.15_pre.local.patch | 38 ++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 patches/sharutils-4.15_pre.local.patch (limited to 'patches') diff --git a/patches/sharutils-4.15_pre.local.patch b/patches/sharutils-4.15_pre.local.patch new file mode 100644 index 00000000..8aa3f75c --- /dev/null +++ b/patches/sharutils-4.15_pre.local.patch @@ -0,0 +1,38 @@ +diff -ru sharutils-4.15.orig/configure sharutils-4.15/configure +--- sharutils-4.15.orig/configure 2015-02-07 19:52:28.000000000 +0100 ++++ sharutils-4.15/configure 2021-12-23 08:45:58.698825416 +0100 +@@ -32620,34 +32620,10 @@ + CATALOGS="$new_CATALOGS" + fi + +-if test "$cross_compiling" = yes; then : +- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +-as_fn_error $? "cannot run test program while cross compiling +-See \`config.log' for more details" "$LINENO" 5; } +-else +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +-int +-main () +-{ +- FILE * fp = popen ("date", "rb"); +- exit (fp == NULL); +- ; +- return 0; +-} +-_ACEOF +-if ac_fn_c_try_run "$LINENO"; then : + + $as_echo "#define BINARY_MODE_POPEN 1" >>confdefs.h + + +-fi +-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ +- conftest.$ac_objext conftest.beam conftest.$ac_ext +-fi +- + # INVOKE_LIBOPTS_MACROS + ac_cv_header_alloca_h=yes + ac_cv_header_ctype_h=yes -- cgit v1.2.3