summaryrefslogtreecommitdiffstats
path: root/main/tmux/build.patch
blob: b16c4f4cab5d23fbefa057bea2eab86c5d755225 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
diff -ru tmux-0.9.orig/GNUmakefile tmux-0.9/GNUmakefile
--- tmux-0.9.orig/GNUmakefile	2009-07-09 08:11:37.000000000 +0000
+++ tmux-0.9/GNUmakefile	2009-07-09 08:12:09.000000000 +0000
@@ -53,5 +53,5 @@
 install:	all
 		$(INSTALLDIR) $(DESTDIR)$(PREFIX)/bin
 		$(INSTALLBIN) tmux $(DESTDIR)$(PREFIX)/bin/tmux
-		$(INSTALLDIR) $(DESTDIR)$(PREFIX)/man/man1
-		$(INSTALLMAN) tmux.1 $(DESTDIR)$(PREFIX)/man/man1/tmux.1
+		$(INSTALLDIR) $(DESTDIR)$(PREFIX)/share/man/man1
+		$(INSTALLMAN) tmux.1 $(DESTDIR)$(PREFIX)/share/man/man1/tmux.1
diff -ru tmux-0.9.orig/configure tmux-0.9/configure
--- tmux-0.9.orig/configure	2009-07-09 08:11:37.000000000 +0000
+++ tmux-0.9/configure	2009-07-09 08:12:20.000000000 +0000
@@ -82,7 +82,7 @@
 	compat/strtonum.c \
         compat/getopt.c \
 	compat/vis.c
-CFLAGS+= -D_GNU_SOURCE -D_POSIX_SOURCE
+CFLAGS+= -D_GNU_SOURCE -D_POSIX_SOURCE -std=c99
 LIBS+= -lcrypt -lutil
 EOF
 	;;