comparison Resources/Patches/e2fsprogs-1.44.5-apple.patch @ 3289:afc38fd21c78

upgrade to e2fsprogs 1.44.5
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 21 Feb 2019 20:32:33 +0100
parents
children
comparison
equal deleted inserted replaced
3288:8d1ea00a990a 3289:afc38fd21c78
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>