diff options
Diffstat (limited to 'poky/meta/recipes-extended/groff')
-rw-r--r-- | poky/meta/recipes-extended/groff/groff-1.22.3/groff-not-search-fonts-on-build-host.patch | 20 | ||||
-rw-r--r-- | poky/meta/recipes-extended/groff/groff_1.22.3.bb | 5 |
2 files changed, 24 insertions, 1 deletions
diff --git a/poky/meta/recipes-extended/groff/groff-1.22.3/groff-not-search-fonts-on-build-host.patch b/poky/meta/recipes-extended/groff/groff-1.22.3/groff-not-search-fonts-on-build-host.patch new file mode 100644 index 000000000..ff8f32059 --- /dev/null +++ b/poky/meta/recipes-extended/groff/groff-1.22.3/groff-not-search-fonts-on-build-host.patch @@ -0,0 +1,20 @@ +groff searchs fonts which are provided by ghostscript on build host. +It causes non-determinism issue. So not search font dirs on host. + +Upstream-Status: Inappropriate [cross build specific] + +Signed-off-by: Kai Kang <kai.kang@windriver.com> + +diff --git a/font/devpdf/Foundry.in b/font/devpdf/Foundry.in +index a6e968f..8094642 100644 +--- a/font/devpdf/Foundry.in ++++ b/font/devpdf/Foundry.in +@@ -65,7 +65,7 @@ ZD|Y||||Dingbats!d050000l.pfb + #====================================================================== + + #Foundry|Name|Searchpath +-foundry|U|(gs):/usr/share/fonts/type1/gsfonts :/opt/local/share/fonts/urw-fonts # the URW fonts delivered with ghostscript (may be different) ++foundry|U|(gs) # the URW fonts delivered with ghostscript (may be different) + #Define Flags for afmtodit + + r=-i 0 -m diff --git a/poky/meta/recipes-extended/groff/groff_1.22.3.bb b/poky/meta/recipes-extended/groff/groff_1.22.3.bb index 7472f5982..ba90cadd8 100644 --- a/poky/meta/recipes-extended/groff/groff_1.22.3.bb +++ b/poky/meta/recipes-extended/groff/groff_1.22.3.bb @@ -11,6 +11,7 @@ SRC_URI = "${GNU_MIRROR}/groff/groff-${PV}.tar.gz \ file://groff-1.22.2-correct-man.local-install-path.patch \ file://0001-Unset-need_charset_alias-when-building-for-musl.patch \ file://0001-replace-perl-w-with-use-warnings.patch \ + file://groff-not-search-fonts-on-build-host.patch \ " SRC_URI[md5sum] = "cc825fa64bc7306a885f2fb2268d3ec5" @@ -20,7 +21,9 @@ DEPENDS = "groff-native" DEPENDS_class-native = "" RDEPENDS_${PN} += "perl sed" -inherit autotools texinfo +inherit autotools texinfo multilib_script + +MULTILIB_SCRIPTS = "${PN}:${bindir}/gpinyin ${PN}:${bindir}/groffer ${PN}:${bindir}/grog" EXTRA_OECONF = "--without-x" PARALLEL_MAKE = "" |