pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/libepoxy



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Jun  8 12:37:33 UTC 2017

Modified Files:
        pkgsrc/graphics/libepoxy: distinfo
Added Files:
        pkgsrc/graphics/libepoxy/patches: patch-registry_egl.xml

Log Message:
Fix for missing EGL_CAST


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/graphics/libepoxy/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/graphics/libepoxy/patches/patch-registry_egl.xml

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/libepoxy/distinfo
diff -u pkgsrc/graphics/libepoxy/distinfo:1.16 pkgsrc/graphics/libepoxy/distinfo:1.17
--- pkgsrc/graphics/libepoxy/distinfo:1.16      Thu Jun  8 04:31:34 2017
+++ pkgsrc/graphics/libepoxy/distinfo   Thu Jun  8 12:37:33 2017
@@ -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

Added files:

Index: pkgsrc/graphics/libepoxy/patches/patch-registry_egl.xml
diff -u /dev/null pkgsrc/graphics/libepoxy/patches/patch-registry_egl.xml:1.1
--- /dev/null   Thu Jun  8 12:37:33 2017
+++ pkgsrc/graphics/libepoxy/patches/patch-registry_egl.xml     Thu Jun  8 12:37:33 2017
@@ -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