diff options
author | junovitch <junovitch@FreeBSD.org> | 2016-04-03 22:59:51 +0800 |
---|---|---|
committer | junovitch <junovitch@FreeBSD.org> | 2016-04-03 22:59:51 +0800 |
commit | 5d73c9b14265ffe6ab0d086974808bdc4995d18d (patch) | |
tree | 070d96631744b253d949d978bd95032bbd31179b /security | |
parent | a0085645eb603acc39b0bfa15028678e96dfaaa7 (diff) | |
download | freebsd-ports-gnome-5d73c9b14265ffe6ab0d086974808bdc4995d18d.tar.gz freebsd-ports-gnome-5d73c9b14265ffe6ab0d086974808bdc4995d18d.tar.zst freebsd-ports-gnome-5d73c9b14265ffe6ab0d086974808bdc4995d18d.zip |
security/strongswan: unbreak FreeBSD 9 builds
- Add patch to include sys/endian.h header
PR: 208446
Submitted by: strongswan@Nanoteq.com (maintainer)
MFH: 2016Q2 (build fix blanket)
Diffstat (limited to 'security')
-rw-r--r-- | security/strongswan/files/patch-src_libstrongswan_utils_utils_byteorder.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/security/strongswan/files/patch-src_libstrongswan_utils_utils_byteorder.h b/security/strongswan/files/patch-src_libstrongswan_utils_utils_byteorder.h new file mode 100644 index 000000000000..38906417dafb --- /dev/null +++ b/security/strongswan/files/patch-src_libstrongswan_utils_utils_byteorder.h @@ -0,0 +1,13 @@ +--- src/libstrongswan/utils/utils/byteorder.h.orig 2016-03-29 06:56:52 UTC ++++ src/libstrongswan/utils/utils/byteorder.h +@@ -22,6 +22,10 @@ + #ifndef BYTEORDER_H_ + #define BYTEORDER_H_ + ++#if defined(__FreeBSD__) ++#include <sys/endian.h> ++#endif ++ + /** + * Architecture independent bitfield definition helpers (at least with GCC). + * |