[oe] [meta-networking] [PATCH] spice: Upgrade 0.14.0 -> 0.14.1

He Zhe zhe.he at windriver.com
Tue Sep 4 11:35:19 UTC 2018


Emm, this was merged just before I finished my fix...
Anyway 0.14.1 resolves new CVE, I'll send v2 without HAVE_STDLIB_H part.

Thanks,
Zhe

On 2018年09月04日 19:22, Martin Jansa wrote:
> Wasn't this conflict with jpeglib.h already resolved in:
> http://git.openembedded.org/openembedded-core/commit/?id=d1e09cb2521ccb9d02ced2d61abb4034cb04836d ?
> it works for me.
>
> On Tue, Sep 4, 2018 at 1:09 PM He Zhe <zhe.he at windriver.com <mailto:zhe.he at windriver.com>> wrote:
>
>     - Fix the following build error.
>
>     ../config.h:65: error: "HAVE_STDLIB_H" redefined [-Werror]
>
>     jpeglib.h from libjpeg contains the same definition of HAVE_STDLIB_H
>     which is supposed to be overwritten. -Werror changes the warning to
>     an error. This patches deletes the definition in jpeglib.h
>
>     - Adjust location of spice-common source as new spice asks spice-common
>     to be put under "subprojects" directory.
>
>     Signed-off-by: He Zhe <zhe.he at windriver.com <mailto:zhe.he at windriver.com>>
>     ---
>      meta-networking/recipes-support/spice/spice_git.bb <http://spice_git.bb> | 13 +++++++++----
>      1 file changed, 9 insertions(+), 4 deletions(-)
>
>     diff --git a/meta-networking/recipes-support/spice/spice_git.bb <http://spice_git.bb> b/meta-networking/recipes-support/spice/spice_git.bb <http://spice_git.bb>
>     index 38b8bf306..5c0b2ca2a 100644
>     --- a/meta-networking/recipes-support/spice/spice_git.bb <http://spice_git.bb>
>     +++ b/meta-networking/recipes-support/spice/spice_git.bb <http://spice_git.bb>
>     @@ -13,18 +13,19 @@ architectures."
>      LICENSE = "BSD & LGPLv2.1+"
>      LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
>
>     -PV = "0.14.0+git${SRCPV}"
>     +PV = "0.14.1+git${SRCPV}"
>
>     -SRCREV_spice = "f1050bfc76c9c4146257e087baf74e0b62d7d218"
>     -SRCREV_spice-common = "95743f40a2da39e0a19859c305e69e2c99d39e42"
>     +SRCREV_spice = "eaa07ef15cfc3bf57a69da2576af66f028787774"
>     +SRCREV_spice-common = "6b93b3fce8909b836ef1d1434d191900d8aa00be"
>
>      SRCREV_FORMAT = "spice_spice-common"
>
>      SRC_URI = " \
>          git://anongit.freedesktop.org/spice/spice;name=spice <http://anongit.freedesktop.org/spice/spice;name=spice> \
>     -    git://anongit.freedesktop.org/spice/spice-common;destsuffix=git/spice-common;name=spice-common <http://anongit.freedesktop.org/spice/spice-common;destsuffix=git/spice-common;name=spice-common> \
>     +    git://anongit.freedesktop.org/spice/spice-common;destsuffix=git/subprojects/spice-common;name=spice-common <http://anongit.freedesktop.org/spice/spice-common;destsuffix=git/subprojects/spice-common;name=spice-common> \
>          file://0001-Convert-pthread_t-to-be-numeric.patch \
>      "
>     +
>      FOO = "\
>          file://0001-build-allow-separated-src-and-build-dirs.patch \
>      "
>     @@ -55,3 +56,7 @@ PACKAGECONFIG[xinerama] = "--enable-xinerama,--disable-xinerama,libxinerama,"
>      COMPATIBLE_HOST = '(x86_64|i.86).*-linux'
>
>      BBCLASSEXTEND = "native nativesdk"
>     +
>     +do_configure_append () {
>     +    sed -i -e '/#define HAVE_STDLIB_H/d' ${STAGING_DIR_HOST}/usr/include/jconfig.h
>     +}
>     -- 
>     2.11.0
>
>     -- 
>     _______________________________________________
>     Openembedded-devel mailing list
>     Openembedded-devel at lists.openembedded.org <mailto:Openembedded-devel at lists.openembedded.org>
>     http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>




More information about the Openembedded-devel mailing list