mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-17 04:37:19 +00:00
spice: fix build with FORTIFY_SOURCES already defined in native gcc
* e.g. on gentoo hosts * use 4 spaces for indentation Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
committed by
Armin Kuster
parent
7598d49f6e
commit
b379fcebf9
@@ -25,19 +25,21 @@ SRCREV_spice-protocol = "784407f248e7f99d2bfcc9368f9acd1efb2b9617"
|
||||
|
||||
SRCREV_FORMAT = "spice_spice-common_spice-protocol"
|
||||
|
||||
SRC_URI = "git://anongit.freedesktop.org/spice/spice;name=spice \
|
||||
git://anongit.freedesktop.org/spice/spice-common;destsuffix=git/spice-common;name=spice-common \
|
||||
git://anongit.freedesktop.org/spice/spice-protocol;destsuffix=git/spice-common/spice-protocol;name=spice-protocol \
|
||||
"
|
||||
SRC_URI = " \
|
||||
git://anongit.freedesktop.org/spice/spice;name=spice \
|
||||
git://anongit.freedesktop.org/spice/spice-common;destsuffix=git/spice-common;name=spice-common \
|
||||
git://anongit.freedesktop.org/spice/spice-protocol;destsuffix=git/spice-common/spice-protocol;name=spice-protocol \
|
||||
"
|
||||
|
||||
SRC_URI += " \
|
||||
file://spice-fix-CVE-2013-4282.patch \
|
||||
file://configure.ac-add-subdir-objects-to-AM_INIT_AUTOMAKE.patch \
|
||||
file://build-allow-separated-src-and-build-dirs.patch \
|
||||
file://0001-red_parse_qxl-Fix-BITMAP_FMT_IS_RGB-defined-but-not-.patch \
|
||||
file://0001-Use-PRI-macros-in-printf-to-keep-compatibility-betwe.patch \
|
||||
file://Fix-build-issues-with-gcc-7.patch \
|
||||
"
|
||||
file://spice-fix-CVE-2013-4282.patch \
|
||||
file://configure.ac-add-subdir-objects-to-AM_INIT_AUTOMAKE.patch \
|
||||
file://build-allow-separated-src-and-build-dirs.patch \
|
||||
file://0001-red_parse_qxl-Fix-BITMAP_FMT_IS_RGB-defined-but-not-.patch \
|
||||
file://0001-Use-PRI-macros-in-printf-to-keep-compatibility-betwe.patch \
|
||||
file://Fix-build-issues-with-gcc-7.patch \
|
||||
file://0001-spice-compile-warnings.m4-don-t-define-FORITFY_SOURC.patch \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
@@ -66,13 +68,13 @@ FILES_${PN}-protocol += "${includedir}/spice-1"
|
||||
FILES_${PN}-protocol += "${datadir}/pkgconfig"
|
||||
|
||||
do_configure_prepend() {
|
||||
mkdir -p ${S}/spice-common/spice-protocol/m4
|
||||
mkdir -p ${S}/spice-common/spice-protocol/m4
|
||||
}
|
||||
|
||||
do_install_append() {
|
||||
cd ${B}/spice-common/spice-protocol
|
||||
oe_runmake DESTDIR="${D}" install
|
||||
cd -
|
||||
cd ${B}/spice-common/spice-protocol
|
||||
oe_runmake DESTDIR="${D}" install
|
||||
cd -
|
||||
}
|
||||
|
||||
COMPATIBLE_HOST = '(x86_64|i.86).*-linux'
|
||||
|
||||
Reference in New Issue
Block a user