From: Fabian Groffen Date: Mon, 28 Mar 2016 07:24:53 +0000 (+0200) Subject: app-arch/p7zip: fix compilation on OSX El Capitan also, bug #577344 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=8c427497e8b041bb0908964e10b71ea21dcb7216;p=gentoo.git app-arch/p7zip: fix compilation on OSX El Capitan also, bug #577344 Package-Manager: portage-2.2.28-prefix --- diff --git a/app-arch/p7zip/files/p7zip-15.14-darwin.patch b/app-arch/p7zip/files/p7zip-15.14-darwin.patch index 2db6de96d3e0..412b838cedd7 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 for ino_t. --- CPP/myWindows/config.h +++ CPP/myWindows/config.h @@ -11,3 +12,14 @@ Darwin has wchar_h and wctypes_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 + #include + +-#ifdef __NETWARE__ ++#if defined(__NETWARE__) || defined(__MACH__) + #include + #endif +