summaryrefslogtreecommitdiffstats
path: root/debian/patches/40_out-of-tree-build.diff
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/40_out-of-tree-build.diff')
-rw-r--r--debian/patches/40_out-of-tree-build.diff17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/patches/40_out-of-tree-build.diff b/debian/patches/40_out-of-tree-build.diff
new file mode 100644
index 0000000..ac7e581
--- /dev/null
+++ b/debian/patches/40_out-of-tree-build.diff
@@ -0,0 +1,17 @@
+Description: Fix FTBFS with out-of-tree builds.
+Author: Andreas Metzler <ametzler@debian.org>
+Origin: vendor
+Forwarded: no
+Last-Update: 2024-04-21
+
+--- lynx-2.9.1.orig/po/makefile.inn
++++ lynx-2.9.1/po/makefile.inn
+@@ -118,7 +118,7 @@ all-yes: $(SOURCES) $(CATALOGS)
+ all-no:
+
+ en.po :
+- msginit --no-translator -l en -i $(PACKAGE).pot
++ msginit --no-translator -l en -i $(srcdir)/$(PACKAGE).pot
+ # cygwin's msginit 1.19.3 creates "en_US.po" rather than "en.po"...
+ @$(SHELL) -c 'for n in en*.po; \
+ do \