FreeBSD Bugzilla – Attachment 197248 Details for
Bug 231496
devel/libubox: fix build on powerpc64
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
libubox.patch (text/plain), 1.29 KB, created by
Piotr Kubaj
on 2018-09-19 23:11:18 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Piotr Kubaj
Created:
2018-09-19 23:11:18 UTC
Size:
1.29 KB
patch
obsolete
>Index: files/patch-utils.h >=================================================================== >--- files/patch-utils.h (nonexistent) >+++ files/patch-utils.h (working copy) >@@ -0,0 +1,20 @@ >+--- utils.h.orig 2018-09-19 23:05:31 UTC >++++ utils.h >+@@ -121,7 +121,7 @@ int clock_gettime(int type, struct timespec *tv); >+ * This returns a constant expression while determining if an argument is >+ * a constant expression, most importantly without evaluating the argument. >+ */ >+-#define __is_constant(x) \ >++#define __is_it_constant(x) \ >+ (sizeof(int) == sizeof(*(1 ? ((void*)((long)(x) * 0l)) : (int*)1))) >+ >+ #define __eval_once(func, x) \ >+@@ -136,7 +136,7 @@ int clock_gettime(int type, struct timespec *tv); >+ #define __eval_safe(func, x) __eval_once(func, x) >+ #else >+ #define __eval_safe(func, x) \ >+- __builtin_choose_expr(__is_constant(x), \ >++ __builtin_choose_expr(__is_it_constant(x), \ >+ func(x), __eval_once(func, x)) >+ #endif >+ > >Property changes on: files/patch-utils.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
Flags:
pkubaj
:
maintainer-approval?
(
mm
)
Actions:
View
|
Diff
Attachments on
bug 231496
: 197248