aboutsummaryrefslogtreecommitdiffstats
path: root/net-im
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2017-11-29 04:43:38 +0800
committerthierry <thierry@FreeBSD.org>2017-11-29 04:43:38 +0800
commit1bfa11715f726936d40af4a92e4e74097411a2ae (patch)
tree08f71bce9c37a76afdaabe07936308c6686bfc38 /net-im
parentc4fb52110063ab9f7e49470e074337fe8cd5cd5b (diff)
downloadfreebsd-ports-gnome-1bfa11715f726936d40af4a92e4e74097411a2ae.tar.gz
freebsd-ports-gnome-1bfa11715f726936d40af4a92e4e74097411a2ae.tar.zst
freebsd-ports-gnome-1bfa11715f726936d40af4a92e4e74097411a2ae.zip
Fix the build in some cases.
PR: 222235 Submitted by: rozhuk.im (at) gmail.com
Diffstat (limited to 'net-im')
-rw-r--r--net-im/tox/Makefile2
-rw-r--r--net-im/tox/files/patch-toxcore_ccompat.h11
2 files changed, 12 insertions, 1 deletions
diff --git a/net-im/tox/Makefile b/net-im/tox/Makefile
index 5a89ac6adc65..849a2d364724 100644
--- a/net-im/tox/Makefile
+++ b/net-im/tox/Makefile
@@ -3,7 +3,7 @@
PORTNAME= toxcore
PORTVERSION= 0.1.8
-PORTREVISION= 2
+PORTREVISION= 3
DISTVERSIONPREFIX= v
PORTEPOCH= 1
CATEGORIES= net-im net-p2p
diff --git a/net-im/tox/files/patch-toxcore_ccompat.h b/net-im/tox/files/patch-toxcore_ccompat.h
new file mode 100644
index 000000000000..cf5ec0f15006
--- /dev/null
+++ b/net-im/tox/files/patch-toxcore_ccompat.h
@@ -0,0 +1,11 @@
+--- toxcore/ccompat.h.orig 2017-04-27 18:20:19 UTC
++++ toxcore/ccompat.h
+@@ -29,8 +29,6 @@
+ // Emulation using alloca.
+ #ifdef _WIN32
+ #include <malloc.h>
+-#else
+-#include <alloca.h>
+ #endif
+
+ #define VLA(type, name, size) \