diff options
| -rw-r--r-- | meta/recipes-graphics/virglrenderer/virglrenderer/0001-gallium-Expand-libc-check-to-be-platform-OS-check.patch | 36 | ||||
| -rw-r--r-- | meta/recipes-graphics/virglrenderer/virglrenderer_0.9.1.bb (renamed from meta/recipes-graphics/virglrenderer/virglrenderer_0.8.2.bb) | 5 |
2 files changed, 2 insertions, 39 deletions
diff --git a/meta/recipes-graphics/virglrenderer/virglrenderer/0001-gallium-Expand-libc-check-to-be-platform-OS-check.patch b/meta/recipes-graphics/virglrenderer/virglrenderer/0001-gallium-Expand-libc-check-to-be-platform-OS-check.patch deleted file mode 100644 index a0ac3aefdd..0000000000 --- a/meta/recipes-graphics/virglrenderer/virglrenderer/0001-gallium-Expand-libc-check-to-be-platform-OS-check.patch +++ /dev/null | |||
| @@ -1,36 +0,0 @@ | |||
| 1 | From 3d30df8d8ccb919733b5339b2a82474305b83998 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Tue, 6 Aug 2019 01:19:48 +0000 | ||
| 4 | Subject: [PATCH] gallium: Expand libc check to be platform OS check | ||
| 5 | |||
| 6 | endianness on musl based systems can also be detected in same way as | ||
| 7 | glibc, therefore check for __linux__ define instead of __GLIBC__ | ||
| 8 | |||
| 9 | Fixes build on musl/mips | ||
| 10 | |||
| 11 | | ../../../../git/src/gallium/include/pipe/p_config.h:171:2: error: #error Unknown Endianness | ||
| 12 | | #error Unknown Endianness | ||
| 13 | | ^~~~~ | ||
| 14 | |||
| 15 | Upstream-Status: Pending | ||
| 16 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 17 | --- | ||
| 18 | src/gallium/include/pipe/p_config.h | 2 +- | ||
| 19 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 20 | |||
| 21 | diff --git a/src/gallium/include/pipe/p_config.h b/src/gallium/include/pipe/p_config.h | ||
| 22 | index d603681..71cdf49 100644 | ||
| 23 | --- a/src/gallium/include/pipe/p_config.h | ||
| 24 | +++ b/src/gallium/include/pipe/p_config.h | ||
| 25 | @@ -130,7 +130,7 @@ | ||
| 26 | * Endian detection. | ||
| 27 | */ | ||
| 28 | |||
| 29 | -#ifdef __GLIBC__ | ||
| 30 | +#ifdef __linux__ | ||
| 31 | #include <endian.h> | ||
| 32 | |||
| 33 | #if __BYTE_ORDER == __LITTLE_ENDIAN | ||
| 34 | -- | ||
| 35 | 2.17.1 | ||
| 36 | |||
diff --git a/meta/recipes-graphics/virglrenderer/virglrenderer_0.8.2.bb b/meta/recipes-graphics/virglrenderer/virglrenderer_0.9.1.bb index 52821195d1..3991895823 100644 --- a/meta/recipes-graphics/virglrenderer/virglrenderer_0.8.2.bb +++ b/meta/recipes-graphics/virglrenderer/virglrenderer_0.9.1.bb | |||
| @@ -9,9 +9,8 @@ LICENSE = "MIT" | |||
| 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=c81c08eeefd9418fca8f88309a76db10" | 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=c81c08eeefd9418fca8f88309a76db10" |
| 10 | 10 | ||
| 11 | DEPENDS = "libdrm virtual/libgl libepoxy" | 11 | DEPENDS = "libdrm virtual/libgl libepoxy" |
| 12 | SRCREV = "7d204f3927be65fb3365dce01dbcd04d447a4985" | 12 | SRCREV = "363915595e05fb252e70d6514be2f0c0b5ca312b" |
| 13 | SRC_URI = "git://anongit.freedesktop.org/virglrenderer \ | 13 | SRC_URI = "git://anongit.freedesktop.org/virglrenderer;branch=branch-0.9.1 \ |
| 14 | file://0001-gallium-Expand-libc-check-to-be-platform-OS-check.patch \ | ||
| 15 | file://0001-meson.build-use-python3-directly-for-python.patch \ | 14 | file://0001-meson.build-use-python3-directly-for-python.patch \ |
| 16 | " | 15 | " |
| 17 | 16 | ||
