summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2016-09-25 14:15:01 +0000
committerThierry Thomas <thierry@FreeBSD.org>2016-09-25 14:15:01 +0000
commitdce087903dc95420fc741c08e7cf4a2863488cdc (patch)
treea3dcee44ef76896d55d4eef90e705a385b558245 /net-im
parentRefresh. (diff)
Upgrade to 0.7.1.
Changelog at: https://github.com/JFreegman/toxic/releases/tag/0.7.1
Notes
Notes: svn path=/head/; revision=422751
Diffstat (limited to 'net-im')
-rw-r--r--net-im/toxic/Makefile8
-rw-r--r--net-im/toxic/distinfo5
-rw-r--r--net-im/toxic/files/patch-src_misc__tools.c11
-rw-r--r--net-im/toxic/pkg-plist1
4 files changed, 17 insertions, 8 deletions
diff --git a/net-im/toxic/Makefile b/net-im/toxic/Makefile
index 6747199fba55..3caedf15b3a9 100644
--- a/net-im/toxic/Makefile
+++ b/net-im/toxic/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= toxic
-PORTVERSION= 0.7.0.151113
-PORTREVISION= 3
+PORTVERSION= 0.7.1
CATEGORIES= net-im
MAINTAINER= thierry@FreeBSD.org
@@ -24,19 +23,18 @@ RUN_DEPENDS= ${LOCALBASE}/lib/libtoxcore.a:net-im/tox
USE_GITHUB= yes
GH_ACCOUNT= Tox
-GH_TAGNAME= 9f0feb7
OPTIONS_DEFINE= X11
OPTIONS_DEFAULT=X11
-X11_USE= XORG=x11
+X11_USE= GNOME=gdkpixbuf2,glib20 XORG=x11
X11_MAKE_ARGS_OFF= DISABLE_X11=1 DISABLE_DESKTOP_NOTIFY=1
X11_LIB_DEPENDS=libnotify.so:devel/libnotify
MAKE_ENV= USER_CFLAGS="${CFLAGS}" USER_LDFLAGS="${LDFLAGS}"
SUB_FILES= pkg-message
-USES= desktop-file-utils gmake ncurses openal:al,alut pkgconfig
+USES= desktop-file-utils gettext-runtime gmake ncurses openal:al,alut pkgconfig
pre-configure:
${REINPLACE_CMD} -e 's|PREFIX =|PREFIX?=|;s|$$(shell git rev-list HEAD.*$$|${GH_TAGNAME}|' \
diff --git a/net-im/toxic/distinfo b/net-im/toxic/distinfo
index 97cde99335ae..f854a26050a2 100644
--- a/net-im/toxic/distinfo
+++ b/net-im/toxic/distinfo
@@ -1,2 +1,3 @@
-SHA256 (Tox-toxic-0.7.0.151113-9f0feb7_GH0.tar.gz) = c6c796ac6f6f8f4aa7365ecdf612b669db14be5a893b6c07a614325e98db0b57
-SIZE (Tox-toxic-0.7.0.151113-9f0feb7_GH0.tar.gz) = 1122832
+TIMESTAMP = 1474750604
+SHA256 (Tox-toxic-0.7.1_GH0.tar.gz) = 414ca2cd369e277872c7248c43f82afa0ac2f6c8fa5fc8e93f7c3e8ab6d11b9c
+SIZE (Tox-toxic-0.7.1_GH0.tar.gz) = 1137112
diff --git a/net-im/toxic/files/patch-src_misc__tools.c b/net-im/toxic/files/patch-src_misc__tools.c
new file mode 100644
index 000000000000..1faa3675796e
--- /dev/null
+++ b/net-im/toxic/files/patch-src_misc__tools.c
@@ -0,0 +1,11 @@
+--- src/misc_tools.c.orig 2016-09-23 17:05:05 UTC
++++ src/misc_tools.c
+@@ -26,6 +26,8 @@
+ #include <time.h>
+ #include <limits.h>
+ #include <dirent.h>
++#include <netinet/in.h>
++#include <sys/socket.h>
+
+ #include <sys/stat.h>
+ #include <arpa/inet.h>
diff --git a/net-im/toxic/pkg-plist b/net-im/toxic/pkg-plist
index 11591febb1b2..c7263178b3f7 100644
--- a/net-im/toxic/pkg-plist
+++ b/net-im/toxic/pkg-plist
@@ -2,7 +2,6 @@ bin/toxic
man/man1/toxic.1.gz
man/man5/toxic.conf.5.gz
share/applications/toxic.desktop
-%%DATADIR%%/DHTnodes
%%DATADIR%%/nameservers
%%DATADIR%%/sounds/ToxicContactOffline.wav
%%DATADIR%%/sounds/ToxicContactOnline.wav