From 1bfa11715f726936d40af4a92e4e74097411a2ae Mon Sep 17 00:00:00 2001 From: thierry Date: Tue, 28 Nov 2017 20:43:38 +0000 Subject: Fix the build in some cases. PR: 222235 Submitted by: rozhuk.im (at) gmail.com --- net-im/tox/Makefile | 2 +- net-im/tox/files/patch-toxcore_ccompat.h | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 net-im/tox/files/patch-toxcore_ccompat.h (limited to 'net-im') 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 +-#else +-#include + #endif + + #define VLA(type, name, size) \ -- cgit