Permalink
Browse files

spin 6.2.2

updated url/sha1
i have reworked the patch from 6.1.1 for 6.2.2
things compile without it, but best let sleeping giants lie
  • Loading branch information...
1 parent d92a1c3 commit 83b8e1237e18b5b6427e47f279eb3b8ee1f53e9c @asparagui committed Jul 29, 2012
Showing with 14 additions and 12 deletions.
  1. +14 −12 Library/Formula/spin.rb
View
@@ -2,9 +2,9 @@
class Spin < Formula
homepage 'http://spinroot.com/spin/whatispin.html'
- url 'http://spinroot.com/spin/Src/spin610.tar.gz'
- version '6.1.0'
- md5 '89c0d322c3a5aded1fda9b0d30327d19'
+ url 'http://spinroot.com/spin/Src/spin622.tar.gz'
+ version '6.2.2'
+ sha1 'f402048864761d0fceefa61e8f03a9ee33a16a4c'
fails_with :llvm do
build 2334
@@ -29,18 +29,20 @@ def install
# manual patching is required by the spin install process
__END__
-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 @@
+diff --git a/Src6.2.2/makefile b/Src6.2.2/makefile
+index 02d2a02..7687e0a 100644
+--- a/Src6.2.2/makefile
++++ b/Src6.2.2/makefile
+@@ -13,12 +13,12 @@
+
# see also ./make_pc for a simpler script, not requiring make
- 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
+-CC=gcc
+-CFLAGS=-O2 -DNXT # on some systems add: -I/usr/include
++#CC=gcc
++#CFLAGS=-O2 -DNXT # on some systems add: -I/usr/include
- # CC=cc -m32 # for 32bit compilation on a 64bit system (not recommended)
+ # CC=gcc -m32 # 32bit compilation on a 64bit system
@adamv

adamv Jul 30, 2012

Since this line is already commented out, why are we changing it?

@asparagui

asparagui Jul 30, 2012

Owner

the line was changed upstream in the makefile between versions, not by me

# 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

0 comments on commit 83b8e12

Please sign in to comment.