FreeBSD Bugzilla – Attachment 156657 Details for
Bug 200124
x11-wm/blackbox 0.70.1_4 does not build on ARM
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
fix armv6 build
x11-wm_blackbox.patch (text/plain), 787 bytes, created by
Mikael Urankar
on 2015-05-11 14:58:52 UTC
(
hide
)
Description:
fix armv6 build
Filename:
MIME Type:
Creator:
Mikael Urankar
Created:
2015-05-11 14:58:52 UTC
Size:
787 bytes
patch
obsolete
>--- Makefile.orig >+++ Makefile >@@ -24,6 +24,10 @@ TOOLS_ONLY_DESC= Do not install window manager, only tools > > .include <bsd.port.options.mk> > >+.if ${ARCH} == "armv6" >+EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src_Toolbar.cc >+.endif >+ > .if ${PORT_OPTIONS:MTOOLS_ONLY} > PKGNAMESUFFIX= -tools > COMMENT+= (tools only) > >--- /dev/null >+++ files/extra-patch-src_Toolbar.cc.orig >@@ -0,0 +1,11 @@ >+--- src/Toolbar.cc.orig 2015-05-11 11:54:54 UTC >++++ src/Toolbar.cc >+@@ -44,7 +44,7 @@ long nextTimeout(int resolution) >+ { >+ timeval now; >+ gettimeofday(&now, 0); >+- return (std::max(1000l, ((((resolution - (now.tv_sec % resolution)) * 1000l)) >++ return (std::max(1000ll, ((((resolution - (now.tv_sec % resolution)) * 1000l)) >+ - (now.tv_usec / 1000l)))); >+ } >+
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 200124
:
156657
|
156659