diff options
| author | Stephen Thirlwall | 2012-03-19 15:29:53 +1100 |
|---|---|---|
| committer | Adam Vandenberg | 2012-04-16 21:29:54 -0700 |
| commit | 64943d679570263ea9750cb6b68a9ba0e375fb0e (patch) | |
| tree | d247b83546f9d1a7e3f575b81da9cf4ec5d7fd1f /Library | |
| parent | 98f254a41c91eaa0ac875274ec91a8a04a413659 (diff) | |
| download | homebrew-64943d679570263ea9750cb6b68a9ba0e375fb0e.tar.bz2 | |
fbida 2.09
Added a makefile patch to fbida-2.09
The patch has also been submitted upstream to the author.
Fixes #10801.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/fbida.rb | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/Library/Formula/fbida.rb b/Library/Formula/fbida.rb index d2b98cee3..779587198 100644 --- a/Library/Formula/fbida.rb +++ b/Library/Formula/fbida.rb @@ -1,9 +1,13 @@ require 'formula' class Fbida < Formula - url 'http://dl.bytesex.org/releases/fbida/fbida-2.08.tar.gz' homepage 'http://linux.bytesex.org/fbida/' - md5 '9b3693ab26a58194e36b479bffb61ed0' + url 'http://dl.bytesex.org/releases/fbida/fbida-2.09.tar.gz' + md5 '62415c7cb28d995f9d317868de0f2830' + + # Fix for build failure in fbida 2.09 (and earlier) + # Check again in fbida 2.10 + def patches; DATA; end depends_on 'libexif' depends_on 'jpeg' @@ -14,3 +18,20 @@ class Fbida < Formula man1.install 'exiftran.man' => 'exiftran.1' end end + +__END__ +diff --git a/GNUmakefile b/GNUmakefile +index 2efae6c..af91be4 100644 +--- a/GNUmakefile ++++ b/GNUmakefile +@@ -30,8 +30,8 @@ include $(srcdir)/mk/Autoconf.mk + + ac_jpeg_ver = $(shell \ + $(call ac_init,for libjpeg version);\ +- $(call ac_s_cmd,echo -e '\#include <jpeglib.h>\nJPEG_LIB_VERSION' \ +- | cpp | tail -n 1);\ ++ $(call ac_s_cmd,echo JPEG_LIB_VERSION \ ++ | cpp -include jpeglib.h | tail -n 1);\ + $(call ac_fini)) + + define make-config |
