mirror of
https://git.freebsd.org/ports.git
synced 2025-06-06 05:10:29 -04:00
Fix the build in some cases.
PR: 222235 Submitted by: rozhuk.im (at) gmail.com
This commit is contained in:
parent
f3dc4175c9
commit
6a7926a057
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=455075
2 changed files with 12 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
PORTNAME= toxcore
|
PORTNAME= toxcore
|
||||||
PORTVERSION= 0.1.8
|
PORTVERSION= 0.1.8
|
||||||
PORTREVISION= 2
|
PORTREVISION= 3
|
||||||
DISTVERSIONPREFIX= v
|
DISTVERSIONPREFIX= v
|
||||||
PORTEPOCH= 1
|
PORTEPOCH= 1
|
||||||
CATEGORIES= net-im net-p2p
|
CATEGORIES= net-im net-p2p
|
||||||
|
|
11
net-im/tox/files/patch-toxcore_ccompat.h
Normal file
11
net-im/tox/files/patch-toxcore_ccompat.h
Normal file
|
@ -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) \
|
Loading…
Add table
Reference in a new issue