hidapi: fix component order
This commit is contained in:
parent
4b55568e5a
commit
abbdb70ff4
1 changed files with 11 additions and 11 deletions
|
@ -5,17 +5,6 @@ class Hidapi < Formula
|
|||
sha256 "3c147200bf48a04c1e927cd81589c5ddceff61e6dac137a605f6ac9793f4af61"
|
||||
head "https://github.com/signal11/hidapi.git"
|
||||
|
||||
# This patch addresses a bug discovered in the HidApi IOHidManager back-end
|
||||
# that is being used with Macs.
|
||||
# The bug was dramatically changing the behaviour of the function
|
||||
# "hid_get_feature_report". As a consequence, many applications working
|
||||
# with HidApi were not behaving correctly on OSX.
|
||||
# pull request on Hidapi's repo: https://github.com/signal11/hidapi/pull/219
|
||||
patch do
|
||||
url "https://github.com/signal11/hidapi/pull/219.patch?full_index=1"
|
||||
sha256 "c0ff6eb370d6b875c06d72724a1a12fa0bafcbd64b2610014abc50a516760240"
|
||||
end
|
||||
|
||||
bottle do
|
||||
cellar :any
|
||||
rebuild 2
|
||||
|
@ -32,6 +21,17 @@ class Hidapi < Formula
|
|||
depends_on "libtool" => :build
|
||||
depends_on "pkg-config" => :build
|
||||
|
||||
# This patch addresses a bug discovered in the HidApi IOHidManager back-end
|
||||
# that is being used with Macs.
|
||||
# The bug was dramatically changing the behaviour of the function
|
||||
# "hid_get_feature_report". As a consequence, many applications working
|
||||
# with HidApi were not behaving correctly on OSX.
|
||||
# pull request on Hidapi's repo: https://github.com/signal11/hidapi/pull/219
|
||||
patch do
|
||||
url "https://github.com/signal11/hidapi/pull/219.patch?full_index=1"
|
||||
sha256 "c0ff6eb370d6b875c06d72724a1a12fa0bafcbd64b2610014abc50a516760240"
|
||||
end
|
||||
|
||||
def install
|
||||
system "./bootstrap"
|
||||
system "./configure", "--prefix=#{prefix}"
|
||||
|
|
Loading…
Reference in a new issue