freebsd-ports/shells/zsh
Peter Wemm ec2320a569 Make zsh not segfault on ia64 due to a generic misconfiguration that
just happens to be fatal there, and a coding botch.  The first problem is
that it assumes a termcap interface (which is an emulation on freebsd),
and provides its own terminfo wrappers around termcap..  so that's two
avoidable translation layers... termcap file -> terminfo (libncurses) ->
termcap API emulation (libncurses) -> terminfo (zsh emlulation).  zsh
forgot to prototype the tiget* functions (which return pointers) so we
have an integer (implicit declaration) being cast to a pointer which
is fatal.  The second problem is that zsh tries to use _mktemp() to get
around the __warn_references in our C library, but also neglects a
prototype there and has the same fatal int/pointer problem.

It is likely all the zsh* ports need these fixes.  A test compile on
pluto1.freebsd.org will highlight the problem.

I do not know why the packaging fails for ia64.  termcap.so and
terminfo.so are not being built for some reason, this change doesn't
solve that problem.
2003-01-11 23:45:20 +00:00
..
files Make zsh not segfault on ia64 due to a generic misconfiguration that 2003-01-11 23:45:20 +00:00
distinfo Update to 4.0.6. 2002-08-14 21:28:36 +00:00
Makefile Make zsh not segfault on ia64 due to a generic misconfiguration that 2003-01-11 23:45:20 +00:00
pkg-comment
pkg-descr Update to 4.0.2. 2001-07-03 04:47:28 +00:00
pkg-plist Really commit the pkg-plist change. 2002-08-15 15:15:16 +00:00