1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

Add missing #includes to fix build on -CURRENT

PR:		ports/182094
Submitted by:	Walter Hurry <walterhurry@gmail.com>
This commit is contained in:
Ganael LAPLANCHE 2013-09-20 07:26:51 +00:00
parent 00fac1a754
commit c43ef9fd5a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=327663
3 changed files with 21 additions and 1 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= notecase
PORTVERSION= 1.9.8
PORTREVISION= 8
PORTREVISION= 9
CATEGORIES= deskutils textproc
MASTER_SITES= SF
DISTNAME= ${PORTNAME}-${PORTVERSION}_src

View File

@ -0,0 +1,10 @@
--- src/gui/GuiLanguage.cpp.orig 2013-09-18 16:02:26.000000000 +0200
+++ src/gui/GuiLanguage.cpp 2013-09-18 16:03:53.000000000 +0200
@@ -17,6 +17,7 @@
#ifdef ENABLE_NLS
#include <libintl.h>
#endif
+#include <stdlib.h>
#include <string.h>
#include "../lib/EnumDirectory.h"

View File

@ -0,0 +1,10 @@
--- src/lib/IniFile.cpp.orig 2013-09-18 16:05:10.000000000 +0200
+++ src/lib/IniFile.cpp 2013-09-18 16:05:50.000000000 +0200
@@ -8,6 +8,7 @@
#include "IniFile.h"
#include <algorithm> //find() function
+#include <stdlib.h>
#include <string>
#include "File64.h"
#include "FilePath.h"