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.4.3/
13 DISTFILE[1]= libepoxy-1.4.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
25 FPC_EQUIVALENT= graphics/libepoxy
26 MESON_ARGS= -Denable-egl=yes
27 MESON_INSERT_RPATH= src/meson.build
29 VAR_OPSYS[sunos]= CFLAGS=-I{{LOCALBASE}}/include/bsd
32 [FILE:333:descriptions/desc.single]
33 Epoxy is a library for handling OpenGL function pointer management.
35 It hides the complexity of dlopen(), dlsym(), glXGetProcAddress(),
36 eglGetProcAddress(), etc. from the app developer, with very little
37 knowledge needed on their part. They get to read GL specs and write code
38 using undecorated function names like glCompileShader().
42 0b808a06c9685a62fca34b680abb8bc7fb2fda074478e329b063c1f872b826f6 783624 libepoxy-1.4.3.tar.xz
45 [FILE:170:manifests/plist.single]
58 lib/pkgconfig/epoxy.pc
61 [FILE:714:patches/patch-test_dlwrap.c]
62 --- test/dlwrap.c.orig 2017-06-06 09:24:13 UTC
66 /* dladdr is a glibc extension */
68 +/* FreeBSD needs this to make asprintf() and dlvsym() visible */
69 +#define __BSD_VISIBLE 1
73 @@ -208,6 +210,10 @@ dlsym(void *handle, const char *name)
75 dlwrap_real_dlsym(void *handle, const char *name)
78 + fprintf(stderr, "dlwrap_real_dlsym unsupported on SunOS (missing dlvsym)");
81 static fips_dlsym_t real_dlsym = NULL;
84 @@ -269,6 +275,7 @@ dlwrap_real_dlsym(void *handle, const ch
87 return real_dlsym(handle, name);
94 [FILE:317:sunos/patch-test_meson.build]
95 --- test/meson.build.orig 2017-06-06 09:24:13 UTC
97 @@ -3,8 +3,7 @@ has_gles2 = gles2_dep.found()
98 build_x11_tests = build_glx and x11_dep.found()
100 test_cflags = common_cflags + [
102 - '-D_POSIX_C_SOURCE=200809L',
103 + '-D_XOPEN_SOURCE=600',
106 # Unconditionally built tests