diff options
| author | Jack Nagel | 2014-03-16 21:35:23 -0500 | 
|---|---|---|
| committer | Jack Nagel | 2014-03-16 23:09:21 -0500 | 
| commit | 04afc857c45868667809b9358b8f6ce32d1c429f (patch) | |
| tree | 6150a8ef39424be5e0678ea8427f123aea224d8f | |
| parent | 1dd702841060e0c098f8ad0f6ec67a7f57091668 (diff) | |
| download | homebrew-04afc857c45868667809b9358b8f6ce32d1c429f.tar.bz2 | |
sdcc: use checksummed patches
| -rw-r--r-- | Library/Formula/sdcc.rb | 9 | 
1 files changed, 5 insertions, 4 deletions
| diff --git a/Library/Formula/sdcc.rb b/Library/Formula/sdcc.rb index 375be3cd1..c2c68674f 100644 --- a/Library/Formula/sdcc.rb +++ b/Library/Formula/sdcc.rb @@ -13,10 +13,11 @@ class Sdcc < Formula    option 'enable-avr-port', "Enables the AVR port (UNSUPPORTED, MAY FAIL)"    option 'enable-xa51-port', "Enables the xa51 port (UNSUPPORTED, MAY FAIL)" -  def patches -    # SDCC Doesn't build huge-stack-auto by default for mcs51, but it -    # is needed by Contiki and others. This simple patch enables it to build. -    'https://gist.github.com/anonymous/5042275/raw/a2e084f29cd4ad9cd95e38683209991b7ac038d3/sdcc-huge-stack-auto.diff' +  # SDCC Doesn't build huge-stack-auto by default for mcs51, but it +  # is needed by Contiki and others. This simple patch enables it to build. +  patch do +    url "https://gist.github.com/anonymous/5042275/raw/a2e084f29cd4ad9cd95e38683209991b7ac038d3/sdcc-huge-stack-auto.diff" +    sha1 "57f638d8d81c4bb1ea9a74a006363b881f5aab8c"    end    def install | 
