1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00
freebsd-ports/www/chromium/files/patch-third__party_libXNVCtrl_NVCtrl.c
Carlos J. Puga Medina d90bf58cf8 www/chromium: Update to 73.0.3683.86
- Make existing patches apply cleanly

Changelog: https://chromium.googlesource.com/chromium/src/+log/72.0.3626.121..73.0.3683.86?pretty=fuller&n=10000

Submitted by:	Matthias Wolf
MFH:		2019Q2
2019-04-05 12:01:25 +00:00

26 lines
557 B
C

--- third_party/libXNVCtrl/NVCtrl.c.orig 2019-03-11 22:01:15 UTC
+++ third_party/libXNVCtrl/NVCtrl.c
@@ -27,10 +27,6 @@
* libXNVCtrl library properly protects the Display connection.
*/
-#if !defined(XTHREADS)
-#define XTHREADS
-#endif /* XTHREADS */
-
#define NEED_EVENTS
#define NEED_REPLIES
#include <stdint.h>
@@ -39,6 +35,11 @@
#include <X11/Xutil.h>
#include <X11/extensions/Xext.h>
#include <X11/extensions/extutil.h>
+
+#if !defined(XTHREADS)
+#define XTHREADS
+#endif /* XTHREADS */
+
#include "NVCtrlLib.h"
#include "nv_control.h"