package/tmux: fix build
authorYann E. MORIN <yann.morin.1998@free.fr>
Sun, 5 Feb 2017 16:21:26 +0000 (17:21 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 5 Feb 2017 20:59:26 +0000 (21:59 +0100)
commit7d987f16ed8e75af81d9223997989c02bd836096
treed9c60a48f06f86499cac023911e2c5369ab9c083
parentc9ebd70fb12c27918fd3cda18e50c2f0b964a833
package/tmux: fix build

The bump to the latest libevent version exposed a latent bug in tmux,
which tries to re-define a variable exposed by the C library.

This breaks with uClibc-ng which defines it const char*, while glibc and
musl define it as non-const.

Fixes:
    http://autobuild.buildroot.org/results/31d/31d37c95b40d297b90a6181ec79c42ee1e2e5090/
    http://autobuild.buildroot.org/results/ccc/ccc9d2e995ba1eaf19f6b325b0af5ebeb8066e7f/
    http://autobuild.buildroot.org/results/8a2/8a28d43bd0c079c1b49b61b0c6ef7de79eda0549/

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/tmux/0001-compat-don-t-re-define-program_invocation_short_name.patch [new file with mode: 0644]