pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/libepoxy Fix for missing EGL_CAST



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c2fa9d555253
branches:  trunk
changeset: 363424:c2fa9d555253
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Jun 08 12:37:33 2017 +0000

description:
Fix for missing EGL_CAST

diffstat:

 graphics/libepoxy/distinfo                       |   3 ++-
 graphics/libepoxy/patches/patch-registry_egl.xml |  20 ++++++++++++++++++++
 2 files changed, 22 insertions(+), 1 deletions(-)

diffs (38 lines):

diff -r 0594a6f7e1d8 -r c2fa9d555253 graphics/libepoxy/distinfo
--- a/graphics/libepoxy/distinfo        Thu Jun 08 11:55:33 2017 +0000
+++ b/graphics/libepoxy/distinfo        Thu Jun 08 12:37:33 2017 +0000
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.16 2017/06/08 04:31:34 adam Exp $
+$NetBSD: distinfo,v 1.17 2017/06/08 12:37:33 adam Exp $
 
 SHA1 (libepoxy-1.4.3.tar.gz) = 4a375660b9928c29a52c4dbe2220c0813617f390
 RMD160 (libepoxy-1.4.3.tar.gz) = 2b1d083ce8e17e2885099c08fc745b7b7ae5d630
 SHA512 (libepoxy-1.4.3.tar.gz) = 41c7a4eea66c89346b0ec71407b2d22bf645ed0ef81ebad560370903f138ed48abb6bc6bcc88c75a3a05497acc6720397db828d61301599c05040263a9f4f7f0
 Size (libepoxy-1.4.3.tar.gz) = 310823 bytes
 SHA1 (patch-configure.ac) = a21e1369028abbb34bd0add634d89747c587d610
+SHA1 (patch-registry_egl.xml) = 37923cc2be65ab2dead9af8ff062702ab5d63392
 SHA1 (patch-src_dispatch__common.c) = 8ab5351f3ef67cc36aacfc43e7f61e6a7bcc179a
diff -r 0594a6f7e1d8 -r c2fa9d555253 graphics/libepoxy/patches/patch-registry_egl.xml
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/libepoxy/patches/patch-registry_egl.xml  Thu Jun 08 12:37:33 2017 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-registry_egl.xml,v 1.1 2017/06/08 12:37:33 adam Exp $
+
+Define EGL_CAST if missing.
+
+--- registry/egl.xml.orig      2017-06-06 09:55:43.000000000 +0000
++++ registry/egl.xml
+@@ -88,6 +88,13 @@
+     EGLint iStride;
+ };</type>
+         <type>typedef void (<apientry/> *<name>EGLDEBUGPROCKHR</name>)(EGLenum error,const char *command,EGLint messageType,EGLLabelKHR threadLabel,EGLLabelKHR objectLabel,const char* 
message);</type>
++        <type>#if !defined(EGL_CAST)
++#if defined(__cplusplus)
++#define EGL_CAST(type, value) (static_cast&lt;type&gt;(value))
++#else
++#define EGL_CAST(type, value) ((type) (value))
++#endif
++#endif</type>
+     </types>
+ 
+     <!-- SECTION: EGL enumerant (token) definitions. -->



Home | Main Index | Thread Index | Old Index