diff options
author | earthdok@chromium.org <earthdok@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-27 15:51:54 +0000 |
---|---|---|
committer | earthdok@chromium.org <earthdok@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-27 15:51:54 +0000 |
commit | 848e8e4616cd71d9fb4c220b31a20bc176f17c5d (patch) | |
tree | 5f71027124c1d60f218c22e0c75501ec232991cb /third_party/instrumented_libraries/patches/libfontconfig.diff | |
parent | 10f7c534e2017eb8614bd6c02a4043188bad199b (diff) | |
download | chromium_src-848e8e4616cd71d9fb4c220b31a20bc176f17c5d.zip chromium_src-848e8e4616cd71d9fb4c220b31a20bc176f17c5d.tar.gz chromium_src-848e8e4616cd71d9fb4c220b31a20bc176f17c5d.tar.bz2 |
Instrumented libraries: improve handling of custom patches.
- pass the patch as a command line argument to the build script, instead of
applying it through run_before_build,
- add each patch and run_before_build script to inputs for its corresponding
library,
- move patches and scripts to their own subdirectories,
- also, fix a small error in the build configuration for libappindicator1.
BUG=313751
R=glider@chromium.org
NOTRY=true
TEST=compile
Review URL: https://codereview.chromium.org/361473002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@280338 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/instrumented_libraries/patches/libfontconfig.diff')
-rw-r--r-- | third_party/instrumented_libraries/patches/libfontconfig.diff | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/third_party/instrumented_libraries/patches/libfontconfig.diff b/third_party/instrumented_libraries/patches/libfontconfig.diff new file mode 100644 index 0000000..19f85f7 --- /dev/null +++ b/third_party/instrumented_libraries/patches/libfontconfig.diff @@ -0,0 +1,13 @@ +diff -rupN ./src/fcpat.c ../fontconfig-2.8.0-patched/src/fcpat.c +--- ./src/fcpat.c 2009-11-17 01:46:18.000000000 +0300 ++++ ../fontconfig-2.8.0-patched/src/fcpat.c 2014-01-27 20:11:36.185213935 +0400 +@@ -37,6 +37,9 @@ FcPatternCreate (void) + p = (FcPattern *) malloc (sizeof (FcPattern)); + if (!p) + return 0; ++ // Silence Valgrind/MemorySanitizer. There is uninitialized padding at the ++ // end of this structure. When serialized to file, this will cause a report. ++ memset(p, 0, sizeof(*p)); + FcMemAlloc (FC_MEM_PATTERN, sizeof (FcPattern)); + p->num = 0; + p->size = 0; |