svn commit: r548187 - head/x11-wm/treewm

Alexey Dokuchaev danfe at FreeBSD.org
Thu Sep 10 08:14:34 UTC 2020


Author: danfe
Date: Thu Sep 10 08:14:33 2020
New Revision: 548187
URL: https://svnweb.freebsd.org/changeset/ports/548187

Log:
  Unbreak on i386 and probably other 32-bit architectures.

Modified:
  head/x11-wm/treewm/Makefile

Modified: head/x11-wm/treewm/Makefile
==============================================================================
--- head/x11-wm/treewm/Makefile	Thu Sep 10 08:08:28 2020	(r548186)
+++ head/x11-wm/treewm/Makefile	Thu Sep 10 08:14:33 2020	(r548187)
@@ -13,8 +13,6 @@ COMMENT=	Window manager that arranges windows in a tre
 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 \


More information about the svn-ports-all mailing list