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.5/
13 DISTFILE[1]= libepoxy-1.5.5.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 python:build
26 LICENSE_FILE= MIT:{{WRKSRC}}/COPYING
29 FPC_EQUIVALENT= graphics/libepoxy
30 MESON_ARGS= -Denable-egl=yes
32 VAR_OPSYS[sunos]= CFLAGS=-I{{LOCALBASE}}/include/bsd
35 [FILE:333:descriptions/desc.single]
36 Epoxy is a library for handling OpenGL function pointer management.
38 It hides the complexity of dlopen(), dlsym(), glXGetProcAddress(),
39 eglGetProcAddress(), etc. from the app developer, with very little
40 knowledge needed on their part. They get to read GL specs and write code
41 using undecorated function names like glCompileShader().
45 261663db21bcc1cc232b07ea683252ee6992982276536924271535875f5b0556 223688 libepoxy-1.5.5.tar.xz
48 [FILE:170:manifests/plist.single]
61 lib/pkgconfig/epoxy.pc
64 [FILE:714:patches/patch-test_dlwrap.c]
65 --- test/dlwrap.c.orig 2020-12-22 14:41:49 UTC
69 /* dladdr is a glibc extension */
71 +/* FreeBSD needs this to make asprintf() and dlvsym() visible */
72 +#define __BSD_VISIBLE 1
76 @@ -213,6 +215,10 @@ dlsym(void *handle, const char *name)
78 dlwrap_real_dlsym(void *handle, const char *name)
81 + fprintf(stderr, "dlwrap_real_dlsym unsupported on SunOS (missing dlvsym)");
84 static fips_dlsym_t real_dlsym = NULL;
87 @@ -275,6 +281,7 @@ dlwrap_real_dlsym(void *handle, const ch
90 return real_dlsym(handle, name);
97 [FILE:286:sunos/patch-test_meson.build]
98 --- test/meson.build.orig 2018-05-08 15:28:22 UTC
100 @@ -8,8 +8,7 @@ build_x11_tests = enable_x11 and x11_dep
101 test_cflags = common_cflags
105 - '-D_POSIX_C_SOURCE=200809L',
106 + '-D_XOPEN_SOURCE=600',