summaryrefslogtreecommitdiff
path: root/packages/konqueror/konqueror-embedded-20030705/packing.patch
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2006-04-03 17:03:43 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-04-03 17:03:43 +0000
commit4ead106ddf5dde3d9b82e19928785d318f78cda1 (patch)
tree2789299995763a7c0f922e2840a110681889310b /packages/konqueror/konqueror-embedded-20030705/packing.patch
parentd68be4b3a70404dc951e5159582d8830e2bcc193 (diff)
konqueror-embedded 20030705: update packing.patch to make it work w/ g++4.1
Diffstat (limited to 'packages/konqueror/konqueror-embedded-20030705/packing.patch')
-rw-r--r--packages/konqueror/konqueror-embedded-20030705/packing.patch14
1 files changed, 9 insertions, 5 deletions
diff --git a/packages/konqueror/konqueror-embedded-20030705/packing.patch b/packages/konqueror/konqueror-embedded-20030705/packing.patch
index 37a3754854..be3f362c03 100644
--- a/packages/konqueror/konqueror-embedded-20030705/packing.patch
+++ b/packages/konqueror/konqueror-embedded-20030705/packing.patch
@@ -1,17 +1,21 @@
-diff -ur konqe.old/konq-embed/kdesrc/kjs/ustring.h konqueror-embedded-snapshot-20030705/konq-embed/kdesrc/kjs/ustring.h
---- konqe.old/konq-embed/kdesrc/kjs/ustring.h 2001-07-28 17:32:15.000000000 +0200
-+++ konqueror-embedded-snapshot-20030705/konq-embed/kdesrc/kjs/ustring.h 2004-08-22 21:30:04.000000000 +0200
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- konqueror-embedded-snapshot-20030705/konq-embed/kdesrc/kjs/ustring.h~packing.patch
++++ konqueror-embedded-snapshot-20030705/konq-embed/kdesrc/kjs/ustring.h
@@ -154,11 +154,11 @@
/**
* @return Lower byte.
*/
- unsigned char& low() const { return ref().lo; }
-+ unsigned char& low() const { return *(&ref().lo); }
++ unsigned char& low() const { return *((unsigned char*)&ref().lo); }
/**
* @return Higher byte.
*/
- unsigned char& high() const { return ref().hi; }
-+ unsigned char& high() const { return *(&ref().hi); }
++ unsigned char& high() const { return *((unsigned char*)&ref().hi); }
/**
* @return Character converted to lower case.
*/