Skip to contentSkip to conversation

justreader: fixed build

PATCH In review Michal Hrusecky 2 participants 4 messages May 29, 2009 – May 30, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 justreader: fixed build

Adding missing include file so package can be built again.

---
 recipes/justreader/files/missing-include.patch |   10 ++++++++++
 recipes/justreader/justreader_2.0k.bb          |    3 ++-
 2 files changed, 12 insertions(+), 1 deletions(-)
 create mode 100644 recipes/justreader/files/missing-include.patch
recipes/justreader/files/missing-include.patch new file +10 -0
new file mode 100644
index 0000000..4831f38
@@ -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"
recipes/justreader/justreader_2.0k.bb +2 -1
index f3f7149..e05baf7 100644
@@ -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"
 
Signature · 1 line
1.6.3.1
#2 lore raw
Quoted 10 lines · Rolf Leggewie - 20:48 30.05.09 wrote:

Michael,

thank you for this review.

Quoted 1 line · Michal Hrusecky
 recipes/justreader/files/missing-include.patch |   10 ++++++++++

Should this patch be sent upstream?

http://wiki.openembedded.net/index.php/Push_patches_upstream

Thanks for the link, will try to act accordingly next time. Just checked last version/upstream CVS and sent patch upstream too.

Upstream tracker ID: 2798820
https://sourceforge.net/tracker/?func=detail&aid=2798820&group_id=61928&atid=498857

Signature · 5 lines
Michal Hrusecky

Package Maintainer
SUSE LINUX, s.r.o
e-mail: [email protected]
#3 lore raw
Quoted 2 lines · Michal Hrusecky

Thanks for the link, will try to act accordingly next time. Just checked last version/upstream CVS and sent patch upstream too.

cool, thanks.