From 114eae0ba29dd89c26f2cb9aff8dae382e2976fb Mon Sep 17 00:00:00 2001 From: Alexey Dokuchaev Date: Thu, 10 Sep 2020 08:14:33 +0000 Subject: [PATCH] Unbreak on i386 and probably other 32-bit architectures. --- x11-wm/treewm/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x11-wm/treewm/Makefile b/x11-wm/treewm/Makefile index 8a010292dda2..ae12c74c61e0 100644 --- a/x11-wm/treewm/Makefile +++ b/x11-wm/treewm/Makefile @@ -13,8 +13,6 @@ COMMENT= Window manager that arranges windows in a tree LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -BROKEN_i386= constant expression evaluates to -2147483648 which cannot be narrowed to type 'unsigned long' - USES= gmake imake:env tar:bzip2 xorg USE_XORG= x11 ice sm xext xmu xpm xt xxf86vm @@ -28,6 +26,8 @@ post-patch: '/^PREFIX/s| =| ?=| ; \ /^CXXFLAGS/s| =| ?=| ; \ s|/usr/X11R6|${LOCALBASE}|g' ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e \ + '/DF_GRABKEYBOARD/s|1L|1UL|' ${WRKSRC}/src/client.h do-install: (cd ${WRKSRC}/src && ${INSTALL_PROGRAM} treewm \