index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2017-09-12 16:05:20 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-09-12 16:05:20 +0200 |
commit | 9ac76d0824fa60634b07dc7ca264c2c150b53ce4 (patch) | |
tree | c290410d9666c245d8b03efcf21853ad17b69dbd /extra/colord | |
parent | da41ec5ec702c8ee7fe0909cd25547cc46b1d8ab (diff) |
-rw-r--r-- | extra/colord/PKGBUILD | 12 |
diff --git a/extra/colord/PKGBUILD b/extra/colord/PKGBUILD new file mode 100644 index 00000000..e8e298bb --- /dev/null +++ b/extra/colord/PKGBUILD @@ -0,0 +1,12 @@ +# This is a dirty hack to prevent differing float precisions. +# See https://bugs.freedesktop.org/show_bug.cgi?id=102676 + +eval "$( + declare -f prepare | \ + sed ' + /^\s*}/i\ + sed -i '\'' \ + s/\\(g_assert_cmpfloat\\s*\\)(\\([^,]\\+\\),\\s*==\\s*,\\([^,()]\\+\\))/\\1(fabs((\\2)-(\\3)),<=,1e-15)/ \ + '\'' lib/colord/cd-test-private.c \ + ' +)" |