FreeBSD Bugzilla – Attachment 169761 Details for
Bug 209100
sysutils/afflib: Fix build with libc++ 3.8.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Use bswap macros/functions from sys/endian.h
sysutils__afflib-fix-bswap-1.diff (text/plain), 1012 bytes, created by
Dimitry Andric
on 2016-04-27 16:53:01 UTC
(
hide
)
Description:
Use bswap macros/functions from sys/endian.h
Filename:
MIME Type:
Creator:
Dimitry Andric
Created:
2016-04-27 16:53:01 UTC
Size:
1012 bytes
patch
obsolete
>Index: sysutils/afflib/files/patch-lib_qemu_bswap.h >=================================================================== >--- sysutils/afflib/files/patch-lib_qemu_bswap.h (nonexistent) >+++ sysutils/afflib/files/patch-lib_qemu_bswap.h (working copy) >@@ -0,0 +1,20 @@ >+--- lib/qemu/bswap.h.orig 2014-11-08 06:32:35 UTC >++++ lib/qemu/bswap.h >+@@ -5,6 +5,9 @@ >+ >+ #include <inttypes.h> >+ >++#ifdef __FreeBSD__ >++#include <sys/endian.h> >++#else >+ #ifdef HAVE_BYTESWAP_H >+ #include <byteswap.h> >+ #else >+@@ -57,6 +60,7 @@ static inline uint64_t bswap64(uint64_t >+ { >+ return bswap_64(x); >+ } >++#endif >+ >+ static inline void bswap16s(uint16_t *s) >+ { > >Property changes on: sysutils/afflib/files/patch-lib_qemu_bswap.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 209100
: 169761