diff options
author | Ganael LAPLANCHE <martymac@FreeBSD.org> | 2013-09-20 07:26:51 +0000 |
---|---|---|
committer | Ganael LAPLANCHE <martymac@FreeBSD.org> | 2013-09-20 07:26:51 +0000 |
commit | c43ef9fd5a6419ca0c7758f3b9f926f635fa98ed (patch) | |
tree | 905b28762d012a1d0deb58d314ca714629dddd65 | |
parent | - Fix a problem that causes modules not to be found (diff) |
Add missing #includes to fix build on -CURRENT
PR: ports/182094
Submitted by: Walter Hurry <walterhurry@gmail.com>
Notes
Notes:
svn path=/head/; revision=327663
-rw-r--r-- | deskutils/notecase/Makefile | 2 | ||||
-rw-r--r-- | deskutils/notecase/files/patch-src-gui-GuiLanguage.cpp | 10 | ||||
-rw-r--r-- | deskutils/notecase/files/patch-src-lib-IniFile.cpp | 10 |
3 files changed, 21 insertions, 1 deletions
diff --git a/deskutils/notecase/Makefile b/deskutils/notecase/Makefile index 4288195cc999..9864c12b6375 100644 --- a/deskutils/notecase/Makefile +++ b/deskutils/notecase/Makefile @@ -3,7 +3,7 @@ PORTNAME= notecase PORTVERSION= 1.9.8 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= deskutils textproc MASTER_SITES= SF DISTNAME= ${PORTNAME}-${PORTVERSION}_src diff --git a/deskutils/notecase/files/patch-src-gui-GuiLanguage.cpp b/deskutils/notecase/files/patch-src-gui-GuiLanguage.cpp new file mode 100644 index 000000000000..46b63c6a4a72 --- /dev/null +++ b/deskutils/notecase/files/patch-src-gui-GuiLanguage.cpp @@ -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" diff --git a/deskutils/notecase/files/patch-src-lib-IniFile.cpp b/deskutils/notecase/files/patch-src-lib-IniFile.cpp new file mode 100644 index 000000000000..2d652102fd6b --- /dev/null +++ b/deskutils/notecase/files/patch-src-lib-IniFile.cpp @@ -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" |