buildroot/package/ti-sgx-libgbm/0001-Add-missing-sys-sysmacros.h-include.patch
Lothar Felten fb7fb9bda6 package/ti-sgx-libgbm: new package
A custom ti version of libgbm for SGX graphics accelerator, required by
the binary libraries of the ti-sgx-um package.

Signed-off-by: Lothar Felten <lothar.felten@gmail.com>
Signed-off-by: Carlos Santos <unixmania@gmail.com>
[Thomas:
 - fix LICENSE variable, as noticed by Yegor
 - fix alphabetic ordering in package/Config.in
 - add missing select BR2_PACKAGE_LIBDRM in Config.in, and the
   corresponding dependencies
 - add missing depends on BR2_PACKAGE_HAS_UDEV in Config.in
 - use gbm.h as license file, instead of extracting the first 26 lines
   of the header file]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-12-30 14:46:41 +01:00

26 lines
545 B
Diff

From e3a3f3655956265eb4f3b866d445a9d19e613594 Mon Sep 17 00:00:00 2001
From: Lothar Felten <lothar.felten@gmail.com>
Date: Thu, 14 Nov 2019 23:37:07 -0300
Subject: [PATCH] Add missing sys/sysmacros.h include
Signed-off-by: Lothar Felten <lothar.felten@gmail.com>
---
gbm.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/gbm.c b/gbm.c
index 7bc5880..e360da7 100644
--- a/gbm.c
+++ b/gbm.c
@@ -36,6 +36,7 @@
#include <sys/types.h>
#include <sys/stat.h>
+#include <sys/sysmacros.h>
#include <unistd.h>
#include <errno.h>
--
2.18.1