diff options
| author | Adam Vandenberg | 2012-07-29 13:58:47 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-07-29 13:59:10 -0700 |
| commit | 91ec6d4e789d240782b232fe62a19603fae2a7c7 (patch) | |
| tree | ccc309b12e482f6ea6fe55c7429cf63297acaf23 /Library/Formula/ykpers.rb | |
| parent | 3795a090e08cd139102ce524b56d9841fab8432b (diff) | |
| download | homebrew-91ec6d4e789d240782b232fe62a19603fae2a7c7.tar.bz2 | |
ykpers: fix pre-Lion compilation
Diffstat (limited to 'Library/Formula/ykpers.rb')
| -rw-r--r-- | Library/Formula/ykpers.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Library/Formula/ykpers.rb b/Library/Formula/ykpers.rb index 5e0b67156..04c813d21 100644 --- a/Library/Formula/ykpers.rb +++ b/Library/Formula/ykpers.rb @@ -7,6 +7,14 @@ class Ykpers < Formula depends_on 'libyubikey' + # Pre-Lion fix, per MacPorts. See: + # https://trac.macports.org/ticket/34910 + def patches + {:p0 => + "https://trac.macports.org/export/96037/trunk/dports/security/ykpers/files/patch-pre-Lion-strnlen.diff" + } unless MacOS.lion? + end + def install libyubikey_prefix = Formula.factory('libyubikey').prefix system "./configure", "--prefix=#{prefix}", |
