16 Commits

Author SHA1 Message Date
OscarL
4fef335a0b libevent: revbump packages that depend on libevent. (#7758)
This is needed after the changes in the libevent package.
2023-01-10 16:35:57 +01:00
Tobias Kortkamp
af5c301a20 tmux: Fix suffix on x86_gcc2 (#6802)
* tmux: Fix suffix on x86_gcc2
2022-04-01 10:55:13 +02:00
waddlesplash
4f180bdb94 Utilize the new "all" ARCHITECTURES keyword in most recipes. (#6189)
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has,
is transformed into "all", and then the other entries in ARCHITECTURES
either dropped or rearranged appropriately.
2021-09-15 15:40:18 -04:00
Zach Dykstra
6e45141155 tmux: use preferred Haiku config path (#5544) 2021-01-12 10:18:10 +01:00
Zach Dykstra
8a0e5b96db tmux: update to 3.1c (#5539) 2020-12-29 08:33:51 +01:00
Kyle Ambroff-Kao
0186c63a17 tmux: Fix crash loading config (#4477)
The tmux code depends on some BSD functionality, namely fparseln,
when parsing configs. This is called in load_cfg during startup after
finding the appropriate config file to load.

On platforms where fparseln isn't available, tmux uses a polyfill
library called compat that it ships with, which includes a fork of the
FreeBSD fparseln function.

The autoconf script for tmux searches the libutil header for fparseln
in order to determine whether to use this compat library or the
fparseln from the the system.

Before this patch, on my x86_64 system at least, tmux would crash on
startup trying to load $HOME/.tmux.conf. It turns out that this is
because on Haiku, the FreeBSD compatibility in libutil code is
disabled in /system/develop/headers/bsd/features.h unless either
_BSD_SOURCE is defined.

    #if defined(_BSD_SOURCE) \
            || (!defined(__STRICT_ANSI__) && !defined(_POSIX_C_SOURCE))
            #define _DEFAULT_SOURCE
    #endif

Since _BSD_SOURCE is not defined, and _POSIX_C_SOURCE *is* defined
(because the compiler is given -std=gnu99), then _DEFAULT_SOURCE is
never defined.

The end result is that fparseln is visible to autoconf, but is not
visible to the compiler when compiling cfg.c.

This leads fparseln to be implicitly defined, which changes the return
type from char* to int, and that conversion can cause a SEGFAULT.

The effect of this patch is to just define _BSD_SOURCE so that the
FreeBSD compat code is visible to the compiler, which produces a tmux
binary that works as expected.
2019-12-23 07:36:06 +01:00
Augustin Cavalier
ae94b1277b Bump revisions of recipes that depend on ncurses. 2019-05-24 16:14:07 -04:00
Jerome Duval
1d573965a7 tmux: bump version. 2019-03-30 13:44:11 +01:00
Jerome Duval
189994c0a6 app-*: reorder sections. 2018-08-08 14:24:56 +02:00
Jerome Duval
04bbcb5cad tmux: code style. 2018-08-03 07:11:37 +02:00
Sergei Reznikov
68ae2ba4d7 tmux: bump version 2017-07-07 16:31:04 +03:00
Jérôme Duval
a4f2e807ee tmux: fix REQUIRES. 2017-07-07 09:15:14 +02:00
Jerome Duval
fc0936b040 Bump revisions for x86_64 rebuild after time_t change.
* a few apps needed build fix for time_t.
* disable compatibility packages for x86_64.
2017-06-27 15:46:25 +02:00
Jerome Duval
a92684ac4a x86: enable some recipes which build OK. 2017-04-28 23:44:49 +02:00
hermord
1a3b37f4b6 tmux,parted,bc,htop: enable x86_64 (#1022)
fix gcc6 and gcc7 syslibs devel provides.
2017-01-10 09:29:38 +01:00
Sergei Reznikov
39a752255e tmux: add recipe for version 2.1
builds but doesn't run
2016-03-16 21:14:30 +03:00