Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[xsrc/trunk]: xsrc/external/mit/libvdpau/dist/src merge libvdpau 1.2.
details: https://anonhg.NetBSD.org/xsrc/rev/95896a6827bc
branches: trunk
changeset: 10307:95896a6827bc
user: mrg <mrg%NetBSD.org@localhost>
date: Mon Jul 08 20:04:05 2019 +0000
description:
merge libvdpau 1.2.
diffstat:
external/mit/libvdpau/dist/src/mesa_dri2.c | 3 +++
external/mit/libvdpau/dist/src/util.h | 2 +-
2 files changed, 4 insertions(+), 1 deletions(-)
diffs (25 lines):
diff -r a69cb7424a77 -r 95896a6827bc external/mit/libvdpau/dist/src/mesa_dri2.c
--- a/external/mit/libvdpau/dist/src/mesa_dri2.c Mon Jul 08 20:03:03 2019 +0000
+++ b/external/mit/libvdpau/dist/src/mesa_dri2.c Mon Jul 08 20:04:05 2019 +0000
@@ -33,6 +33,9 @@
* and José Hiram Soltren (jsoltren%nvidia.com@localhost)
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
#define NEED_REPLIES
#include <X11/Xlibint.h>
diff -r a69cb7424a77 -r 95896a6827bc external/mit/libvdpau/dist/src/util.h
--- a/external/mit/libvdpau/dist/src/util.h Mon Jul 08 20:03:03 2019 +0000
+++ b/external/mit/libvdpau/dist/src/util.h Mon Jul 08 20:04:05 2019 +0000
@@ -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);
Home |
Main Index |
Thread Index |
Old Index