summaryrefslogtreecommitdiffstats
path: root/debian/patches
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/patches/0001-remove-build-path-from-generated-FLAC.tag-file.patch22
-rw-r--r--debian/patches/series1
2 files changed, 23 insertions, 0 deletions
diff --git a/debian/patches/0001-remove-build-path-from-generated-FLAC.tag-file.patch b/debian/patches/0001-remove-build-path-from-generated-FLAC.tag-file.patch
new file mode 100644
index 0000000..8112515
--- /dev/null
+++ b/debian/patches/0001-remove-build-path-from-generated-FLAC.tag-file.patch
@@ -0,0 +1,22 @@
+From: Dafydd Harries <daf@rhydd.org>
+Date: Sat, 3 Dec 2016 16:58:53 -0500
+Subject: [PATCH] remove build path from generated FLAC.tag file
+
+Use sed to update paths to point to locations in /usr/include rather than
+locations in the source directory at build time.
+---
+ doc/Makefile.am | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/doc/Makefile.am b/doc/Makefile.am
+index 593d691..b7bfd7a 100644
+--- a/doc/Makefile.am
++++ b/doc/Makefile.am
+@@ -25,6 +25,7 @@ FLAC.tag: Doxyfile
+ rm -rf api
+ mv doxytmp/html api
+ rm -rf doxytmp
++ sed -ie 's,>.*/include/,>/usr/include/,' FLAC.tag
+
+ doc_DATA = \
+ FLAC.tag
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..ad365c4
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-remove-build-path-from-generated-FLAC.tag-file.patch