description A tool for autogenerating scheme bindings for C language \
functions, structures & enums.
long_description ${description}
homepage https://www.nongnu.org/g-wrap/
master_sites https://download.savannah.gnu.org/releases/g-wrap/
checksums rmd160 87d84720a89f87c16e061c0c697382654ac8ca30 \
sha256 06abe8f8d2758f4d8e51f39b5cee3917ea70ec84410d4294214e43f843348d27
depends_build port:pkgconfig
depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2 \
patchfiles patch-configure.diff
# error: equality comparison with extraneous parentheses [-Werror,-Wparentheses-equality]
# error: indirection of non-volatile null pointer will be deleted, not trap [-Werror,-Wnull-dereference]
# error: shift count >= width of type [-Werror,-Wshift-count-overflow]
configure.args --disable-Werror
# error: unknown type name 'intmax_t'
# error: unknown type name 'uintmax_t'; did you mean 'uintptr_t'?
compiler.blacklist-append *clang*
# file: "libguile-srfi-srfi-1-v-3", message: "file not found"
build.env-append DYLD_FALLBACK_LIBRARY_PATH=${prefix}/lib
# error: missing terminating " character
livecheck.url https://www.nongnu.org/g-wrap/download.html
livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix}