diff options
Diffstat (limited to 'app-misc/tmux/files')
-rw-r--r-- | app-misc/tmux/files/tmux-1.9a-flags.patch | 28 | ||||
-rw-r--r-- | app-misc/tmux/files/tmux-2.0-flags.patch | 18 | ||||
-rw-r--r-- | app-misc/tmux/files/tmux.vim | 1 |
3 files changed, 47 insertions, 0 deletions
diff --git a/app-misc/tmux/files/tmux-1.9a-flags.patch b/app-misc/tmux/files/tmux-1.9a-flags.patch new file mode 100644 index 00000000000..8bf21d86ed6 --- /dev/null +++ b/app-misc/tmux/files/tmux-1.9a-flags.patch @@ -0,0 +1,28 @@ +--- tmux-1.9a/Makefile.am ++++ tmux-1.9a/Makefile.am +@@ -27,23 +27,20 @@ + if IS_GCC + CFLAGS += -std=gnu99 + if IS_DEBUG +-CFLAGS += -O0 -g + CFLAGS += -Wno-long-long -Wall -W -Wnested-externs -Wformat=2 + CFLAGS += -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations + CFLAGS += -Wwrite-strings -Wshadow -Wpointer-arith -Wsign-compare + CFLAGS += -Wundef -Wbad-function-cast -Winline -Wcast-align + CFLAGS += -Wdeclaration-after-statement + CPPFLAGS += -DDEBUG +-else +-CFLAGS += -O2 + endif + if IS_GCC4 +-CPPFLAGS += -iquote. -I/usr/local/include ++CPPFLAGS += -iquote. + if IS_DEBUG + CFLAGS += -Wno-pointer-sign + endif + else +-CPPFLAGS += -I. -I- -I/usr/local/include ++CPPFLAGS += -I. -I- + endif + endif + diff --git a/app-misc/tmux/files/tmux-2.0-flags.patch b/app-misc/tmux/files/tmux-2.0-flags.patch new file mode 100644 index 00000000000..d2c40e04b78 --- /dev/null +++ b/app-misc/tmux/files/tmux-2.0-flags.patch @@ -0,0 +1,18 @@ + Makefile.am | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/Makefile.am b/Makefile.am +index 63e20b1..a2fec1e 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -25,9 +25,8 @@ endif + # Set flags for gcc. gcc4 whines abouts silly stuff so it needs slightly + # different flags. + if IS_GCC +-CFLAGS += -std=gnu99 -O2 ++CFLAGS += -std=gnu99 + if IS_DEBUG +-CFLAGS += -g + CFLAGS += -Wno-long-long -Wall -W -Wnested-externs -Wformat=2 + CFLAGS += -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations + CFLAGS += -Wwrite-strings -Wshadow -Wpointer-arith -Wsign-compare diff --git a/app-misc/tmux/files/tmux.vim b/app-misc/tmux/files/tmux.vim new file mode 100644 index 00000000000..baac50adab1 --- /dev/null +++ b/app-misc/tmux/files/tmux.vim @@ -0,0 +1 @@ +au BufNewFile,BufRead .tmux.conf*,tmux.conf* setf tmux |