diff options
author | Joe Slater <jslater@windriver.com> | 2015-12-04 15:13:15 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-08 10:20:09 +0000 |
commit | fad19750d23aad2d14a1726c4e3c2c0d05f6e13d (patch) | |
tree | 3fc3716fab14c3d32e2d9f4f5c50cbfb2d8fb278 /meta/recipes-extended/ghostscript | |
parent | 73e2555cc7d529a93362b3fcfea3fbc7a4c60ca1 (diff) | |
download | openembedded-core-fad19750d23aad2d14a1726c4e3c2c0d05f6e13d.tar.gz openembedded-core-fad19750d23aad2d14a1726c4e3c2c0d05f6e13d.tar.bz2 openembedded-core-fad19750d23aad2d14a1726c4e3c2c0d05f6e13d.zip |
ghostscript: add dependency for pnglibconf.h
When using parallel make jobs, we need to be sure that
pnglibconf.h is created before we try to reference it,
so add a rule to png.mak.
Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-extended/ghostscript')
-rw-r--r-- | meta/recipes-extended/ghostscript/ghostscript/png_mak.patch | 21 | ||||
-rw-r--r-- | meta/recipes-extended/ghostscript/ghostscript_9.16.bb | 1 |
2 files changed, 22 insertions, 0 deletions
diff --git a/meta/recipes-extended/ghostscript/ghostscript/png_mak.patch b/meta/recipes-extended/ghostscript/ghostscript/png_mak.patch new file mode 100644 index 0000000000..da900ead3a --- /dev/null +++ b/meta/recipes-extended/ghostscript/ghostscript/png_mak.patch @@ -0,0 +1,21 @@ +ghostscript: add dependency for pnglibconf.h + +When using parallel make jobs, we need to be sure that +pnglibconf.h is created before we try to reference it, +so add a rule to png.mak. + +Upstream-Status: Pending + +Signed-off-by: Joe Slater <jslater@windriver.com> + +--- a/base/png.mak ++++ b/base/png.mak +@@ -81,6 +81,8 @@ png.config-clean : + $(pnglibconf_h) : $(PNGSRC)scripts$(D)pnglibconf.h.prebuilt + $(CP_) $(PNGSRC)scripts$(D)pnglibconf.h.prebuilt $(pnglibconf_h) + ++$(MAKEDIRS) : $(pnglibconf_h) ++ + PDEP=$(AK) $(pnglibconf_h) $(MAKEDIRS) + + png_1=$(PNGOBJ)png.$(OBJ) $(PNGOBJ)pngmem.$(OBJ) $(PNGOBJ)pngerror.$(OBJ) $(PNGOBJ)pngset.$(OBJ) diff --git a/meta/recipes-extended/ghostscript/ghostscript_9.16.bb b/meta/recipes-extended/ghostscript/ghostscript_9.16.bb index ec4acc6661..d584c49b07 100644 --- a/meta/recipes-extended/ghostscript/ghostscript_9.16.bb +++ b/meta/recipes-extended/ghostscript/ghostscript_9.16.bb @@ -19,6 +19,7 @@ DEPENDS_class-native = "" SRC_URI_BASE = "http://downloads.ghostscript.com/public/ghostscript-${PV}.tar.gz \ file://ghostscript-9.15-parallel-make.patch \ file://ghostscript-9.16-Werror-return-type.patch \ + file://png_mak.patch \ " SRC_URI = "${SRC_URI_BASE} \ |