freebsd-ports/graphics/libepoxy/files/patch-test_dlwrap.c
Koop Mast 14394a78e3 Update libepoxy to 1.4.3.
* 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.
2017-06-14 12:04:11 +00:00

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>