FreeBSD Bugzilla – Attachment 189481 Details for
Bug 224959
sysutils/cmocka needs small patch for ldb12 to build correctly on powerpc64
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to add correct uintptr_t guard
cmocka.diff (text/plain), 1.31 KB, created by
Justin Hibbits
on 2018-01-06 23:03:36 UTC
(
hide
)
Description:
Patch to add correct uintptr_t guard
Filename:
MIME Type:
Creator:
Justin Hibbits
Created:
2018-01-06 23:03:36 UTC
Size:
1.31 KB
patch
obsolete
>Index: sysutils/cmocka/files/patch-include_cmocka.h >=================================================================== >--- sysutils/cmocka/files/patch-include_cmocka.h (nonexistent) >+++ sysutils/cmocka/files/patch-include_cmocka.h (working copy) >@@ -0,0 +1,19 @@ >+--- include/cmocka.h.bak 2018-01-02 22:14:13.670138000 -0600 >++++ include/cmocka.h 2018-01-02 22:35:26.399769000 -0600 >+@@ -110,7 +110,7 @@ >+ ((LargestIntegralType)(value)) >+ >+ /* Smallest integral type capable of holding a pointer. */ >+-#if !defined(_UINTPTR_T) && !defined(_UINTPTR_T_DEFINED) >++#if !defined(_UINTPTR_T) && !defined(_UINTPTR_T_DEFINED) && !defined(_UINTPTR_T_DECLARED) >+ # if defined(_WIN32) >+ /* WIN32 is an ILP32 platform */ >+ typedef unsigned int uintptr_t; >+@@ -136,6 +136,7 @@ >+ >+ # define _UINTPTR_T >+ # define _UINTPTR_T_DEFINED >++# define _UINTPTR_T_DECLARED >+ #endif /* !defined(_UINTPTR_T) || !defined(_UINTPTR_T_DEFINED) */ >+ >+ /* Perform an unsigned cast to uintptr_t. */ > >Property changes on: sysutils/cmocka/files/patch-include_cmocka.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 224959
: 189481