Update science/orthanc to version 1.11.0_3
[dports.git] / science / orthanc / dragonfly / patch-OrthancFramework_Sources_Endianness.h
1 --- OrthancFramework/Sources/Endianness.h.orig  2022-10-29 18:11:24.650580000 +0200
2 +++ OrthancFramework/Sources/Endianness.h       2022-10-29 18:11:44.680140000 +0200
3 @@ -84,9 +84,10 @@
4   ** FREEBSD ARCHITECTURES
5   ********************************************************************/
6  
7 -#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
8 +#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__)
9  #  define ORTHANC_HAS_BUILTIN_BYTE_SWAP 1
10  #  include <arpa/inet.h>
11 +#  include <endian.h>
12  #endif
13  
14