Commit 1c87d72e authored by JL2210's avatar JL2210 Committed by GitHub

Update fskit.rb (#4053)

Once again removing references to my repositories; in theory this shouldn't change anything but it should be tested.
parent 8fbbd488
......@@ -23,9 +23,7 @@ class Fskit < Package
depends_on 'attr'
def self.patch
system "wget", "https://github.com/JL2210/patches/raw/06346b89275a12eaa3fb71fce88a97dd288fa09d/fskit-dd9a8-xattr.patch"
abort 'Checksum mismatch. :/ Try again.'.lightred unless Digest::SHA256.hexdigest( File.read('fskit-dd9a8-xattr.patch') ) == 'bd221435060b92ecd237d2d90e4758a26acb02bbfa737c36b9ea0d4fe0d3c77a'
system "patch -Np1 -i fskit-dd9a8-xattr.patch"
system "sed -i 's,#include <attr/xattr\.h>,#include <attr/attributes.h>\n#include <sys/xattr.h>,g' include/fskit/*.h"
end
def self.build
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment