aboutsummaryrefslogtreecommitdiff
path: root/recipes-qtopia
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2011-08-21 20:27:36 +0100
committerPaul Eggleton <paul.eggleton@linux.intel.com>2011-08-21 20:29:48 +0100
commit63263484f39eee72311c990027e7eade5c19eb12 (patch)
treeb40e51cabe226b605a0371e3a07dc0b117ffb102 /recipes-qtopia
parent225afa30ca8676903080d8a8e064015701c7f6d4 (diff)
downloadmeta-opie-63263484f39eee72311c990027e7eade5c19eb12.zip
meta-opie-63263484f39eee72311c990027e7eade5c19eb12.tar.gz
meta-opie-63263484f39eee72311c990027e7eade5c19eb12.tar.bz2
zsafe: fix SRC_URI and compilation
Previous fetch URI is now broken, but another seemingly official source was found to replace it. Also add a small patch to fix compilation on newer systems. signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'recipes-qtopia')
-rw-r--r--recipes-qtopia/zsafe/zsafe-2.1.3/stream_h.patch17
-rw-r--r--recipes-qtopia/zsafe/zsafe_2.1.3.bb5
2 files changed, 20 insertions, 2 deletions
diff --git a/recipes-qtopia/zsafe/zsafe-2.1.3/stream_h.patch b/recipes-qtopia/zsafe/zsafe-2.1.3/stream_h.patch
new file mode 100644
index 0000000..1f575f4
--- /dev/null
+++ b/recipes-qtopia/zsafe/zsafe-2.1.3/stream_h.patch
@@ -0,0 +1,17 @@
+Replace legacy header usage to fix compilation
+
+stream.h is no longer provided on modern systems, use iostream instead.
+
+Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
+
+--- zsafe-2.1.3-r1.orig/zsafe.h
++++ zsafe-2.1.3-r1/zsafe.h
+@@ -16,7 +16,7 @@
+
+ #ifndef WIN32
+ #ifndef DESKTOP
+-#include <stream.h>
++#include <iostream>
+ #else
+ #include <sstream>
+ #endif
diff --git a/recipes-qtopia/zsafe/zsafe_2.1.3.bb b/recipes-qtopia/zsafe/zsafe_2.1.3.bb
index 2b73cc2..9b0666a 100644
--- a/recipes-qtopia/zsafe/zsafe_2.1.3.bb
+++ b/recipes-qtopia/zsafe/zsafe_2.1.3.bb
@@ -5,9 +5,10 @@ RCONFLICTS_${PN} = "opie-zsafe"
APPNAME = "zsafe"
APPTYPE = "binary"
APPDESKTOP = "${WORKDIR}"
-SRC_URI = "http://z-soft.z-portal.info/zsafe/zsafe_2.1.3.tgz"
+SRC_URI = "http://zcarsten.dyndns.org/carsten/zaurus/zsafe/zsafe_2.1.3.tgz \
+ file://stream_h.patch"
S = "${WORKDIR}"
-PR = "r1"
+PR = "r2"
inherit opie