- pass explicit -pie flag to CFLAGS and hack `make` invocation so that
/usr/bin/expect actually becomes a PIE binary. This is especially awkard
since the expect build system implicitly passes -fPIC which breaks our
gcc-PIE package, but does not pass -pie while linking the executable.
Shared libraries are also not linked with -shared so we need to explicitly
pass this, too, to avoid build breakage (bsc#1184122).
OBS-URL: https://build.opensuse.org/request/show/887314
OBS-URL: https://build.opensuse.org/package/show/devel:languages:tcl/expect?expand=0&rev=26
- New version 5.45.3:
* expect.c: On finding a full buffer during matching the sliding
window mechanism slides too far, truncating the whole buffer and
preventing matches across the boundary. Fix is shortening the
slide distance (slide only one 1/3).
* expect.c: Replaced a cc==0 check with proper Tcl_Eof() check.
- Includes changes from 5.45.2:
* configure: Extended Tcl header detection for OS X Mountain Lion.
* expect.c: Replaced memcpy with memmove to properly handle
overlapping memory.
- Includes changes from 5.45.1:
* exp_chan.c: Fix a problem when talking a tty where the writer
dies. Some operating systems report the condition as EIO with
nothing read, while this actually an EOF. Previously, returned
data was incomplete due to the error causing data in buffers to
be dropped.
* exp_chan.c: Fix a problem with the iteration over the expect
channel list where the loop code may modify the list, breaking
the iterator.
* Fixes for exp_chan.c and exp_command.h
* expect.c: Convert #bytes information to #chars to prevent later
code to fail when copying strings around and miscalculating how
much to copy, for strings containing non-ASCII utf chars.
* exp_inter.c: Hack access to TCL_REG_BOSONLY when not present,
became private with Tcl 8.5 and higher.
* expect.h: Remove the local fiddling with the memory allocation
and panic macros.
* example/unbuffer: Prevent unbuffer from swallowing exit code of
the command it ran (regular mode only, not -p)
* Various deduplications and cleanups
- cleanup with spec-cleaner
- use %make_install macro
OBS-URL: https://build.opensuse.org/request/show/540240
OBS-URL: https://build.opensuse.org/package/show/devel:languages:tcl/expect?expand=0&rev=19