FreeBSD Bugzilla – Attachment 169252 Details for
Bug 208754
games/assaultcube: Fix build with libc++ 3.8.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Remove hand-rolled round function from games/assaultcube
games__assaultcube-remove-round-1.diff (text/plain), 1.07 KB, created by
Dimitry Andric
on 2016-04-12 18:54:27 UTC
(
hide
)
Description:
Remove hand-rolled round function from games/assaultcube
Filename:
MIME Type:
Creator:
Dimitry Andric
Created:
2016-04-12 18:54:27 UTC
Size:
1.07 KB
patch
obsolete
>Index: games/assaultcube/files/patch-source_src_tools.h >=================================================================== >--- games/assaultcube/files/patch-source_src_tools.h (nonexistent) >+++ games/assaultcube/files/patch-source_src_tools.h (working copy) >@@ -0,0 +1,11 @@ >+--- source/src/tools.h.orig 2013-10-22 20:57:19.000000000 +0200 >++++ source/src/tools.h 2016-04-12 20:40:13.105181000 +0200 >+@@ -55,8 +55,6 @@ static inline T min(T a, T b) >+ return a < b ? a : b; >+ } >+ >+-static inline float round(float x) { return floor(x + 0.5f); } >+- >+ #define clamp(a,b,c) (max(b, min(a, c))) >+ #define rnd(x) ((int)(randomMT()&0xFFFFFF)%(x)) >+ #define rndscale(x) (float((randomMT()&0xFFFFFF)*double(x)/double(0xFFFFFF))) > >Property changes on: games/assaultcube/files/patch-source_src_tools.h >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
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 208754
: 169252 |
169270
|
169271