comparison OrthancFramework/Resources/Patches/e2fsprogs-1.44.5-apple.patch @ 4044:d25f4c0fa160 framework

splitting code into OrthancFramework and OrthancServer
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 10 Jun 2020 20:30:34 +0200
parents Resources/Patches/e2fsprogs-1.44.5-apple.patch@afc38fd21c78
children
comparison
equal deleted inserted replaced
4043:6c6239aec462 4044:d25f4c0fa160
1 diff -urEb e2fsprogs-1.44.5.orig/lib/uuid/uuid.h.in e2fsprogs-1.44.5/lib/uuid/uuid.h.in
2 --- e2fsprogs-1.44.5.orig/lib/uuid/uuid.h.in 2019-02-21 20:17:23.461402522 +0100
3 +++ e2fsprogs-1.44.5/lib/uuid/uuid.h.in 2019-02-21 20:25:05.664540445 +0100
4 @@ -35,6 +35,20 @@
5 #ifndef _UUID_UUID_H
6 #define _UUID_UUID_H
7
8 +
9 +#if defined(__APPLE__)
10 +// This patch defines the "uuid_string_t" type on OS X, which is
11 +// required if linking against Cocoa (this occurs in Stone of Orthanc)
12 +#include <sys/_types.h>
13 +#include <sys/_types/_uuid_t.h>
14 +
15 +#ifndef _UUID_STRING_T
16 +#define _UUID_STRING_T
17 +typedef __darwin_uuid_string_t uuid_string_t;
18 +#endif /* _UUID_STRING_T */
19 +#endif
20 +
21 +
22 #include <sys/types.h>
23 #ifndef _WIN32
24 #include <sys/time.h>