1
0
mirror of https://git.freebsd.org/ports.git synced 2026-06-02 11:08:52 +00:00

x11-servers/xarcan: add missing prototype to unbreak the port's build

Fixes:	f5bca97eee
This commit is contained in:
Alexey Dokuchaev
2026-05-29 07:16:12 +00:00
parent 55efba5a3b
commit b796397a61
+5 -3
View File
@@ -9,9 +9,6 @@ WWW= https://arcan-fe.com/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN= Fails to build, error: call to undeclared function 'arcan_timemillis'
EXPIRATION_DATE=2026-05-31
BUILD_DEPENDS= ${LOCALBASE}/include/GL/internal/dri_interface.h:graphics/mesa-dri
LIB_DEPENDS= libepoxy.so:graphics/libepoxy \
libarcan_shmif_ext.so:multimedia/arcan \
@@ -47,6 +44,11 @@ DEFAULT_FONTPATH_LIST= \
${FONTPATH_ROOT}/75dpi/ \
catalogue:${FONTPATHD}
post-patch:
@${REINPLACE_CMD} -e '/_FBDEV_H_/ { x; \
s/^/unsigned long long arcan_timemillis();/; G; }' \
${WRKSRC}/hw/kdrive/arcan/arcan.h
do-install:
# XXX Prevent Meson from installing unrelated files
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/hw/kdrive/arcan/Xarcan \