1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 SDESC[standard]= OpenGL function pointer management library
8 HOMEPAGE= https://github.com/anholt/libepoxy
12 SITES[main]= https://github.com/anholt/libepoxy/releases/download/1.5.3/
13 DISTFILE[1]= libepoxy-1.5.3.tar.xz:main
15 SPKGS[standard]= single
17 OPTIONS_AVAILABLE= none
18 OPTIONS_STANDARD= none
20 B_DEPS[sunos]= libbsd4sol:single:standard
22 USES= mesa meson pkgconfig
26 LICENSE_FILE= MIT:{{WRKSRC}}/COPYING
29 FPC_EQUIVALENT= graphics/libepoxy
30 MESON_ARGS= -Denable-egl=yes
34 VAR_OPSYS[sunos]= CFLAGS=-I{{LOCALBASE}}/include/bsd
37 [FILE:333:descriptions/desc.single]
38 Epoxy is a library for handling OpenGL function pointer management.
40 It hides the complexity of dlopen(), dlsym(), glXGetProcAddress(),
41 eglGetProcAddress(), etc. from the app developer, with very little
42 knowledge needed on their part. They get to read GL specs and write code
43 using undecorated function names like glCompileShader().
47 002958c5528321edd53440235d3c44e71b5b1e09b9177e8daf677450b6c4433d 220540 libepoxy-1.5.3.tar.xz
50 [FILE:170:manifests/plist.single]
63 lib/pkgconfig/epoxy.pc
66 [FILE:714:patches/patch-test_dlwrap.c]
67 --- test/dlwrap.c.orig 2018-10-04 23:40:48 UTC
71 /* dladdr is a glibc extension */
73 +/* FreeBSD needs this to make asprintf() and dlvsym() visible */
74 +#define __BSD_VISIBLE 1
78 @@ -213,6 +215,10 @@ dlsym(void *handle, const char *name)
80 dlwrap_real_dlsym(void *handle, const char *name)
83 + fprintf(stderr, "dlwrap_real_dlsym unsupported on SunOS (missing dlvsym)");
86 static fips_dlsym_t real_dlsym = NULL;
89 @@ -275,6 +281,7 @@ dlwrap_real_dlsym(void *handle, const ch
92 return real_dlsym(handle, name);
99 [FILE:286:sunos/patch-test_meson.build]
100 --- test/meson.build.orig 2018-05-08 15:28:22 UTC
102 @@ -8,8 +8,7 @@ build_x11_tests = enable_x11 and x11_dep
103 test_cflags = common_cflags
107 - '-D_POSIX_C_SOURCE=200809L',
108 + '-D_XOPEN_SOURCE=600',