View | Details | Raw Unified | Return to bug 216332 | Differences between
and this patch

Collapse All | Expand All

(-)net-im/uTox/Makefile (+2 lines)
Lines 2-7 Link Here
2
2
3
PORTNAME=	uTox
3
PORTNAME=	uTox
4
PORTVERSION=	0.11.1
4
PORTVERSION=	0.11.1
5
PORTREVISION=	1
5
CATEGORIES=	net-im net-p2p
6
CATEGORIES=	net-im net-p2p
6
7
7
MAINTAINER=	portmaster@BSDforge.com
8
MAINTAINER=	portmaster@BSDforge.com
Lines 41-45 Link Here
41
42
42
post-install:
43
post-install:
43
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/utox
44
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/utox
45
	${CP} ${WRKSRC}/icons/utox-128x128.png ${STAGEDIR}${PREFIX}/share/pixmaps/utox.png
44
46
45
.include <bsd.port.mk>
47
.include <bsd.port.mk>
(-)net-im/uTox/files/patch-src_main.h (-1 / +1 lines)
Lines 7-13 Link Here
7
-#ifndef __OBJC__
7
-#ifndef __OBJC__
8
-#define volatile(x)(x)
8
-#define volatile(x)(x)
9
+#if !defined(__OBJC__) || defined(__NetBSD__) || defined(__FreeBSD__)
9
+#if !defined(__OBJC__) || defined(__NetBSD__) || defined(__FreeBSD__)
10
+#define volatile(x) x
10
+#define volatile(x)(x)
11
 #endif
11
 #endif
12
 
12
 
13
 #define SCALE(x) (((int)((ui_scale / 10.0) * ((double)x))) ?: 1)
13
 #define SCALE(x) (((int)((ui_scale / 10.0) * ((double)x))) ?: 1)
(-)net-im/uTox/pkg-plist (+1 lines)
Lines 1-3 Link Here
1
bin/utox
1
bin/utox
2
share/applications/utox.desktop
2
share/applications/utox.desktop
3
share/pixmaps/utox.png
3
man/man1/utox.1.gz
4
man/man1/utox.1.gz

Return to bug 216332