forked from Lainports/freebsd-ports
* Switch to meson build system * This release makes EGL support switchable. Make it a option and disable it on mips and sparc64, due to not having libEGL in mesa-libs.
11 lines
276 B
C
11 lines
276 B
C
--- test/dlwrap.c.orig 2017-03-28 08:56:46 UTC
|
|
+++ test/dlwrap.c
|
|
@@ -34,6 +34,8 @@
|
|
|
|
/* dladdr is a glibc extension */
|
|
#define _GNU_SOURCE
|
|
+/* FreeBSD needs this to make asprintf() and dlvsym() visible */
|
|
+#define __BSD_VISIBLE 1
|
|
#include <dlfcn.h>
|
|
|
|
#include <stdbool.h>
|