aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorBrett Koonce2013-01-03 10:24:56 -0600
committerAdam Vandenberg2013-01-03 08:45:09 -0800
commitc95632f851375f677c794d579fb40ef2bddf70ed (patch)
treea3325f4fc348453f82ab523b04b659a72253de20 /Library/Formula
parentcce7c0fd1815a83ebc8fbf31d5dede45fbd0c56e (diff)
downloadhomebrew-c95632f851375f677c794d579fb40ef2bddf70ed.tar.bz2
teem 1.11.0
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/teem.rb52
1 files changed, 2 insertions, 50 deletions
diff --git a/Library/Formula/teem.rb b/Library/Formula/teem.rb
index 3c9a1167f..4a6abfe67 100644
--- a/Library/Formula/teem.rb
+++ b/Library/Formula/teem.rb
@@ -2,8 +2,8 @@ require 'formula'
class Teem < Formula
homepage 'http://teem.sourceforge.net/'
- url 'https://sourceforge.net/projects/teem/files/teem/1.10.0/teem-1.10.0-src.tar.gz'
- sha1 'f63ff41111ca5aa6ff6fc7653ec0e089da61bac6'
+ url 'http://sourceforge.net/projects/teem/files/teem/1.11.0/teem-1.11.0-src.tar.gz'
+ sha1 'faafa0362abad37591bc1d01441730af462212f9'
head 'https://teem.svn.sourceforge.net/svnroot/teem/teem/trunk'
@@ -12,12 +12,6 @@ class Teem < Formula
option 'experimental-apps', "Build experimental apps"
option 'experimental-libs', "Build experimental libs"
- # fixes issues with linking to more recent libpng bundled with OS X
- # (fixed in head)
- def patches
- DATA
- end unless build.head?
-
def install
cmake_args = std_cmake_args
cmake_args << "-DBUILD_SHARED_LIBS:BOOL=ON"
@@ -39,45 +33,3 @@ class Teem < Formula
system "#{bin}/nrrdSanity"
end
end
-
-__END__
-diff --git a/src/nrrd/formatPNG.c b/src/nrrd/formatPNG.c
-index 75eaa10..564f3af 100644
---- a/src/nrrd/formatPNG.c
-+++ b/src/nrrd/formatPNG.c
-@@ -120,7 +120,7 @@ _nrrdErrorHandlerPNG (png_structp png, png_const_charp message)
- sprintf(err, "%s: PNG error: %s", me, message);
- biffAdd(NRRD, err);
- /* longjmp back to the setjmp, return 1 */
-- longjmp(png->jmpbuf, 1);
-+ longjmp(png_jmpbuf(png), 1);
- }
-
- void
-@@ -200,7 +200,7 @@ _nrrdFormatPNG_read(FILE *file, Nrrd *nrrd, NrrdIoState *nio) {
- biffAdd(NRRD, err); return 1;
- }
- /* set up png style error handling */
-- if (setjmp(png->jmpbuf)) {
-+ if (setjmp(png_jmpbuf(png))) {
- /* the error is reported inside the handler,
- but we still need to clean up and return */
- png_destroy_read_struct(&png, &info, NULL);
-@@ -224,7 +224,7 @@ _nrrdFormatPNG_read(FILE *file, Nrrd *nrrd, NrrdIoState *nio) {
- png_set_palette_to_rgb(png);
- /* expand grayscale images to 8 bits from 1, 2, or 4 bits */
- if (type == PNG_COLOR_TYPE_GRAY && depth < 8)
-- png_set_gray_1_2_4_to_8(png);
-+ png_set_expand_gray_1_2_4_to_8(png);
- /* expand paletted or rgb images with transparency to full alpha
- channels so the data will be available as rgba quartets */
- if (png_get_valid(png, info, PNG_INFO_tRNS))
-@@ -420,7 +420,7 @@ _nrrdFormatPNG_write(FILE *file, const Nrrd *nrrd, NrrdIoState *nio) {
- biffAdd(NRRD, err); return 1;
- }
- /* set up error png style error handling */
-- if (setjmp(png->jmpbuf))
-+ if (setjmp(png_jmpbuf(png)))
- {
- /* the error is reported inside the error handler,
- but we still need to clean up an return with an error */