Import of pkgsrc-2016Q3

This commit is contained in:
2016-10-14 07:49:11 +02:00
committed by Lionel Sambuc
parent 9d819b6d54
commit 1242aa1e36
35952 changed files with 949749 additions and 377083 deletions

View File

@@ -0,0 +1,17 @@
$NetBSD: patch-glinject_Hook.cpp,v 1.1 2016/02/08 20:43:32 markd Exp $
Linux gets environ from unistd.h
--- glinject/Hook.cpp.orig 2015-11-02 21:13:49.000000000 +0000
+++ glinject/Hook.cpp
@@ -15,6 +15,10 @@ THE SOFTWARE IS PROVIDED "AS IS" AND THE
#include <GL/glx.h>
#include <X11/X.h>
+#ifdef __NetBSD__
+extern char **environ;
+#endif
+
typedef void (*GLXextFuncPtr)(void);
void InitGLInject();