tmux: Update to 2.1
[termux-packages] / packages / tmux / tmux_h.patch
CommitLineData
b4b35f2f
FF
1diff -u -r ../tmux-2.1/tmux.h ./tmux.h
2--- ../tmux-2.1/tmux.h 2015-09-27 05:51:49.000000000 -0400
3+++ ./tmux.h 2015-10-19 17:33:45.737891900 -0400
4@@ -40,7 +40,7 @@
5 extern char **environ;
6
7 /* Default global configuration file. */
8-#define TMUX_CONF "/etc/tmux.conf"
9+#define TMUX_CONF "@TERMUX_PREFIX@/etc/tmux.conf"
10
11 /*
12 * Minimum layout cell size, NOT including separator line. The scroll region
13@@ -72,7 +72,7 @@
59f0d218
FF
14 #define fatalx(msg) log_fatalx("%s: %s", __func__, msg);
15
16 /* Definition to shut gcc up about unused arguments. */
17-#define unused __attribute__ ((unused))
18+#define unused
19
20 /* Attribute to make gcc check printf-like arguments. */
b4b35f2f 21 #define printflike(a, b) __attribute__ ((format (printf, a, b)))