diff options
Diffstat (limited to 'dev-python/matplotlib/files/matplotlib-3.7.2-macOS_no-Cocoa.patch')
-rw-r--r-- | dev-python/matplotlib/files/matplotlib-3.7.2-macOS_no-Cocoa.patch | 21 |
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(), + ] + + |