aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/justreader
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/justreader')
-rw-r--r--recipes/justreader/files/missing-include.patch10
-rw-r--r--recipes/justreader/justreader_2.0k.bb3
2 files changed, 12 insertions, 1 deletions
diff --git a/recipes/justreader/files/missing-include.patch b/recipes/justreader/files/missing-include.patch
new file mode 100644
index 0000000000..4831f3847b
--- /dev/null
+++ b/recipes/justreader/files/missing-include.patch
@@ -0,0 +1,10 @@
+--- a/shcm.cpp 2009-05-25 09:07:19.928704817 +0200
++++ b/shcm.cpp 2009-05-25 09:07:38.225747505 +0200
+@@ -19,6 +19,7 @@
+ ****************************************************************************/
+
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <vector>
+
+ #include "shcm.h"
diff --git a/recipes/justreader/justreader_2.0k.bb b/recipes/justreader/justreader_2.0k.bb
index f3f71493fc..e05baf710f 100644
--- a/recipes/justreader/justreader_2.0k.bb
+++ b/recipes/justreader/justreader_2.0k.bb
@@ -6,7 +6,8 @@ HOMEPAGE = "http://justreader.sourceforge.net/"
PR = "r3"
SRC_URI = "${SOURCEFORGE_MIRROR}/justreader/justreader_${PV}.tgz \
-file://correct-settings-path.patch;patch=1"
+file://correct-settings-path.patch;patch=1 \
+file://missing-include.patch;patch=1"
S = "${WORKDIR}/TextReader2"