summaryrefslogtreecommitdiff
path: root/dev-python/matplotlib/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-07-18 00:58:25 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-07-18 00:58:25 +0100
commit5e0a5ca921524f8859808527a57655eec16efa52 (patch)
tree7c58411b1e81478df4e20082a6adec2553c24c5c /dev-python/matplotlib/files
parent4c16e0a214824f15f09396e359db4f1f5c086fec (diff)
gentoo auto-resync : 18:07:2023 - 00:58:24
Diffstat (limited to 'dev-python/matplotlib/files')
-rw-r--r--dev-python/matplotlib/files/matplotlib-3.7.2-macOS_no-Cocoa.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/dev-python/matplotlib/files/matplotlib-3.7.2-macOS_no-Cocoa.patch b/dev-python/matplotlib/files/matplotlib-3.7.2-macOS_no-Cocoa.patch
new file mode 100644
index 000000000000..3f29134be621
--- /dev/null
+++ b/dev-python/matplotlib/files/matplotlib-3.7.2-macOS_no-Cocoa.patch
@@ -0,0 +1,21 @@
+Do not automatically build against Cocoa on macOS.
+
+At Prefix/macOS, we do not support the propietary Cocoa SDK. GUI
+applications use X11.
+
+The patch is specific to our need and not forwarded upstream.
+
+Signed-off-by: Benda Xu <heroxbd@gentoo.org>
+
+Index: matplotlib-3.7.2/setup.py
+===================================================================
+--- matplotlib-3.7.2.orig/setup.py
++++ matplotlib-3.7.2/setup.py
+@@ -49,7 +49,6 @@ mpl_packages = [
+ setupext.FreeType(),
+ setupext.Qhull(),
+ setupext.Tests(),
+- setupext.BackendMacOSX(),
+ ]
+
+