aboutsummaryrefslogtreecommitdiffstats
path: root/community/libcanberra/fix-build-with-no-lynx-installed.patch
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2021-09-19 01:07:45 +0200
committerJakub Jirutka <jakub@jirutka.cz>2021-09-19 01:36:20 +0200
commitd6476ea9a0671b3fe3ee2ae7f3b93af4c5dd4312 (patch)
tree9b6abb663b5f194a038ab870b53269a198cd65ed /community/libcanberra/fix-build-with-no-lynx-installed.patch
parent309c9cfef2bb2d8b48d923df2f6c9381fbf6362a (diff)
community/libcanberra: backport two upstream fixes
Diffstat (limited to 'community/libcanberra/fix-build-with-no-lynx-installed.patch')
-rw-r--r--community/libcanberra/fix-build-with-no-lynx-installed.patch63
1 files changed, 63 insertions, 0 deletions
diff --git a/community/libcanberra/fix-build-with-no-lynx-installed.patch b/community/libcanberra/fix-build-with-no-lynx-installed.patch
new file mode 100644
index 00000000000..1d6f46b8309
--- /dev/null
+++ b/community/libcanberra/fix-build-with-no-lynx-installed.patch
@@ -0,0 +1,63 @@
+From 5a71fffd3da981127d0a012dda1a1412acaee7d8 Mon Sep 17 00:00:00 2001
+From: Colin Walters <walters@verbum.org>
+Date: Sun, 15 Jan 2012 16:35:43 -0500
+Subject: build-sys: Fix build with no lynx installed
+
+---
+ Makefile.am | 8 +++++++-
+ doc/Makefile.am | 3 ++-
+ 2 files changed, 9 insertions(+), 2 deletions(-)
+
+Patch-Source: http://git.0pointer.net/libcanberra.git/commit/?id=5a71fffd3da981127d0a012dda1a1412acaee7d8
+
+diff --git a/Makefile.am b/Makefile.am
+index af36805..42a56e5 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -16,7 +16,11 @@
+ # License along with libcanberra. If not, see
+ # <http://www.gnu.org/licenses/>.
+
+-dist_doc_DATA = README
++dist_doc_DATA =
++
++if USE_LYNX
++dist_doc_DATA += README
++endif
+
+ EXTRA_DIST = \
+ autogen.sh \
+@@ -27,7 +31,9 @@ EXTRA_DIST = \
+ SUBDIRS = src gtkdoc doc
+
+ MAINTAINERCLEANFILES = README
++if USE_LYNX
+ noinst_DATA = README
++endif
+
+ pkgconfigdir = $(libdir)/pkgconfig
+ pkgconfig_DATA = libcanberra.pc
+diff --git a/doc/Makefile.am b/doc/Makefile.am
+index fae9958..cb27f22 100644
+--- a/doc/Makefile.am
++++ b/doc/Makefile.am
+@@ -16,7 +16,7 @@
+ # License along with libcanberra. If not, see
+ # <http://www.gnu.org/licenses/>.
+
+-noinst_DATA = README.html README
++noinst_DATA = README.html
+ EXTRA_DIST = $(noinst_DATA) style.css README.html.in
+
+ MAINTAINERCLEANFILES = README.html
+@@ -26,6 +26,7 @@ if USE_LYNX
+ README: README.html
+ $(AM_V_GEN)lynx --dump $^ | sed 's,file://localhost/.*/doc/README.html,README,' > $@
+
++noinst_DATA += README
+ CLEANFILES += README
+ endif
+
+--
+cgit v1.2.3
+