summaryrefslogtreecommitdiffstats
path: root/third_party/instrumented_libraries/patches
diff options
context:
space:
mode:
authorglider@chromium.org <glider@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-19 16:16:49 +0000
committerglider@chromium.org <glider@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-19 16:20:35 +0000
commitc3b78832c70d2f887e879efe1e68da86ad79581b (patch)
treef32a3836501c1d9c973425ca0f228da4887b45d7 /third_party/instrumented_libraries/patches
parent9e8975cd1bfab7cd1a9c22c7db6ad7d950186152 (diff)
downloadchromium_src-c3b78832c70d2f887e879efe1e68da86ad79581b.zip
chromium_src-c3b78832c70d2f887e879efe1e68da86ad79581b.tar.gz
chromium_src-c3b78832c70d2f887e879efe1e68da86ad79581b.tar.bz2
Assume sqrtf is always present in the system when building libpixman.
BUG=404526 TBR=earthdok@chromium.org Review URL: https://codereview.chromium.org/487213002 Cr-Commit-Position: refs/heads/master@{#290582} git-svn-id: svn://svn.chromium.org/chrome/trunk/src@290582 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/instrumented_libraries/patches')
-rw-r--r--third_party/instrumented_libraries/patches/libpixman-1-0.diff23
1 files changed, 23 insertions, 0 deletions
diff --git a/third_party/instrumented_libraries/patches/libpixman-1-0.diff b/third_party/instrumented_libraries/patches/libpixman-1-0.diff
new file mode 100644
index 0000000..a5599a4
--- /dev/null
+++ b/third_party/instrumented_libraries/patches/libpixman-1-0.diff
@@ -0,0 +1,23 @@
+--- pixman-0.30.2/configure.ac.orig 2014-08-19 15:53:39.376032738 +0400
++++ pixman-0.30.2/configure.ac 2014-08-19 15:53:55.264181469 +0400
+@@ -844,12 +844,13 @@ if test x$have_gettimeofday = xyes && te
+ AC_DEFINE(HAVE_GETTIMEOFDAY, 1, [Whether we have gettimeofday()])
+ fi
+
+-dnl =====================================
+-dnl Check for missing sqrtf() as, e.g., for Solaris 9
+-
+-AC_SEARCH_LIBS([sqrtf], [m], [],
+- [AC_DEFINE([sqrtf], [sqrt],
+- [Define to sqrt if you do not have the `sqrtf' function.])])
++# Not needed for Clang Linux builds. Fixes http://crbug.com/404526.
++#dnl =====================================
++#dnl Check for missing sqrtf() as, e.g., for Solaris 9
++#
++#AC_SEARCH_LIBS([sqrtf], [m], [],
++# [AC_DEFINE([sqrtf], [sqrt],
++# [Define to sqrt if you do not have the `sqrtf' function.])])
+
+ dnl =====================================
+ dnl Thread local storage
+