[oe-commits] org.oe.dev gtk-webcore/osb-jscore-0.5.0: Addition of Patch

kristoffer commit openembedded-commits at lists.openembedded.org
Sun Sep 17 23:50:33 UTC 2006


gtk-webcore/osb-jscore-0.5.0: Addition of Patch
* Addition of patch to modify const declarations (style KJS::<function>)
  So that gcc likes them abit better (only for superh)
* Change to osb-jscore_0.5.0.bb to reflect patch addition.

Author: kristoffer at openembedded.org
Branch: org.openembedded.dev
Revision: 6f824aaf90a4fc780e8c8c3d567901cb0de17549
ViewMTN: http://monotone.openembedded.org/revision.psp?id=6f824aaf90a4fc780e8c8c3d567901cb0de17549
Files:
1
packages/gtk-webcore/osb-jscore-0.5.0/superh-ustring-declaration-error.patch
packages/gtk-webcore/osb-jscore_0.5.0.bb
Diffs:

#
# mt diff -r8f533ba444790d5a1f88112f290099c26288bbe2 -r6f824aaf90a4fc780e8c8c3d567901cb0de17549
#
# 
# 
# add_file "packages/gtk-webcore/osb-jscore-0.5.0/superh-ustring-declaration-error.patch"
#  content [281d1d37daf78a2855bef9ef23ce661c388fc86d]
# 
# patch "packages/gtk-webcore/osb-jscore_0.5.0.bb"
#  from [3dff1931001f8e0835038b3e5869f99298d843cb]
#    to [62e1498b482d90b2d11289a229dd6aa50cb2c4a7]
# 
============================================================
--- packages/gtk-webcore/osb-jscore-0.5.0/superh-ustring-declaration-error.patch	281d1d37daf78a2855bef9ef23ce661c388fc86d
+++ packages/gtk-webcore/osb-jscore-0.5.0/superh-ustring-declaration-error.patch	281d1d37daf78a2855bef9ef23ce661c388fc86d
@@ -0,0 +1,47 @@
+--- osb-jscore-0.5.0/kjs/ustring.cpp_orig	2006-09-18 01:29:11.000000000 +0000
++++ osb-jscore-0.5.0/kjs/ustring.cpp	2006-09-18 01:29:46.000000000 +0000
+@@ -132,7 +132,7 @@
+   return *this;
+ }
+ 
+-bool KJS::operator==(const KJS::CString& c1, const KJS::CString& c2)
++bool operator==(const KJS::CString& c1, const KJS::CString& c2)
+ {
+   int len = c1.size();
+   return len == c2.size() && (len == 0 || memcmp(c1.c_str(), c2.c_str(), len) == 0);
+@@ -1094,7 +1094,7 @@
+   rep->deref();
+ }
+ 
+-bool KJS::operator==(const UString& s1, const UString& s2)
++bool operator==(const UString& s1, const UString& s2)
+ {
+   if (s1.rep->len != s2.rep->len)
+     return false;
+@@ -1103,7 +1103,7 @@
+ 		 s1.rep->len * sizeof(UChar)) == 0);
+ }
+ 
+-bool KJS::operator==(const UString& s1, const char *s2)
++bool operator==(const UString& s1, const char *s2)
+ {
+   if (s2 == 0) {
+     return s1.isEmpty();
+@@ -1121,7 +1121,7 @@
+   return u == uend && *s2 == 0;
+ }
+ 
+-bool KJS::operator<(const UString& s1, const UString& s2)
++bool operator<(const UString& s1, const UString& s2)
+ {
+   const int l1 = s1.size();
+   const int l2 = s2.size();
+@@ -1140,7 +1140,7 @@
+   return (l1 < l2);
+ }
+ 
+-int KJS::compare(const UString& s1, const UString& s2)
++int compare(const UString& s1, const UString& s2)
+ {
+   const int l1 = s1.size();
+   const int l2 = s2.size();
============================================================
--- packages/gtk-webcore/osb-jscore_0.5.0.bb	3dff1931001f8e0835038b3e5869f99298d843cb
+++ packages/gtk-webcore/osb-jscore_0.5.0.bb	62e1498b482d90b2d11289a229dd6aa50cb2c4a7
@@ -11,7 +11,8 @@ SRC_URI_append_sh3 = " file://superh-acl
            file://libm.patch;patch=1"
 
 SRC_URI_append_sh3 = " file://superh-aclocal.patch;patch=1 \
-                       file://gcc4-fno-threadsafe-statics.patch;patch=1"
+                       file://gcc4-fno-threadsafe-statics.patch;patch=1 \
+		       file://superh-ustring-declaration-error.patch;patch=1"
 
 inherit autotools pkgconfig
 






More information about the Openembedded-commits mailing list