diff options
| author | Jack Nagel | 2014-11-19 01:52:34 -0600 |
|---|---|---|
| committer | Jack Nagel | 2014-11-19 01:52:34 -0600 |
| commit | de52221f5b137b9011e86ed81fe2416315791544 (patch) | |
| tree | a38e5298321dda947c070dd01e020b474ec42c6a /Library/Formula | |
| parent | f03104755df8cbfb720254bd88ac7594a3837d36 (diff) | |
| download | homebrew-de52221f5b137b9011e86ed81fe2416315791544.tar.bz2 | |
ffmbc: fix man page generation
Fixes #34244.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/ffmbc.rb | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Library/Formula/ffmbc.rb b/Library/Formula/ffmbc.rb index f619cc383..e84b2b46c 100644 --- a/Library/Formula/ffmbc.rb +++ b/Library/Formula/ffmbc.rb @@ -31,6 +31,8 @@ class Ffmbc < Formula depends_on 'libogg' => :optional depends_on 'libvpx' => :optional + patch :DATA # fix man page generation, fixed in upstream ffmpeg + def install args = ["--prefix=#{prefix}", "--disable-debug", @@ -73,3 +75,18 @@ class Ffmbc < Formula system "#{bin}/ffmbc", "-h" end end + +__END__ +diff --git a/doc/texi2pod.pl b/doc/texi2pod.pl +index 18531be..88b0a3f 100755 +--- a/doc/texi2pod.pl ++++ b/doc/texi2pod.pl +@@ -297,6 +297,8 @@ $inf = pop @instack; + + die "No filename or title\n" unless defined $fn && defined $tl; + ++print "=encoding utf8\n\n"; ++ + $sects{NAME} = "$fn \- $tl\n"; + $sects{FOOTNOTES} .= "=back\n" if exists $sects{FOOTNOTES}; + |
