[MacPorts] #61515: zsh @5.8: wrong configure results because of implicit function declarations
MacPorts
noreply at macports.org
Tue Nov 17 21:57:15 UTC 2020
#61515: zsh @5.8: wrong configure results because of implicit function declarations
-------------------------+-----------------------------
Reporter: joelburton | Owner: larryv
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.4
Resolution: | Keywords: bigsur catalina
Port: zsh |
-------------------------+-----------------------------
Comment (by larryv):
Upstream has committed
[https://sourceforge.net/p/zsh/code/ci/bd647c156549b2f666e5fae80f1ca674b6cde895/
a fix] to the development repository, and I've tried [attachment:explicit-
declarations.patch adapting it] for the distribution. Let me know if it
works correctly (I'm still on Mojave!), and I'll push it.
{{{
diff --git a/shells/zsh/Portfile b/shells/zsh/Portfile
index 969e32a97c4..4a3acd4563f 100644
--- a/shells/zsh/Portfile
+++ b/shells/zsh/Portfile
@@ -4,6 +4,7 @@ PortSystem 1.0
name zsh
version 5.8
+revision 1
categories shells
platforms darwin
license Permissive
@@ -47,7 +48,8 @@ checksums ${distname}${extract.suffix} \
sha256
9b4e939593cb5a76564d2be2e2bfbb6242509c0c56fd9ba52f5dba6cf06fdcc4 \
size 3088696
-patchfiles prevent-doc-regeneration.patch
+patchfiles prevent-doc-regeneration.patch \
+ explicit-declarations.patch
set docdir ${prefix}/share/doc/${name}
}}}
Replying to [comment:2 ryandesign]:
> Whereas Homebrew chose to downgrade the error to a warning, the correct
fix is to include the right headers so that the function declarations are
provided.
If my distribution patch works, they are free to use it if they wish.
--
Ticket URL: <https://trac.macports.org/ticket/61515#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list