Blame patches/coreutils-8.26.local.patch

Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
--- coreutils-8.26/configure.orig	2016-11-30 19:12:35.000000000 +0100
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
+++ coreutils-8.26/configure	2016-12-17 21:40:01.397534600 +0100
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
@@ -67855,3 +67855,11 @@
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
 fi
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
 
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
+# bypass dependency on help2man
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
+if [ x"$cross_compiling" = xyes ]; then
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
+	mkdir -p man;
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
+	for f in $srcdir/src/*.c; do src=$(basename $f); doc="${src%.*}"; echo $doc; touch man/$doc.1; done
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
+	for f in dir sha1sum sha224sum sha256sum sha384sum sha512sum vdir; do touch man/$f.1; done
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
+
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
+	sed -i -e 's/@cross_compiling@/'$cross_compiling'/g' Makefile || exit 2
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
+fi
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
--- coreutils-8.26/src/fs.h.orig	2016-11-30 14:59:20.000000000 +0100
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
+++ coreutils-8.26/src/fs.h	2016-12-17 21:40:01.400534600 +0100
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
@@ -2,7 +2,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
    Please send additions to bug-coreutils@gnu.org and meskes@debian.org.
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
    This file is generated automatically from ./src/stat.c. */
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
 
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
-#if defined __linux__
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
+#if defined __linux__ || defined __midipix__
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
 # define S_MAGIC_ACFS 0x61636673
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
 # define S_MAGIC_ADFS 0xADF5
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
 # define S_MAGIC_AFFS 0xADFF
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
--- coreutils-8.26/Makefile.in.orig	2016-11-30 19:34:55.000000000 +0100
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
+++ coreutils-8.26/Makefile.in	2016-12-18 00:35:47.375117500 +0100
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
@@ -3439,7 +3439,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
 INET_PTON_LIB = @INET_PTON_LIB@
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
 INSTALL = $(cu_install_program) -c
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
 INSTALL_DATA = @INSTALL_DATA@
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
+INSTALL_PROGRAM = install
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
 INSTALL_SCRIPT = @INSTALL_SCRIPT@
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
 INT32_MAX_LT_INTMAX_MAX = @INT32_MAX_LT_INTMAX_MAX@
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
@@ -5018,12 +5018,14 @@
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
     $(bin_SCRIPTS) \
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
     $(EXTRA_PROGRAMS)
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
 
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
+CROSS_COMPILE = @cross_compiling@
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
+
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
 pm = progs-makefile
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
 pr = progs-readme
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
 @CROSS_COMPILING_FALSE@cu_install_program = src/ginstall
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
 
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
 # Use the just-built 'ginstall', when not cross-compiling.
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
-@CROSS_COMPILING_TRUE@cu_install_program = @INSTALL_PROGRAM@
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
+@CROSS_COMPILING_TRUE@cu_install_program = install
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
 info_TEXINFOS = doc/coreutils.texi
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
 doc_coreutils_TEXINFOS = \
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
   doc/perm.texi \
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
@@ -14636,6 +14638,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
 				$$argv$(EXEEXT))			\
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
 	&& : $${SOURCE_DATE_EPOCH=`cat $(srcdir)/.timestamp 2>/dev/null || :`} \
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
 	&& export SOURCE_DATE_EPOCH && $(run_help2man)			\
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
+		     --no-discard-stderr				\
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
 		     --source='$(PACKAGE_STRING)'			\
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
 		     --include=$(srcdir)/man/$$name.x			\
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
 		     --output=$$t/$$name.1				\
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
@@ -14649,6 +14652,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
 	  && chmod a-w $@-t						\
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
 	  && mv $@-t $@
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
 .PHONY: check-root
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
+
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
 check-root:
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
 	$(MAKE) check TESTS='$(root_tests)' SUBDIRS=.
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef