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