aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJoey Korkames2014-05-21 10:10:25 -0700
committerMike McQuaid2014-06-24 22:34:28 +0100
commitad46ee92a7ec5c2aeb8c800d3d9bf4897bd58bcb (patch)
treea805650ec737158c0235d2441097db798687316f /Library
parent42bc401484a61d3edcca863c82dd38056df9ee9e (diff)
downloadhomebrew-ad46ee92a7ec5c2aeb8c800d3d9bf4897bd58bcb.tar.bz2
ghostscript: update GsDjVu version & fix warnings.
--with-djvu was using slightly old code and producing warnings builds clean now on osx 10.9
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/ghostscript.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/Library/Formula/ghostscript.rb b/Library/Formula/ghostscript.rb
index d100ff578..fa318bf5a 100644
--- a/Library/Formula/ghostscript.rb
+++ b/Library/Formula/ghostscript.rb
@@ -57,8 +57,8 @@ class Ghostscript < Formula
# http://djvu.sourceforge.net/gsdjvu.html
resource 'djvu' do
- url 'https://downloads.sourceforge.net/project/djvu/GSDjVu/1.5/gsdjvu-1.5.tar.gz'
- sha1 'c7d0677dae5fe644cf3d714c04b3c2c343906342'
+ url 'https://downloads.sourceforge.net/project/djvu/GSDjVu/1.6/gsdjvu-1.6.tar.gz'
+ sha1 'a8c5520d698d8be558a1957b4e5108cba68822ef'
end
def move_included_source_copies
@@ -73,8 +73,8 @@ class Ghostscript < Formula
src_dir = build.head? ? "gs" : "."
resource('djvu').stage do
- inreplace 'gdevdjvu.c', /#include "gserror.h"/, ''
- (buildpath+'base').install 'gdevdjvu.c'
+ inreplace 'gsdjvu.mak', '$(GL', '$(DEV'
+ (buildpath+'devices').install 'gdevdjvu.c'
(buildpath+'lib').install 'ps2utf8.ps'
ENV['EXTRA_INIT_FILES'] = 'ps2utf8.ps'
(buildpath/'devices/contrib.mak').open('a') { |f| f.write(File.read('gsdjvu.mak')) }