summaryrefslogtreecommitdiff
path: root/recipes/justreader
diff options
context:
space:
mode:
authorMichal Hrusecky <mhrusecky@suse.cz>2009-05-29 13:43:10 +0000
committerKhem Raj <raj.khem@gmail.com>2009-08-08 13:16:40 -0700
commit6e0c17c14182c0e17834de7cd44afbaa41824144 (patch)
tree27280a2209f24b247f270f2735cdd40991c84bd2 /recipes/justreader
parent272c915e842baa46354c699816b33fd4a9c8f687 (diff)
justreader: fixed build
Adding missing include file so package can be built again. Signed-off-by: Michal Hrusecky <Michal@Hrusecky.net> Signed-off-by: Khem Raj <raj.khem@gmail.com>
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"