Conan_Kudo / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone

Blame coreutils-8.23.local.patch

Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
diff -ru --new-file a/configure b/configure
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
--- a/configure	2014-07-18 18:07:39.000000000 -0400
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
+++ b/configure	2015-06-01 12:42:55.874926255 -0400
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
@@ -66789,3 +66791,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) cddeef
diff -ru --new-file a/Makefile.in b/Makefile.in
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
--- a/Makefile.in	2014-07-18 18:22:24.000000000 -0400
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
+++ b/Makefile.in	2015-06-01 12:03:29.274957961 -0400
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
@@ -4911,6 +4911,8 @@
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
@@ -14061,6 +14063,10 @@
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
 # Include the generated man dependencies.
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
 @AMDEP_TRUE@@am__include@ man/dynamic-deps.mk
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
 
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
+ifeq ($(CROSS_COMPILE),yes)
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
+.x.1:
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
+
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
+else
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
 .x.1:
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
 	$(AM_V_GEN)name=`echo $@ | sed 's|.*/||; s|\.1$$||'` || exit 1;	\
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
 	case $$name in							\
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
@@ -14086,6 +14092,8 @@
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
+endif
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
 
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
diff -ru --new-file a/src/fs.h b/src/fs.h
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
--- a/src/fs.h	2014-07-18 14:33:26.000000000 -0400
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
+++ b/src/fs.h	2015-06-01 10:19:57.475041184 -0400
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
@@ -2,7 +2,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
    Please send additions to bug-coreutils@gnu.org and meskes@debian.org.
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
    This file is generated automatically from ./src/stat.c. */
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
 
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
-#if defined __linux__
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
+#if defined __linux__ || defined __midipix__
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
 # define S_MAGIC_ADFS 0xADF5
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
 # define S_MAGIC_AFFS 0xADFF
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
 # define S_MAGIC_AFS 0x5346414F