pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/libepoxy The generic EGL/GLX/WGL defaults are...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9f2beebbbf79
branches:  trunk
changeset: 361264:9f2beebbbf79
user:      dsainty <dsainty%pkgsrc.org@localhost>
date:      Wed Apr 19 07:34:12 2017 +0000

description:
The generic EGL/GLX/WGL defaults are suitable for Darwin as BUILD_EGL will be
correct, and possibly not zero.

No revision bump required - this change fixes the build if the EGL = 0 guess
was incorrect, and no change if it was correct.

diffstat:

 graphics/libepoxy/distinfo                             |   4 ++--
 graphics/libepoxy/patches/patch-src_dispatch__common.h |  16 ++++++++++++++--
 2 files changed, 16 insertions(+), 4 deletions(-)

diffs (41 lines):

diff -r 1f9b948f98cb -r 9f2beebbbf79 graphics/libepoxy/distinfo
--- a/graphics/libepoxy/distinfo        Wed Apr 19 06:49:34 2017 +0000
+++ b/graphics/libepoxy/distinfo        Wed Apr 19 07:34:12 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.13 2017/03/18 20:18:39 adam Exp $
+$NetBSD: distinfo,v 1.14 2017/04/19 07:34:12 dsainty Exp $
 
 SHA1 (libepoxy-1.4.1.tar.gz) = 8d7007360cd2c24e87eaa322b1dbbb86787ace5e
 RMD160 (libepoxy-1.4.1.tar.gz) = e986fc0c4ffd9d6272938947bc7ccc0a268d0035
@@ -6,4 +6,4 @@
 Size (libepoxy-1.4.1.tar.gz) = 309759 bytes
 SHA1 (patch-configure.ac) = c4ce423b058975e7322ea782554ecedd449e2249
 SHA1 (patch-src_dispatch__common.c) = 8ab5351f3ef67cc36aacfc43e7f61e6a7bcc179a
-SHA1 (patch-src_dispatch__common.h) = 94a5cd88dd0cae1b0dc936446ca2e00e49ae07c7
+SHA1 (patch-src_dispatch__common.h) = 30dae2c8b8ea2fa6c9fd77d6016ccb97a63027a3
diff -r 1f9b948f98cb -r 9f2beebbbf79 graphics/libepoxy/patches/patch-src_dispatch__common.h
--- a/graphics/libepoxy/patches/patch-src_dispatch__common.h    Wed Apr 19 06:49:34 2017 +0000
+++ b/graphics/libepoxy/patches/patch-src_dispatch__common.h    Wed Apr 19 07:34:12 2017 +0000
@@ -1,8 +1,20 @@
-$NetBSD: patch-src_dispatch__common.h,v 1.6 2017/02/18 14:00:05 joerg Exp $
+$NetBSD: patch-src_dispatch__common.h,v 1.7 2017/04/19 07:34:12 dsainty Exp $
+
+The generic defaults are suitable for Darwin as BUILD_EGL will be correct,
+and possibly not zero.
 
 --- src/dispatch_common.h.orig 2017-02-06 16:00:20.000000000 +0000
 +++ src/dispatch_common.h
-@@ -36,7 +36,7 @@
+@@ -27,16 +27,12 @@
+ #define PLATFORM_HAS_EGL 0
+ #define PLATFORM_HAS_GLX ENABLE_GLX
+ #define PLATFORM_HAS_WGL 1
+-#elif defined(__APPLE__)
+-#define PLATFORM_HAS_EGL 0
+-#define PLATFORM_HAS_GLX ENABLE_GLX
+-#define PLATFORM_HAS_WGL 0
+ #elif defined(ANDROID)
+ #define PLATFORM_HAS_EGL 1
  #define PLATFORM_HAS_GLX 0
  #define PLATFORM_HAS_WGL 0
  #else



Home | Main Index | Thread Index | Old Index