bentley a17cb750bf Backport an overflow fix from upstream.
This fixes crashes in some consumers such as openttd (vm.malloc_conf=S).
2020-01-13 08:20:51 +00:00

23 lines
466 B
Makefile

# $OpenBSD: Makefile,v 1.11 2020/01/13 08:20:51 bentley Exp $
COMMENT = implementation of the XDG Base Directory specification
DISTNAME = libxdg-basedir-1.2.0
SHARED_LIBS += xdg-basedir 2.0 # .3.0
CATEGORIES = x11 devel
REVISION = 2
# MIT
PERMIT_PACKAGE = Yes
MASTER_SITES = http://nevill.ch/libxdg-basedir/downloads/
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS += --disable-doxygen-doc
pre-configure:
@${SUBST_CMD} ${WRKSRC}/src/basedir.c
.include <bsd.port.mk>