diff options
| author | Jeremy W. Sherman | 2012-02-02 17:23:33 -0500 |
|---|---|---|
| committer | Charlie Sharpsteen | 2012-02-03 07:26:50 -0800 |
| commit | b8f792a10e0ce5aa7be549efdf27f2f4b7cc4611 (patch) | |
| tree | 9046aa7882ca71619945c242add58d1f7aadaeb8 | |
| parent | dcb0694a5442e653f56c85839cc38445bd7724c2 (diff) | |
| download | homebrew-b8f792a10e0ce5aa7be549efdf27f2f4b7cc4611.tar.bz2 | |
spin: update to 6.1.0
Closes #9943.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
| -rw-r--r-- | Library/Formula/spin.rb | 37 |
1 files changed, 19 insertions, 18 deletions
diff --git a/Library/Formula/spin.rb b/Library/Formula/spin.rb index caec39f2d..37985e685 100644 --- a/Library/Formula/spin.rb +++ b/Library/Formula/spin.rb @@ -1,14 +1,15 @@ require 'formula' class Spin < Formula - url 'http://spinroot.com/spin/Src/spin525.tar.gz' + url 'http://spinroot.com/spin/Src/spin610.tar.gz' homepage 'http://spinroot.com/spin/whatispin.html' - md5 '03345f9713e7b4f82d2d8ec319802b9c' - version '5.2.5' + md5 '89c0d322c3a5aded1fda9b0d30327d19' + version '6.1.0' fails_with_llvm :build => 2334 def patches + # replace -DPC with -DMAC in makefile CFLAGS DATA end @@ -28,21 +29,21 @@ end # manual patching is required by the spin install process __END__ -diff --git a/Src5.2.5/makefile b/Src5.2.5/makefile -index 67f22aa..596c893 100755 ---- a/Src5.2.5/makefile -+++ b/Src5.2.5/makefile -@@ -12,10 +12,10 @@ +diff --git a/Src6.1.0/makefile b/Src6.1.0/makefile +index 9a9735d..82b5c15 100644 +--- a/Src6.1.0/makefile ++++ b/Src6.1.0/makefile +@@ -14,11 +14,11 @@ + # see also ./make_pc for a simpler script, not requiring make - CC=gcc -DNXT # -DNXT enables the X operator in LTL - # CC=cc -m32 -DNXT # for 32bit compilation on a 64bit system --CFLAGS=-ansi -D_POSIX_SOURCE -Wno-format-security # on some systems add: -I/usr/include -+#CFLAGS=-ansi -D_POSIX_SOURCE -Wno-format-security # on some systems add: -I/usr/include + CC=gcc +-CFLAGS=-O2 -ansi -DNXT -D_POSIX_SOURCE -Wno-format-security # on some systems add: -I/usr/include ++#CFLAGS=-O2 -ansi -DNXT -D_POSIX_SOURCE -Wno-format-security # on some systems add: -I/usr/include --# for a more picky compilation: --# CFLAGS=-std=c99 -Wstrict-prototypes -pedantic -fno-strength-reduce -fno-builtin -W -Wshadow -Wpointer-arith -Wcast-qual -Winline -Wall -g -+# for a more picky compilation: -+CFLAGS=-std=c99 -Wstrict-prototypes -pedantic -fno-strength-reduce -fno-builtin -W -Wshadow -Wpointer-arith -Wcast-qual -Winline -Wall -g -DMAC -DCPP="\"gcc -E -x c -xassembler-with-cpp\"" + # CC=cc -m32 # for 32bit compilation on a 64bit system (not recommended) + # for a more picky compilation use gcc-4 and: +-# CFLAGS=-std=c99 -Wstrict-prototypes -pedantic -fno-strength-reduce -fno-builtin -W -Wshadow -Wpointer-arith -Wcast-qual -Winline -Wall -g -DNXT -DPC ++CFLAGS=-std=c99 -Wstrict-prototypes -pedantic -fno-strength-reduce -fno-builtin -W -Wshadow -Wpointer-arith -Wcast-qual -Winline -Wall -g -DNXT -DMAC - # on PC: add -DPC to CFLAGS above - # on Solaris: add -DSOLARIS + # on OS2: spin -Picc -E/Pd+ -E/Q+ + # for Visual C++: spin -PCL -E/E |
