diff options
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.patch | 17 |
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 |