1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
8 SDESC[standard]= OpenGL function pointer management library
9 HOMEPAGE= https://github.com/anholt/libepoxy
13 SITES[main]= GITHUB/anholt:libepoxy:1.5.10
14 DISTFILE[1]= generated:main
16 SPKGS[standard]= single
18 OPTIONS_AVAILABLE= none
19 OPTIONS_STANDARD= none
21 BUILDRUN_DEPENDS= libglvnd:single:standard
22 B_DEPS[sunos]= libbsd4sol:single:standard
24 USES= meson pkgconfig python:build
28 LICENSE_FILE= MIT:{{WRKSRC}}/COPYING
31 FPC_EQUIVALENT= graphics/libepoxy
33 VAR_OPSYS[sunos]= CFLAGS=-I{{LOCALBASE}}/include/bsd
36 [FILE:333:descriptions/desc.single]
37 Epoxy is a library for handling OpenGL function pointer management.
39 It hides the complexity of dlopen(), dlsym(), glXGetProcAddress(),
40 eglGetProcAddress(), etc. from the app developer, with very little
41 knowledge needed on their part. They get to read GL specs and write code
42 using undecorated function names like glCompileShader().
46 a7ced37f4102b745ac86d6a70a9da399cc139ff168ba6b8002b4d8d43c900c15 332078 anholt-libepoxy-1.5.10.tar.gz
49 [FILE:170:manifests/plist.single]
62 lib/pkgconfig/epoxy.pc
65 [FILE:714:patches/patch-test_dlwrap.c]
66 --- test/dlwrap.c.orig 2021-08-14 13:55:37 UTC
70 /* dladdr is a glibc extension */
72 +/* FreeBSD needs this to make asprintf() and dlvsym() visible */
73 +#define __BSD_VISIBLE 1
77 @@ -213,6 +215,10 @@ dlsym(void *handle, const char *name)
79 dlwrap_real_dlsym(void *handle, const char *name)
82 + fprintf(stderr, "dlwrap_real_dlsym unsupported on SunOS (missing dlvsym)");
85 static fips_dlsym_t real_dlsym = NULL;
88 @@ -275,6 +281,7 @@ dlwrap_real_dlsym(void *handle, const ch
91 return real_dlsym(handle, name);
98 [FILE:286:sunos/patch-test_meson.build]
99 --- test/meson.build.orig 2021-08-14 13:55:37 UTC
101 @@ -8,8 +8,7 @@ build_x11_tests = enable_x11 and x11_dep
102 test_cflags = common_cflags
106 - '-D_POSIX_C_SOURCE=200809L',
107 + '-D_XOPEN_SOURCE=600',