Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Unified Diff: patches/wpo.patch

Issue 822213003: ICU upgrade to 54.1 step 2 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@master
Patch Set: readme: better wrapping, declspec patch dropped Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « patches/vscomp.patch ('k') | source/common/locid.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: patches/wpo.patch
diff --git a/patches/wpo.patch b/patches/wpo.patch
index ffd6a56421fe39189e8fba055b9dac5a78664e19..e77b18538c98608f26c6dc7c90950bb1ae3c2926 100644
--- a/patches/wpo.patch
+++ b/patches/wpo.patch
@@ -1,8 +1,33 @@
-Index: source/common/udata.cpp
-===================================================================
---- source/common/udata.cpp (revision 259715)
-+++ source/common/udata.cpp (working copy)
-@@ -621,7 +621,7 @@
+diff --git a/source/common/ucmndata.h b/source/common/ucmndata.h
+index 36163c5..0902921 100644
+--- a/source/common/ucmndata.h
++++ b/source/common/ucmndata.h
+@@ -44,6 +44,20 @@ typedef struct {
+ } DataHeader;
+
+ typedef struct {
++ DataHeader hdr;
++ char padding[8];
++ uint32_t count, reserved;
++ /*
++ const struct {
++ const char *const name;
++ const void *const data;
++ } toc[1];
++ */
++ int fakeNameAndData[4]; /* TODO: Change this header type from */
++ /* pointerTOC to OffsetTOC. */
++} ICU_Data_Header;
++
++typedef struct {
+ uint32_t nameOffset;
+ uint32_t dataOffset;
+ } UDataOffsetTOCEntry;
+diff --git a/source/common/udata.cpp b/source/common/udata.cpp
+index 0d7df42..e6d8a35 100644
+--- a/source/common/udata.cpp
++++ b/source/common/udata.cpp
+@@ -620,7 +620,7 @@ U_NAMESPACE_END
* our common data. *
* *
*----------------------------------------------------------------------*/
@@ -11,7 +36,7 @@ Index: source/common/udata.cpp
/*
* This would be a good place for weak-linkage declarations of
-@@ -667,7 +667,7 @@
+@@ -666,7 +666,7 @@ openCommonData(const char *path, /* Path from OpenChoice? */
if(gCommonICUDataArray[commonDataIndex] == NULL) {
int32_t i;
for(i = 0; i < commonDataIndex; ++i) {
@@ -20,7 +45,7 @@ Index: source/common/udata.cpp
/* The linked-in data is already in the list. */
return NULL;
}
-@@ -686,7 +686,7 @@
+@@ -685,7 +685,7 @@ openCommonData(const char *path, /* Path from OpenChoice? */
setCommonICUDataPointer(uprv_getICUData_conversion(), FALSE, pErrorCode);
}
*/
@@ -29,35 +54,10 @@ Index: source/common/udata.cpp
}
return gCommonICUDataArray[commonDataIndex];
}
-Index: source/common/ucmndata.h
-===================================================================
---- source/common/ucmndata.h (revision 68397)
-+++ source/common/ucmndata.h (working copy)
-@@ -44,6 +44,20 @@
- } DataHeader;
-
- typedef struct {
-+ DataHeader hdr;
-+ char padding[8];
-+ uint32_t count, reserved;
-+ /*
-+ const struct {
-+ const char *const name;
-+ const void *const data;
-+ } toc[1];
-+ */
-+ int fakeNameAndData[4]; /* TODO: Change this header type from */
-+ /* pointerTOC to OffsetTOC. */
-+} ICU_Data_Header;
-+
-+typedef struct {
- uint32_t nameOffset;
- uint32_t dataOffset;
- } UDataOffsetTOCEntry;
-Index: source/stubdata/stubdata.c
-===================================================================
---- source/stubdata/stubdata.c (revision 68397)
-+++ source/stubdata/stubdata.c (working copy)
+diff --git a/source/stubdata/stubdata.c b/source/stubdata/stubdata.c
+index 69a5876..9eac596 100644
+--- a/source/stubdata/stubdata.c
++++ b/source/stubdata/stubdata.c
@@ -20,45 +20,34 @@
#include "unicode/utypes.h"
#include "unicode/udata.h"
« no previous file with comments | « patches/vscomp.patch ('k') | source/common/locid.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698