1 |
commit: 8c427497e8b041bb0908964e10b71ea21dcb7216 |
2 |
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Mar 28 07:24:53 2016 +0000 |
4 |
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Mar 28 07:25:41 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c427497 |
7 |
|
8 |
app-arch/p7zip: fix compilation on OSX El Capitan also, bug #577344 |
9 |
|
10 |
Package-Manager: portage-2.2.28-prefix |
11 |
|
12 |
app-arch/p7zip/files/p7zip-15.14-darwin.patch | 12 ++++++++++++ |
13 |
1 file changed, 12 insertions(+) |
14 |
|
15 |
diff --git a/app-arch/p7zip/files/p7zip-15.14-darwin.patch b/app-arch/p7zip/files/p7zip-15.14-darwin.patch |
16 |
index 2db6de9..412b838 100644 |
17 |
--- a/app-arch/p7zip/files/p7zip-15.14-darwin.patch |
18 |
+++ b/app-arch/p7zip/files/p7zip-15.14-darwin.patch |
19 |
@@ -1,4 +1,5 @@ |
20 |
Darwin has wchar_h and wctypes_h. |
21 |
+El Capitan needs <sys/types.h> for ino_t. |
22 |
|
23 |
--- CPP/myWindows/config.h |
24 |
+++ CPP/myWindows/config.h |
25 |
@@ -11,3 +12,14 @@ Darwin has wchar_h and wctypes_h. |
26 |
|
27 |
/* <wchar.h> */ |
28 |
/* ENV_HAVE_WCHAR__H and not ENV_HAVE_WCHAR_H to avoid warning with wxWidgets */ |
29 |
+--- CPP/myWindows/StdAfx.h |
30 |
++++ CPP/myWindows/StdAfx.h |
31 |
+@@ -32,7 +32,7 @@ |
32 |
+ #include <errno.h> |
33 |
+ #include <math.h> |
34 |
+ |
35 |
+-#ifdef __NETWARE__ |
36 |
++#if defined(__NETWARE__) || defined(__MACH__) |
37 |
+ #include <sys/types.h> |
38 |
+ #endif |
39 |
+ |