View | Details | Raw Unified | Return to bug 200124 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (+4 lines)
Lines 24-29 TOOLS_ONLY_DESC= Do not install window manager, only tools Link Here
24
24
25
.include <bsd.port.options.mk>
25
.include <bsd.port.options.mk>
26
26
27
.if ${ARCH} == "armv6"
28
EXTRA_PATCHES+=	${FILESDIR}/extra-patch-src_Toolbar.cc
29
.endif
30
27
.if ${PORT_OPTIONS:MTOOLS_ONLY}
31
.if ${PORT_OPTIONS:MTOOLS_ONLY}
28
PKGNAMESUFFIX=	-tools
32
PKGNAMESUFFIX=	-tools
29
COMMENT+=	(tools only)
33
COMMENT+=	(tools only)
(-)files/extra-patch-src_Toolbar.cc.orig (+11 lines)
Added Link Here
1
--- src/Toolbar.cc.orig	2015-05-11 11:54:54 UTC
2
+++ src/Toolbar.cc
3
@@ -44,7 +44,7 @@ long nextTimeout(int resolution)
4
 {
5
   timeval now;
6
   gettimeofday(&now, 0);
7
-  return (std::max(1000l, ((((resolution - (now.tv_sec % resolution)) * 1000l))
8
+  return (std::max(1000ll, ((((resolution - (now.tv_sec % resolution)) * 1000l))
9
                            - (now.tv_usec / 1000l))));
10
 }
11
 

Return to bug 200124