aboutsummaryrefslogtreecommitdiffstats
path: root/net-im
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2017-11-29 04:43:38 +0800
committerKoop Mast <kwm@rainbow-runner.nl>2018-02-04 06:01:37 +0800
commitc22bbccfd962585cd2da146292fa5df89aa7ad3d (patch)
tree221162c20ca19ca84d5138bf31b2f0af1d89857d /net-im
parent595f036e4af3fdad6a366120eac828f5d0c2e696 (diff)
downloadfreebsd-ports-gnome-c22bbccfd962585cd2da146292fa5df89aa7ad3d.tar.gz
freebsd-ports-gnome-c22bbccfd962585cd2da146292fa5df89aa7ad3d.tar.zst
freebsd-ports-gnome-c22bbccfd962585cd2da146292fa5df89aa7ad3d.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) \