void-packages/srcpkgs/zile/patches/zile.1.in.patch

15 lines
761 B
Diff

Use shipped zile.1.in, otherwise, fails on cross-compile
Index: zile-2.6.2/Makefile.in
===================================================================
--- zile-2.6.2.orig/Makefile.in
+++ zile-2.6.2/Makefile.in
@@ -2934,7 +2934,7 @@ doc/zile.1: $(srcdir)/doc/zile.1.in doc/
$(edit) $(abs_srcdir)/doc/zile.1.in >$@.tmp
mv $@.tmp $@
-$(srcdir)/doc/zile.1.in: doc/man-extras build-aux/zile-help2man-wrapper configure.ac $(builddir)/src/zile$(EXEEXT)
+$(srcdir)/doc/zile.1.in:
@test -d doc || mkdir doc
$(AM_V_GEN)if ( touch $@.w && rm -f $@.w; ) >/dev/null 2>&1; then \
$(srcdir)/build-aux/missing --run $(HELP2MAN) --output=$@ --no-info --name="Zile Is Lossy Emacs" --include $(srcdir)/doc/man-extras $(srcdir)/build-aux/zile-help2man-wrapper; \