aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaibo Huang <hhb@google.com>2019-09-13 17:26:28 -0700
committerandroid-build-merger <android-build-merger@google.com>2019-09-13 17:26:28 -0700
commite9170e9a292ef7d72e573ca63f13b84073487217 (patch)
treed97183c3280b99ee60ef74424c2dc8587620aa03
parent7c66d50b0177ff620ae54a000b59ca08590a47ce (diff)
parent24a49e2f917ba4edf76882258c75755ee4e4d72f (diff)
downloadlibepoxy-e9170e9a292ef7d72e573ca63f13b84073487217.tar.gz
Upgrade libepoxy to af38a466caf9c2ae49b8acda4ff842ae44d57f78 am: b51a87e313 am: affffb66ec am: e8646ce325
am: 24a49e2f91 Change-Id: Iae410442a2371972d2eb3ccefc467c449d9a0544
-rw-r--r--METADATA12
-rw-r--r--test/egl_epoxy_api.c4
-rw-r--r--test/egl_has_extension_nocontext.c4
-rw-r--r--test/meson.build2
4 files changed, 16 insertions, 6 deletions
diff --git a/METADATA b/METADATA
index 3e3ad4f..5da25d0 100644
--- a/METADATA
+++ b/METADATA
@@ -1,13 +1,15 @@
name: "libepoxy"
-description:
- "Epoxy is a library for handling OpenGL function pointers"
-
+description: "Epoxy is a library for handling OpenGL function pointers"
third_party {
url {
type: GIT
value: "https://github.com/anholt/libepoxy.git"
}
- version: "707f50e680ab4f1861b1e54ca6e2907aaca56c12"
- last_upgrade_date { year: 2019 month: 3 day: 26 }
+ version: "af38a466caf9c2ae49b8acda4ff842ae44d57f78"
license_type: NOTICE
+ last_upgrade_date {
+ year: 2019
+ month: 9
+ day: 11
+ }
}
diff --git a/test/egl_epoxy_api.c b/test/egl_epoxy_api.c
index a840525..252b535 100644
--- a/test/egl_epoxy_api.c
+++ b/test/egl_epoxy_api.c
@@ -27,7 +27,11 @@
* Tests the Epoxy API using EGL.
*/
+#ifdef __sun
+#define __EXTENSIONS__
+#else
#define _GNU_SOURCE
+#endif
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
diff --git a/test/egl_has_extension_nocontext.c b/test/egl_has_extension_nocontext.c
index a95860a..4fa5f60 100644
--- a/test/egl_has_extension_nocontext.c
+++ b/test/egl_has_extension_nocontext.c
@@ -28,7 +28,11 @@
* no context bound would fail out in dispatch.
*/
+#ifdef __sun
+#define __EXTENSIONS__
+#else
#define _GNU_SOURCE
+#endif
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
diff --git a/test/meson.build b/test/meson.build
index c73bf5d..862d57a 100644
--- a/test/meson.build
+++ b/test/meson.build
@@ -80,7 +80,7 @@ if build_egl and build_x11_tests
endforeach
endif
-if build_glx
+if build_glx and build_x11_tests
glx_common_sources = [ 'glx_common.h', 'glx_common.c', ]
glx_common_lib = static_library('glx_common',
sources: glx_common_sources,