moc: revision for ffmpeg
patch for FFmpeg 4.0 compatibility Closes #27045. Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
parent
82b013efec
commit
2d201be49d
1 changed files with 8 additions and 1 deletions
|
@ -3,7 +3,7 @@ class Moc < Formula
|
||||||
homepage "https://moc.daper.net/"
|
homepage "https://moc.daper.net/"
|
||||||
url "http://ftp.daper.net/pub/soft/moc/stable/moc-2.5.2.tar.bz2"
|
url "http://ftp.daper.net/pub/soft/moc/stable/moc-2.5.2.tar.bz2"
|
||||||
sha256 "f3a68115602a4788b7cfa9bbe9397a9d5e24c68cb61a57695d1c2c3ecf49db08"
|
sha256 "f3a68115602a4788b7cfa9bbe9397a9d5e24c68cb61a57695d1c2c3ecf49db08"
|
||||||
revision 2
|
revision 3
|
||||||
|
|
||||||
bottle do
|
bottle do
|
||||||
rebuild 1
|
rebuild 1
|
||||||
|
@ -46,6 +46,13 @@ class Moc < Formula
|
||||||
depends_on "libtool"
|
depends_on "libtool"
|
||||||
depends_on "ncurses"
|
depends_on "ncurses"
|
||||||
|
|
||||||
|
# FFmpeg 4.0 compatibility
|
||||||
|
# Reported 26 Apr 2018 to mocmaint AT daper DOT net
|
||||||
|
patch :p0 do
|
||||||
|
url "https://git.archlinux.org/svntogit/packages.git/plain/trunk/moc-ffmpeg4.patch?h=packages/moc"
|
||||||
|
sha256 "f1a12d7d2e8269974487a2ffb011e87d9a6c5c06e2a47d1312d5965c98f050ea"
|
||||||
|
end
|
||||||
|
|
||||||
def install
|
def install
|
||||||
# Remove build.devel? when 2.6-alpha4 comes out
|
# Remove build.devel? when 2.6-alpha4 comes out
|
||||||
system "autoreconf", "-fvi" if build.head? || build.devel?
|
system "autoreconf", "-fvi" if build.head? || build.devel?
|
||||||
|
|
Loading…
Reference in a new issue