diff --git a/Formula/signing-party.rb b/Formula/signing-party.rb index 7622fe52b76..9038812e7fc 100644 --- a/Formula/signing-party.rb +++ b/Formula/signing-party.rb @@ -20,6 +20,12 @@ class SigningParty < Formula depends_on 'Text::Iconv' => :perl depends_on 'GnuPG::Interface' => :perl + # gpgparticipants data on OS X behaves differently from linux version + # https://github.com/mxcl/homebrew/pull/21628 + def patches + DATA + end + def install # gpgdir and gpgwrap are not included as they have their own homepages # springraph is not included because it depends on the 'GD' perl module @@ -90,3 +96,18 @@ class SigningParty < Formula end end end + +__END__ +diff --git a/gpgparticipants/gpgparticipants b/gpgparticipants/gpgparticipants +index 4dd06e8..ea76aff 100755 +--- a/gpgparticipants/gpgparticipants ++++ b/gpgparticipants/gpgparticipants +@@ -29,7 +29,7 @@ title=$(echo "$5"|tr a-z A-Z|sed 's/\(.\)/\1 /g') + exec > "$output" + + # Date of event +-LANG=C date --date="$date" +"%A, %B %e, %Y; %H:%M" ++LANG=C date -j -f "%Y%m%d %H%M" "$date" +"%A, %B %e, %Y; %H:%M" + # Organiser contact + printf "%80s\n\n\n" "$org" + # Title