[OE-core] [PATCH] readline: apply upstream patches
Enrico Scholz
enrico.scholz at sigma-chemnitz.de
Wed Nov 28 17:45:14 UTC 2012
Marko Lindqvist <cazfi74-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org>
writes:
> -SRC_URI = "${GNU_MIRROR}/readline/${BPN}-${PV}.tar.gz \
> +SRC_URI = "${GNU_MIRROR}/readline/${BPN}-${PV}.tar.gz;name=archive \
> + ${GNU_MIRROR}/readline/readline-5.2-patches/readline52-001;name=patch1 \
> ...
> +readline_patch () {
> + # patch-command used to fail because of garbage value in $TMPDIR
> + unset TMPDIR
> + patch -p0 -d ${S} < ${WORKDIR}/readline52-001
I think, SRC_URI entries with ';apply=yes;striplevel=0' attributes are a
better way to solve this. E.g.
+SRC_URI = "${GNU_MIRROR}/readline/${BPN}-${PV}.tar.gz;name=archive \
+ ${GNU_MIRROR}/readline/readline-5.2-patches/readline52-001;name=patch1;apply=yes;striplevel=0 \
Enrico
More information about the Openembedded-core
mailing list