Module Name:    xsrc
Committed By:   mrg
Date:           Mon Jul  8 20:04:05 UTC 2019

Modified Files:
        xsrc/external/mit/libvdpau/dist/src: mesa_dri2.c util.h

Log Message:
merge libvdpau 1.2.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 xsrc/external/mit/libvdpau/dist/src/mesa_dri2.c \
    xsrc/external/mit/libvdpau/dist/src/util.h

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

Modified files:

Index: xsrc/external/mit/libvdpau/dist/src/mesa_dri2.c
diff -u xsrc/external/mit/libvdpau/dist/src/mesa_dri2.c:1.2 xsrc/external/mit/libvdpau/dist/src/mesa_dri2.c:1.3
--- xsrc/external/mit/libvdpau/dist/src/mesa_dri2.c:1.2	Sun Mar 10 04:25:39 2019
+++ xsrc/external/mit/libvdpau/dist/src/mesa_dri2.c	Mon Jul  8 20:04:05 2019
@@ -33,6 +33,9 @@
  *   and José Hiram Soltren (jsolt...@nvidia.com)
  */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 
 #define NEED_REPLIES
 #include <X11/Xlibint.h>
Index: xsrc/external/mit/libvdpau/dist/src/util.h
diff -u xsrc/external/mit/libvdpau/dist/src/util.h:1.2 xsrc/external/mit/libvdpau/dist/src/util.h:1.3
--- xsrc/external/mit/libvdpau/dist/src/util.h:1.2	Sun Mar 10 04:25:39 2019
+++ xsrc/external/mit/libvdpau/dist/src/util.h	Mon Jul  8 20:04:05 2019
@@ -28,7 +28,7 @@
 #include <unistd.h>
 #include <stdlib.h>
 
-static char * getenv_wrapper(const char *name)
+static inline char * getenv_wrapper(const char *name)
 {
     if (getuid() == geteuid() && getgid() == getegid()) {
         return getenv(name);

Reply via email to