diff options
author | Fabio Estevam <festevam@gmail.com> | 2017-06-23 10:28:10 -0300 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-06-23 21:13:44 +0200 |
commit | e4768669a753876a9ae7b6ea8952421db19e7f12 (patch) | |
tree | 86bfe67315ee8b5d8b2208fac806255c31435640 /package/glmark2/0002-NativeStateDRM-use-fixed-event-context-version.patch | |
parent | 74235a6854d6e469f2dbc141fe08ce9ae94e7d3c (diff) | |
download | buildroot-e4768669a753876a9ae7b6ea8952421db19e7f12.tar.gz buildroot-e4768669a753876a9ae7b6ea8952421db19e7f12.zip |
glmark2: Bump to the latest version
The two patches are no longer needed with the latest upstream version,
so bump to the latest one.
Tested on imx6.
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/glmark2/0002-NativeStateDRM-use-fixed-event-context-version.patch')
-rw-r--r-- | package/glmark2/0002-NativeStateDRM-use-fixed-event-context-version.patch | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/package/glmark2/0002-NativeStateDRM-use-fixed-event-context-version.patch b/package/glmark2/0002-NativeStateDRM-use-fixed-event-context-version.patch deleted file mode 100644 index c66f409dd3..0000000000 --- a/package/glmark2/0002-NativeStateDRM-use-fixed-event-context-version.patch +++ /dev/null @@ -1,28 +0,0 @@ -From: Lucas Stach <l.stach@pengutronix.de> -Date: Wed, 31 May 2017 13:01:00 +0200 -Subject: [PATCH] NativeStateDRM: use fixed event context version - -Using the latest version is not a good idea, as the context content may -change between versions. - -Fixes a segfault with new kernel and libdrm. - -Signed-off-by: Lucas Stach <l.stach@pengutronix.de> -Signed-off-by: Fabio Estevam <festevam@gmail.com> ---- - src/native-state-drm.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/native-state-drm.cpp b/src/native-state-drm.cpp -index 454a24d898ff..b9af996667dc 100644 ---- a/src/native-state-drm.cpp -+++ b/src/native-state-drm.cpp -@@ -106,7 +106,7 @@ NativeStateDRM::flip() - FD_ZERO(&fds); - FD_SET(fd_, &fds); - drmEventContext evCtx; -- evCtx.version = DRM_EVENT_CONTEXT_VERSION; -+ evCtx.version = 2; - evCtx.page_flip_handler = page_flip_handler; - - while (waiting) { |