aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-qtopia/zsafe/zsafe-2.1.3/stream_h.patch
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/zsafe/zsafe-2.1.3/stream_h.patch
parent225afa30ca8676903080d8a8e064015701c7f6d4 (diff)
downloadmeta-opie-63263484f39eee72311c990027e7eade5c19eb12.tar.gz
meta-opie-63263484f39eee72311c990027e7eade5c19eb12.tar.bz2
meta-opie-63263484f39eee72311c990027e7eade5c19eb12.zip
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/zsafe/zsafe-2.1.3/stream_h.patch')
-rw-r--r--recipes-qtopia/zsafe/zsafe-2.1.3/stream_h.patch17
1 files changed, 17 insertions, 0 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