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]= complete
20 OPTIONS_AVAILABLE= none
21 OPTIONS_STANDARD= none
23 BUILD_DEPENDS= libglvnd:dev:standard
24 BUILDRUN_DEPENDS= libglvnd:primary:standard
25 B_DEPS[sunos]= libbsd4sol:single:standard
26 EXRUN[dev]= xorg-x11:dev:standard
29 USES= meson pkgconfig python:build
33 LICENSE_FILE= MIT:{{WRKSRC}}/COPYING
36 FPC_EQUIVALENT= graphics/libepoxy
38 VAR_OPSYS[sunos]= CFLAGS=-I{{LOCALBASE}}/include/bsd
41 [FILE:333:descriptions/desc.primary]
42 Epoxy is a library for handling OpenGL function pointer management.
44 It hides the complexity of dlopen(), dlsym(), glXGetProcAddress(),
45 eglGetProcAddress(), etc. from the app developer, with very little
46 knowledge needed on their part. They get to read GL specs and write code
47 using undecorated function names like glCompileShader().
51 a7ced37f4102b745ac86d6a70a9da399cc139ff168ba6b8002b4d8d43c900c15 332078 anholt-libepoxy-1.5.10.tar.gz
54 [FILE:39:manifests/plist.primary]
60 [FILE:134:manifests/plist.dev]
70 lib/pkgconfig/epoxy.pc
73 [FILE:714:patches/patch-test_dlwrap.c]
74 --- test/dlwrap.c.orig 2021-08-14 13:55:37 UTC
78 /* dladdr is a glibc extension */
80 +/* FreeBSD needs this to make asprintf() and dlvsym() visible */
81 +#define __BSD_VISIBLE 1
85 @@ -213,6 +215,10 @@ dlsym(void *handle, const char *name)
87 dlwrap_real_dlsym(void *handle, const char *name)
90 + fprintf(stderr, "dlwrap_real_dlsym unsupported on SunOS (missing dlvsym)");
93 static fips_dlsym_t real_dlsym = NULL;
96 @@ -275,6 +281,7 @@ dlwrap_real_dlsym(void *handle, const ch
99 return real_dlsym(handle, name);
106 [FILE:286:sunos/patch-test_meson.build]
107 --- test/meson.build.orig 2021-08-14 13:55:37 UTC
109 @@ -8,8 +8,7 @@ build_x11_tests = enable_x11 and x11_dep
110 test_cflags = common_cflags
114 - '-D_POSIX_C_SOURCE=200809L',
115 + '-D_XOPEN_SOURCE=600',