diff --git a/Formula/p11-kit.rb b/Formula/p11-kit.rb index b42dec20cb..6dfa71d70e 100644 --- a/Formula/p11-kit.rb +++ b/Formula/p11-kit.rb @@ -2,13 +2,8 @@ require 'formula' class P11Kit < Formula homepage 'http://p11-glue.freedesktop.org' - url 'http://p11-glue.freedesktop.org/releases/p11-kit-0.13.tar.gz' - sha256 '3cb942465efd5bde1c1875826118fe4bca45b0c9edc7c87835909a5866bed325' - - def patches - # Upstream patch to fix duplicate symbol error - "http://cgit.freedesktop.org/p11-glue/p11-kit/patch/?id=4a6a685c03bd" - end + url 'http://p11-glue.freedesktop.org/releases/p11-kit-0.14.tar.gz' + sha256 '7a5e561b8b4c6e25ed7a89ef36c8127437c8f18bd86fe4cd41d899c5c7def6d3' def install ENV.universal_binary @@ -16,6 +11,10 @@ class P11Kit < Formula "--disable-dependency-tracking", "--prefix=#{prefix}" system "make" + + # Bug workaround: https://bugs.freedesktop.org/show_bug.cgi?id=57714 + mv 'tests/.libs/mock-one.so', 'tests/.libs/mock-one.dylib' + system "make check" system "make install" end