freebsd-ports/multimedia/simplescreenrecorder/files/patch-glinject_Hook.cpp
Yuri Victorovich 35a9418c1a multimedia/simplescreenrecorder: Update to 0.3.9
The update also includes:
* Change to Qt5
* Disabling of GLinject feature that doesn't work on FreeBSD
* Switching build to cmake

Tests showed that it works as expected.

Submitted by:	myself
Reported by:	portscout
Approved by:	adamw (mentor)
Differential Revision:	https://reviews.freebsd.org/D13787
2018-01-07 20:42:56 +00:00

11 lines
263 B
C++

--- glinject/Hook.cpp.orig 2017-12-11 00:15:36 UTC
+++ glinject/Hook.cpp
@@ -15,6 +15,8 @@ THE SOFTWARE IS PROVIDED "AS IS" AND THE
#include <GL/glx.h>
#include <X11/X.h>
+extern char **environ;
+
typedef void (*GLXextFuncPtr)(void);
void InitGLInject();