View | Details | Raw Unified | Return to bug 198914
Collapse All | Expand All

(-)cwm/Makefile (-4 / +4 lines)
Lines 1-7 Link Here
1
# $FreeBSD: head/x11-wm/cwm/Makefile 348819 2014-03-23 00:34:28Z danilo $
1
# $FreeBSD: head/x11-wm/cwm/Makefile 348819 2014-03-23 00:34:28Z danilo $
2
2
3
PORTNAME=	cwm
3
PORTNAME=	cwm
4
PORTVERSION=	5.5
4
PORTVERSION=	5.6
5
CATEGORIES=	x11-wm
5
CATEGORIES=	x11-wm
6
MASTER_SITES=	http://chneukirchen.org/releases/ \
6
MASTER_SITES=	http://chneukirchen.org/releases/ \
7
		http://github.com/chneukirchen/${PORTNAME}/archive/v${PORTVERSION}.tar.gz?dummy=/
7
		http://github.com/chneukirchen/${PORTNAME}/archive/v${PORTVERSION}.tar.gz?dummy=/
Lines 21-28 Link Here
21
		man/man5/cwmrc.5.gz
21
		man/man5/cwmrc.5.gz
22
22
23
do-install:
23
do-install:
24
	@${INSTALL_PROGRAM} ${WRKSRC}/cwm ${STAGEDIR}${PREFIX}/bin
24
	${INSTALL_PROGRAM} ${WRKSRC}/cwm ${STAGEDIR}${PREFIX}/bin
25
	@${INSTALL_MAN} ${WRKSRC}/cwm.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
25
	${INSTALL_MAN} ${WRKSRC}/cwm.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
26
	@${INSTALL_MAN} ${WRKSRC}/cwmrc.5 ${STAGEDIR}${MAN5PREFIX}/man/man5
26
	${INSTALL_MAN} ${WRKSRC}/cwmrc.5 ${STAGEDIR}${MAN5PREFIX}/man/man5
27
27
28
.include <bsd.port.mk>
28
.include <bsd.port.mk>
(-)cwm/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (cwm-5.5.tar.gz) = 99aa337f15b07e36ba3b03593c56f65b76f8bbef6f73daca73846f6b002f2187
1
SHA256 (cwm-5.6.tar.gz) = 006320bb1716cc0f93bac5634dcccd01f21d468263b5fc9d1be2dd11078a0625
2
SIZE (cwm-5.5.tar.gz) = 50709
2
SIZE (cwm-5.6.tar.gz) = 50799
(-)cwm/files/patch-Makefile (-19 / +5 lines)
Lines 1-25 Link Here
1
--- ./Makefile.orig	2014-03-17 03:52:56.000000000 +0100
1
--- Makefile.orig	2015-03-26 00:34:30 UTC
2
+++ ./Makefile	2014-03-17 04:05:08.000000000 +0100
2
+++ Makefile
3
@@ -3,7 +3,7 @@
3
@@ -16,7 +16,7 @@ OBJS=		calmwm.o screen.o xmalloc.o clien
4
 
5
 PROG=		cwm
6
 
7
-PREFIX=         /usr/local
8
+#PREFIX=         /usr/local
9
 
10
 SRCS=		calmwm.c screen.c xmalloc.c client.c menu.c \
11
 		search.c util.c xutil.c conf.c xevents.c group.c \
12
@@ -16,11 +16,11 @@
13
 
4
 
14
 CPPFLAGS+=	`pkg-config --cflags fontconfig x11 xft xinerama xrandr`
5
 CPPFLAGS+=	`pkg-config --cflags fontconfig x11 xft xinerama xrandr`
15
 
6
 
16
-CFLAGS=		-Wall -O2 -g -D_GNU_SOURCE
7
-CFLAGS?=	-Wall -O2 -g -D_GNU_SOURCE
17
+CFLAGS+=	-Wall -g -pthread
8
+CFLAGS?=	-Wall -g -pthread
18
 
9
 
19
 LDFLAGS+=	`pkg-config --libs fontconfig x11 xft xinerama xrandr`
10
 LDFLAGS+=	`pkg-config --libs fontconfig x11 xft xinerama xrandr`
20
 
11
 
21
-MANPREFIX=	${PREFIX}/share/man
22
+#MANPREFIX=	${PREFIX}/share/man
23
 
24
 all: ${PROG}
25
 
(-)cwm/files/patch-kbfunc.c (+11 lines)
Line 0 Link Here
1
--- kbfunc.c.orig	2015-03-26 00:09:51 UTC
2
+++ kbfunc.c
3
@@ -324,7 +324,7 @@ kbfunc_ssh(struct client_ctx *cc, union 
4
 	struct menu_q		 menuq;
5
 	FILE			*fp;
6
 	char			*buf, *lbuf, *p;
7
-	char			 hostbuf[HOST_NAME_MAX+1];
8
+	char			 hostbuf[_POSIX_HOST_NAME_MAX+1];
9
 	char			 path[PATH_MAX];
10
 	int			 l;
11
 	size_t			 len;

Return to bug 198914