index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
-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 \ + ' +)" |