diff options
Diffstat (limited to 'graphics/libepoxy')
-rw-r--r-- | graphics/libepoxy/Makefile | 2 | ||||
-rw-r--r-- | graphics/libepoxy/distinfo | 4 | ||||
-rw-r--r-- | graphics/libepoxy/patches/patch-src_dispatch_common_c | 19 | ||||
-rw-r--r-- | graphics/libepoxy/pkg/PLIST | 1 |
4 files changed, 22 insertions, 4 deletions
diff --git a/graphics/libepoxy/Makefile b/graphics/libepoxy/Makefile index d3460a0..546e935 100644 --- a/graphics/libepoxy/Makefile +++ b/graphics/libepoxy/Makefile @@ -1,7 +1,7 @@ # $OpenBSD: Makefile.template,v 1.83 2019/07/02 12:03:14 sthen Exp $ COMMENT = library for handling OpenGL function pointer management -V = 1.5.8 +V = 1.5.9 DISTNAME = libepoxy-${V} GH_ACCOUNT = anholt diff --git a/graphics/libepoxy/distinfo b/graphics/libepoxy/distinfo index 77b0f5c..2d84a91 100644 --- a/graphics/libepoxy/distinfo +++ b/graphics/libepoxy/distinfo @@ -1,2 +1,2 @@ -SHA256 (libepoxy-1.5.8.tar.gz) = DNgMsEC3XL53+t1FxIKC66uC2EXFl84R7l6MucHv6rs= -SIZE (libepoxy-1.5.8.tar.gz) = 331848 +SHA256 (libepoxy-1.5.9.tar.gz) = 7oBI0gF5ouhhVqyELdtkKHMtnNeiz8LsqQUWW/JIh6I= +SIZE (libepoxy-1.5.9.tar.gz) = 331982 diff --git a/graphics/libepoxy/patches/patch-src_dispatch_common_c b/graphics/libepoxy/patches/patch-src_dispatch_common_c index 9572ce2..b26662c 100644 --- a/graphics/libepoxy/patches/patch-src_dispatch_common_c +++ b/graphics/libepoxy/patches/patch-src_dispatch_common_c @@ -26,3 +26,22 @@ Index: src/dispatch_common.c *handle = dlopen(lib_name, flags); if (!*handle) { +@@ -680,12 +687,16 @@ epoxy_load_gl(void) + #if defined(OPENGL_LIB) + if (!api.gl_handle) + get_dlopen_handle(&api.gl_handle, OPENGL_LIB, false, true); +-#endif +- + if (!api.gl_handle) { + fprintf(stderr, "Couldn't open %s or %s\n", GLX_LIB, OPENGL_LIB); + abort(); + } ++#else ++ if (!api.gl_handle) { ++ fprintf(stderr, "Couldn't open %s\n", GLX_LIB); ++ abort(); ++ } ++#endif + + #endif + } diff --git a/graphics/libepoxy/pkg/PLIST b/graphics/libepoxy/pkg/PLIST index bb02474..1c2790b 100644 --- a/graphics/libepoxy/pkg/PLIST +++ b/graphics/libepoxy/pkg/PLIST @@ -1,5 +1,4 @@ @comment $OpenBSD: PLIST,v$ -include/epoxy/ include/epoxy/common.h include/epoxy/egl.h include/epoxy/egl_generated.h |