summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2016-03-28 09:24:53 +0200
committerFabian Groffen <grobian@gentoo.org>2016-03-28 09:25:41 +0200
commit8c427497e8b041bb0908964e10b71ea21dcb7216 (patch)
tree1ebf1f74ca381e5479a32af54864e7be76d87e8d /app-arch/p7zip
parentmedia-video/ffmpeg: drop dcadec useflag in live ebuild (dropped upstream) (diff)
downloadgentoo-8c427497e8b041bb0908964e10b71ea21dcb7216.tar.gz
gentoo-8c427497e8b041bb0908964e10b71ea21dcb7216.tar.bz2
gentoo-8c427497e8b041bb0908964e10b71ea21dcb7216.zip
app-arch/p7zip: fix compilation on OSX El Capitan also, bug #577344
Package-Manager: portage-2.2.28-prefix
Diffstat (limited to 'app-arch/p7zip')
-rw-r--r--app-arch/p7zip/files/p7zip-15.14-darwin.patch12
1 files changed, 12 insertions, 0 deletions
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 <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
+