mirror of
https://git.freebsd.org/ports.git
synced 2025-04-30 02:26:38 -04:00
The repository used by this port is actively maintained and there "dev" branch contains updates and fixes (including for builds on aarch64). Since the maintainer had not updated the port for more than 1 year and it had become deprecated, I'm taking over maintainership.
20 lines
373 B
C
20 lines
373 B
C
--- src/wx-sdl2.c.orig 2020-12-01 19:49:05 UTC
|
|
+++ src/wx-sdl2.c
|
|
@@ -44,9 +44,16 @@
|
|
#include "wx-common.h"
|
|
#include "wx-display.h"
|
|
|
|
-#if __APPLE__
|
|
+#ifdef __APPLE__
|
|
#define pause __pause
|
|
#include <util.h>
|
|
+#include <fcntl.h>
|
|
+#include <unistd.h>
|
|
+#undef pause
|
|
+#endif
|
|
+
|
|
+#ifdef __FreeBSD__
|
|
+#define pause __pause
|
|
#include <fcntl.h>
|
|
#include <unistd.h>
|
|
#undef pause
|