texlive-bin: fix build failure for i686 and x86_64 (due to NDK r16?)
[termux-packages] / packages / coreutils / Makefile.in.patch
index faf3f81..677d06c 100644 (file)
@@ -1,9 +1,7 @@
-Use man pages generated by help2man in the host build.
-
-diff -u -r ../coreutils-8.24/Makefile.in ./Makefile.in
---- ../coreutils-8.24/Makefile.in      2015-07-03 17:23:13.000000000 -0400
-+++ ./Makefile.in      2015-07-04 07:38:25.901795437 -0400
-@@ -14242,31 +14242,7 @@
+diff -u -r ../coreutils-8.26/Makefile.in ./Makefile.in
+--- ../coreutils-8.26/Makefile.in      2016-11-30 13:34:55.000000000 -0500
++++ ./Makefile.in      2016-11-30 19:10:09.902334174 -0500
+@@ -14622,32 +14624,8 @@
  @SINGLE_BINARY_FALSE@man/yes.1:       src/yes$(EXEEXT)
  
  .x.1:
@@ -19,7 +17,8 @@ diff -u -r ../coreutils-8.24/Makefile.in ./Makefile.in
 -        && $(MKDIR_P) $$t                                             \
 -        && (cd $$t && $(LN_S) '$(abs_top_builddir)/src/'$$prog$(EXEEXT) \
 -                              $$argv$(EXEEXT))                        \
--        && $(run_help2man)                                            \
+-      && : $${SOURCE_DATE_EPOCH=`cat $(srcdir)/.timestamp 2>/dev/null || :`} \
+-      && export SOURCE_DATE_EPOCH && $(run_help2man)                  \
 -                   --source='$(PACKAGE_STRING)'                       \
 -                   --include=$(srcdir)/man/$$name.x                   \
 -                   --output=$$t/$$name.1                              \
@@ -32,6 +31,7 @@ diff -u -r ../coreutils-8.24/Makefile.in ./Makefile.in
 -        && rm -rf $$t                                                 \
 -        && chmod a-w $@-t                                             \
 -        && mv $@-t $@
++      # Use man pages generated by help2man in the host build.
 +      cp $(top_srcdir)/../host-build/$@ $@
  .PHONY: check-root
  check-root: