summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/opensp/opensp_1.5.bb9
-rw-r--r--meta/recipes-extended/iputils/files/nsgmls-path-fix.patch27
-rw-r--r--meta/recipes-extended/iputils/iputils_s20101006.bb1
3 files changed, 36 insertions, 1 deletions
diff --git a/meta/recipes-devtools/opensp/opensp_1.5.bb b/meta/recipes-devtools/opensp/opensp_1.5.bb
index a402d11c72..d692137452 100644
--- a/meta/recipes-devtools/opensp/opensp_1.5.bb
+++ b/meta/recipes-devtools/opensp/opensp_1.5.bb
@@ -5,7 +5,7 @@ SECTION = "libs"
5LICENSE = "BSD" 5LICENSE = "BSD"
6LIC_FILES_CHKSUM = "file://COPYING;md5=641ff1e4511f0a87044ad42f87cb1045" 6LIC_FILES_CHKSUM = "file://COPYING;md5=641ff1e4511f0a87044ad42f87cb1045"
7 7
8PR = "r1" 8PR = "r2"
9 9
10# At -Os it encounters calls to some inline functions which are then 10# At -Os it encounters calls to some inline functions which are then
11# not found in any other objects with gcc 4.5 11# not found in any other objects with gcc 4.5
@@ -42,6 +42,13 @@ do_install_append() {
42 ln -sf osx sgml2xml 42 ln -sf osx sgml2xml
43} 43}
44 44
45do_install_append_virtclass-native() {
46 for util in nsgmls sgmlnorm spam spcat spent sx; do
47 create_cmdline_wrapper ${D}/${bindir}/$util \
48 -D ${sysconfdir}/sgml
49 done
50}
51
45FILES_${PN} += "${datadir}/OpenSP/" 52FILES_${PN} += "${datadir}/OpenSP/"
46 53
47BBCLASSEXTEND = "native" 54BBCLASSEXTEND = "native"
diff --git a/meta/recipes-extended/iputils/files/nsgmls-path-fix.patch b/meta/recipes-extended/iputils/files/nsgmls-path-fix.patch
new file mode 100644
index 0000000000..92bf946f2a
--- /dev/null
+++ b/meta/recipes-extended/iputils/files/nsgmls-path-fix.patch
@@ -0,0 +1,27 @@
1Fix nsgmls path issue
2
3Upstream-Status: Pending
4
5Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
6
7Index: iputils-s20101006/doc/Makefile
8===================================================================
9--- iputils-s20101006.orig/doc/Makefile 2011-09-13 20:42:27.000000000 +0800
10+++ iputils-s20101006/doc/Makefile 2011-09-13 21:01:52.000000000 +0800
11@@ -27,10 +27,15 @@
12 # docbook2man produces utterly ugly output and I did not find
13 # any way to customize this but hacking backend perl script a little.
14 # Well, hence...
15+# nsgmls seems append path to search directory according to the sysid path.
16+# e.g. if input ../index.db, it would search $search_directory/../ rather than
17+# $search_directory, which leads searching failure. Fixing nsgmls probably
18+# introduce some side effects, so use this ugly hack: running nsgmls in current
19+# directory, and running docbook2man in tmp directory.
20
21 $(MANFILES): index.db
22 @-mkdir tmp.db2man
23- @set -e; cd tmp.db2man; nsgmls ../$< | sgmlspl ../docbook2man-spec.pl ; mv $@ ..
24+ @set -e; nsgmls $< >tmp.db2man/output; cd tmp.db2man; cat output | sgmlspl ../docbook2man-spec.pl ; mv $@ ..
25 @-rm -rf tmp.db2man
26
27 clean:
diff --git a/meta/recipes-extended/iputils/iputils_s20101006.bb b/meta/recipes-extended/iputils/iputils_s20101006.bb
index c97fce71be..5216c10821 100644
--- a/meta/recipes-extended/iputils/iputils_s20101006.bb
+++ b/meta/recipes-extended/iputils/iputils_s20101006.bb
@@ -21,6 +21,7 @@ SRC_URI = "http://www.skbuff.net/iputils/${BPN}-${PV}.tar.bz2 \
21 file://debian/use_gethostbyname2.diff \ 21 file://debian/use_gethostbyname2.diff \
22 file://debian/targets.diff \ 22 file://debian/targets.diff \
23 file://debian/fix-arping-timeouts.diff \ 23 file://debian/fix-arping-timeouts.diff \
24 file://nsgmls-path-fix.patch \
24 " 25 "
25 26
26SRC_URI[md5sum] = "a36c25e9ec17e48be514dc0485e7376c" 27SRC_URI[md5sum] = "a36c25e9ec17e48be514dc0485e7376c"