mirror of
https://git.yoctoproject.org/poky
synced 2026-04-23 09:32:17 +02:00
libdrm: Upgrade to 2.4.58.
Disable man pages creation because it needs to download docbook.xsl from upstream site and sometimes can't (resource unavailable) and this cause build fails. Remove GNU_SOURCE_definition patch it's already integrated in upstream. (From OE-Core rev: 65246c7111b4e23c1c505ad95271a17ca4be3d31) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
7930902777
commit
764e08b292
@@ -23,6 +23,7 @@ EXTRA_OECONF += "--disable-cairo-tests \
|
||||
--enable-omap-experimental-api \
|
||||
--enable-freedreno-experimental-api \
|
||||
--enable-install-test-programs \
|
||||
--disable-manpages \
|
||||
"
|
||||
ALLOW_EMPTY_${PN}-drivers = "1"
|
||||
PACKAGES =+ "${PN}-tests ${PN}-drivers ${PN}-radeon ${PN}-nouveau ${PN}-omap \
|
||||
|
||||
@@ -1,30 +0,0 @@
|
||||
uclibc headers need to know if _GNU_SOURCE is defined or not and its defined
|
||||
in config.h so include it first to get the definition if its there fixed build
|
||||
problems on uclibc
|
||||
|
||||
test_decode.c:107:2: error: implicit declaration of function 'open_memstream' [-Werror=implicit-function-declaration]
|
||||
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
Upstream-Status: Pending
|
||||
|
||||
Index: libdrm-2.4.30/intel/test_decode.c
|
||||
===================================================================
|
||||
--- libdrm-2.4.30.orig/intel/test_decode.c 2012-02-03 14:28:46.409355918 -0800
|
||||
+++ libdrm-2.4.30/intel/test_decode.c 2012-02-03 14:29:02.357356689 -0800
|
||||
@@ -21,6 +21,8 @@
|
||||
* IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
+#include "config.h"
|
||||
+
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
@@ -31,7 +33,6 @@
|
||||
#include <sys/mman.h>
|
||||
#include <err.h>
|
||||
|
||||
-#include "config.h"
|
||||
#include "intel_bufmgr.h"
|
||||
#include "intel_chipset.h"
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
require libdrm.inc
|
||||
|
||||
SRC_URI += "file://installtests.patch \
|
||||
file://GNU_SOURCE_definition.patch \
|
||||
"
|
||||
SRC_URI[md5sum] = "56e98a9c2073c3fab7f95e003b657f46"
|
||||
SRC_URI[sha256sum] = "d94001ebfbe80e1523d1228ee2df57294698d1c734fad9ccf53efde8932fe4e9"
|
||||
|
||||
6
meta/recipes-graphics/drm/libdrm_2.4.58.bb
Normal file
6
meta/recipes-graphics/drm/libdrm_2.4.58.bb
Normal file
@@ -0,0 +1,6 @@
|
||||
require libdrm.inc
|
||||
|
||||
SRC_URI += "file://installtests.patch "
|
||||
|
||||
SRC_URI[md5sum] = "24213913333d72b36c16463ed92e522a"
|
||||
SRC_URI[sha256sum] = "b155fae6b9c9a3b02ef8b77f58c7c219194c996a4018dc55ba66c03996a365dd"
|
||||
Reference in New Issue
Block a user