justreader: fixed build
authorMichal Hrusecky <mhrusecky@suse.cz>
Fri, 29 May 2009 13:43:10 +0000 (13:43 +0000)
committerKhem Raj <raj.khem@gmail.com>
Sat, 8 Aug 2009 20:16:40 +0000 (13:16 -0700)
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>
recipes/justreader/files/missing-include.patch [new file with mode: 0644]
recipes/justreader/justreader_2.0k.bb

diff --git a/recipes/justreader/files/missing-include.patch b/recipes/justreader/files/missing-include.patch
new file mode 100644 (file)
index 0000000..4831f38
--- /dev/null
@@ -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"
index f3f7149..e05baf7 100644 (file)
@@ -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"