gstreamer, gst-plugins-good: revert patches merged into upstream.

Closes Homebrew/homebrew#46898.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Ryan Hendrickson 2015-12-10 22:46:35 -05:00 committed by Dominyk Tiller
parent 48cf23314b
commit 9c8b10cd92
2 changed files with 0 additions and 28 deletions

View file

@ -7,16 +7,6 @@ class GstPluginsGood < Formula
sha256 "86d4b814099f7b7b16be19d4b94fa41002ac01fdf1525b07c5764d54c0605935"
depends_on "check" => :optional
if MacOS.version < :lion
# Snow Leopard and below don't have strnlen()
# https://bugzilla.gnome.org/show_bug.cgi?id=756154
# http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=fc203a4bd7eb1cecc0e17bcb7ec67e0672806867
patch do
url "https://bugzilla.gnome.org/attachment.cgi?id=313403&action=diff&context=patch&collapsed=&headers=1&format=raw"
sha256 "63a2f18683c967d321f42fcfca0c1d8e070b489ce8f8b08f3340c30c6903250d"
end
end
end
bottle do

View file

@ -24,11 +24,6 @@ class Gstreamer < Formula
depends_on "glib"
depends_on "bison"
# Fix header file issue (exact OS versions affected unknown; first noticed on
# Snow Leopard)
# https://bugzilla.gnome.org/show_bug.cgi?id=756136
patch :DATA if MacOS.version <= :mountain_lion
def install
args = %W[
--prefix=#{prefix}
@ -63,16 +58,3 @@ class Gstreamer < Formula
system bin/"gst-inspect-1.0"
end
end
__END__
diff --git a/libs/gst/helpers/gst-ptp-helper.c b/libs/gst/helpers/gst-ptp-helper.c
index 6c753df..5642741 100644
--- a/libs/gst/helpers/gst-ptp-helper.c
+++ b/libs/gst/helpers/gst-ptp-helper.c
@@ -37,6 +37,7 @@
#include <sys/types.h>
#include <errno.h>
#include <sys/ioctl.h>
+#include <sys/socket.h>
#include <net/if.h>
#include <netinet/in.h>
#include <string.h>