diff options
author | Vsevolod Stakhov <vsevolod@FreeBSD.org> | 2016-04-29 15:41:40 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@FreeBSD.org> | 2016-04-29 15:41:40 +0000 |
commit | 0a2914bf6a505456edfc6610ef1523f048c4067e (patch) | |
tree | 2da3a2a1e037cb51ed2258bf3f1a505f3a290ede /security/hpenc/files | |
parent | 0480bb963dce5084d1b41a4d35ea31155f662158 (diff) | |
download | ports-0a2914bf6a505456edfc6610ef1523f048c4067e.tar.gz ports-0a2914bf6a505456edfc6610ef1523f048c4067e.zip |
- Fix build with the recent libc++
PR: 209097
Submitted by: dim
Notes
Notes:
svn path=/head/; revision=414279
Diffstat (limited to 'security/hpenc/files')
-rw-r--r-- | security/hpenc/files/patch-src_common.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/security/hpenc/files/patch-src_common.h b/security/hpenc/files/patch-src_common.h new file mode 100644 index 000000000000..e1fbaa5c8ee4 --- /dev/null +++ b/security/hpenc/files/patch-src_common.h @@ -0,0 +1,11 @@ +--- src/common.h.orig 2014-10-21 15:58:03 UTC ++++ src/common.h +@@ -28,7 +28,7 @@ + // Ugly, ugly hack + #if defined(__clang__) && \ + (__STDC_VERSION__ >= 201112L || __cplusplus >= 201103L) && \ +- !defined(__CLANG_MAX_ALIGN_T_DEFINED) ++ !defined(__CLANG_MAX_ALIGN_T_DEFINED) && !defined(_LIBCPP_STDDEF_H) + typedef struct { + long long __clang_max_align_nonce1 + __attribute__((__aligned__(__alignof__(long long)))); |