freebsd-ports/graphics/ampasCTL/files/patch-lib__dpx__dpx_util.cc
John Marino aa8eddd2a4 Add <cstring> and/or <cstdlib> to support modern gcc
Four of these five patches should have been part of the previous
commit but I didn't notice them.  The ampasCTL pach is to fix a
regression that I introduced by removing part of the post-patch
target.

Approved by:	gcc5 support blanket
2015-09-20 18:59:19 +00:00

12 lines
244 B
C++

--- lib/dpx/dpx_util.cc.orig 2014-06-03 01:11:24 UTC
+++ lib/dpx/dpx_util.cc
@@ -55,8 +55,8 @@
#include "dpx_util.hh"
#include <stdarg.h>
#include <stdio.h>
-#include <alloca.h>
#include <string.h>
+#include <stdlib.h>
namespace ctl {