diff options
Diffstat (limited to 'meta/recipes-devtools')
2 files changed, 26 insertions, 0 deletions
diff --git a/meta/recipes-devtools/docbook-xml/docbook-xsl-stylesheets/docbook-xsl-stylesheets-no-bashism-in-docbook-xsl-up.patch b/meta/recipes-devtools/docbook-xml/docbook-xsl-stylesheets/docbook-xsl-stylesheets-no-bashism-in-docbook-xsl-up.patch new file mode 100644 index 0000000000..0559a5c0d2 --- /dev/null +++ b/meta/recipes-devtools/docbook-xml/docbook-xsl-stylesheets/docbook-xsl-stylesheets-no-bashism-in-docbook-xsl-up.patch | |||
@@ -0,0 +1,24 @@ | |||
1 | docbook-xsl-stylesheets: no bashism in docbook-xsl-update | ||
2 | |||
3 | The checkbashisms shows there is no bashism, so use /bin/sh. | ||
4 | |||
5 | Upstream-Status: Pending | ||
6 | |||
7 | Signed-off-by: Chong Lu <Chong.Lu@windriver.com> | ||
8 | --- | ||
9 | tools/bin/docbook-xsl-update | 2 +- | ||
10 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
11 | |||
12 | diff --git a/tools/bin/docbook-xsl-update b/tools/bin/docbook-xsl-update | ||
13 | index aba0016..cc73aa2 100755 | ||
14 | --- a/tools/bin/docbook-xsl-update | ||
15 | +++ b/tools/bin/docbook-xsl-update | ||
16 | @@ -1,4 +1,4 @@ | ||
17 | -#!/bin/bash | ||
18 | +#!/bin/sh | ||
19 | # vim: number | ||
20 | |||
21 | # docbook-xsl-update - Update environment to latest docbook-xsl snapshot | ||
22 | -- | ||
23 | 1.9.1 | ||
24 | |||
diff --git a/meta/recipes-devtools/docbook-xml/docbook-xsl-stylesheets_1.78.1.bb b/meta/recipes-devtools/docbook-xml/docbook-xsl-stylesheets_1.78.1.bb index 39528c89c4..95498da35e 100644 --- a/meta/recipes-devtools/docbook-xml/docbook-xsl-stylesheets_1.78.1.bb +++ b/meta/recipes-devtools/docbook-xml/docbook-xsl-stylesheets_1.78.1.bb | |||
@@ -5,6 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a6eeeed43d498c22a835382533356462" | |||
5 | 5 | ||
6 | SRC_URI = "${SOURCEFORGE_MIRROR}/docbook/docbook-xsl-${PV}.tar.bz2 \ | 6 | SRC_URI = "${SOURCEFORGE_MIRROR}/docbook/docbook-xsl-${PV}.tar.bz2 \ |
7 | file://docbook-xsl.xml \ | 7 | file://docbook-xsl.xml \ |
8 | file://docbook-xsl-stylesheets-no-bashism-in-docbook-xsl-up.patch \ | ||
8 | " | 9 | " |
9 | 10 | ||
10 | SRC_URI[md5sum] = "6dd0f89131cc35bf4f2ed105a1c17771" | 11 | SRC_URI[md5sum] = "6dd0f89131cc35bf4f2ed105a1c17771" |
@@ -63,5 +64,6 @@ docbook_xsl_stylesheets_sysroot_preprocess () { | |||
63 | sed -i -e "s|file:///usr/share/xml|file://${datadir}/xml|g" ${SYSROOT_DESTDIR}${sysconfdir}/xml/docbook-xsl.xml | 64 | sed -i -e "s|file:///usr/share/xml|file://${datadir}/xml|g" ${SYSROOT_DESTDIR}${sysconfdir}/xml/docbook-xsl.xml |
64 | } | 65 | } |
65 | 66 | ||
67 | RDEPENDS_${PN} += "perl" | ||
66 | FILES_${PN} = "${datadir}/xml/* ${sysconfdir}/xml/docbook-xsl.xml" | 68 | FILES_${PN} = "${datadir}/xml/* ${sysconfdir}/xml/docbook-xsl.xml" |
67 | FILES_${PN}-doc = "${datadir}/doc/*" | 69 | FILES_${PN}-doc = "${datadir}/doc/*" |