1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

Fix build on 10.0-RELEASE i386 by adding an #include <cstdlib>.

USE_XZ=yes -> USES=tar:xz.
This commit is contained in:
Matthias Andree 2014-03-28 13:09:52 +00:00
parent d1e467e534
commit 2b58831eae
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=349416
2 changed files with 11 additions and 2 deletions

View File

@ -23,9 +23,8 @@ LIB_DEPENDS= libgtkmm-2.4.so:${PORTSDIR}/x11-toolkits/gtkmm24 \
libfftw3f.so:${PORTSDIR}/math/fftw3-float \
libcanberra-gtk3.so:${PORTSDIR}/audio/libcanberra-gtk3
USES= cmake:outsource pkgconfig compiler:features desktop-file-utils dos2unix
USES= cmake:outsource pkgconfig compiler:features desktop-file-utils dos2unix tar:xz
DOS2UNIX_REGEX= .*\.(cc|h)
USE_XZ= yes
USE_GNOME= gtk20 glib20
USE_LDCONFIG= yes
CFLAGS+= -I${LOCALBASE}/include -fPIC ${PTHREAD_CFLAGS}

View File

@ -0,0 +1,10 @@
--- ./rtengine/EdgePreservingDecomposition.h.orig 2014-03-28 09:23:51.000000000 +0100
+++ ./rtengine/EdgePreservingDecomposition.h 2014-03-28 10:27:06.000000000 +0100
@@ -48,6 +48,7 @@
#include <cmath>
#include <cstdio>
+#include <cstdlib>
#include <cstring>
#include "opthelper.h"