summaryrefslogtreecommitdiff
path: root/app-arch/p7zip/files
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2016-03-26 09:33:42 +0100
committerFabian Groffen <grobian@gentoo.org>2016-03-26 09:34:36 +0100
commited70c7578c8f321f58b1c6c81ea478804b3fc0a6 (patch)
treeb60edff71b0bfb33a4e37d9a1b3cd5733b592cdb /app-arch/p7zip/files
parent734a6ad1b1e59a47c157a00f54196bb7e5897e6e (diff)
downloadgentoo-ed70c7578c8f321f58b1c6c81ea478804b3fc0a6.tar.gz
gentoo-ed70c7578c8f321f58b1c6c81ea478804b3fc0a6.tar.xz
app-arch/p7zip: fix compilation on Darwin, bug #577344
Package-Manager: portage-2.2.28-prefix
Diffstat (limited to 'app-arch/p7zip/files')
-rw-r--r--app-arch/p7zip/files/p7zip-15.14-darwin.patch13
1 files changed, 13 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
new file mode 100644
index 00000000000..2db6de96d3e
--- /dev/null
+++ b/app-arch/p7zip/files/p7zip-15.14-darwin.patch
@@ -0,0 +1,13 @@
+Darwin has wchar_h and wctypes_h.
+
+--- CPP/myWindows/config.h
++++ CPP/myWindows/config.h
+@@ -5,7 +5,7 @@
+ #define FILESYSTEM_IS_CASE_SENSITIVE 1
+ #endif
+
+- #if !defined(ENV_MACOSX) && !defined(ENV_BEOS)
++ #if !defined(ENV_BEOS)
+
+ /* <wchar.h> */
+ /* ENV_HAVE_WCHAR__H and not ENV_HAVE_WCHAR_H to avoid warning with wxWidgets */