summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-03-18 12:22:22 +0100
committerDavid Seifert <soap@gentoo.org>2020-03-18 12:22:22 +0100
commit4096c0d01769e49f8aa815766aad278256c1064c (patch)
treea360e9e9e3bdbb58d580a52b48532e6ab4f11689 /media-libs/gst-plugins-ugly
parentmedia-libs/gst-plugins-good: Fix for >=make-4.3 (diff)
downloadgentoo-4096c0d01769e49f8aa815766aad278256c1064c.tar.gz
gentoo-4096c0d01769e49f8aa815766aad278256c1064c.tar.bz2
gentoo-4096c0d01769e49f8aa815766aad278256c1064c.zip
media-libs/gst-plugins-ugly: Fix for >=make-4.3
Closes: https://bugs.gentoo.org/705974 Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'media-libs/gst-plugins-ugly')
-rw-r--r--media-libs/gst-plugins-ugly/files/gst-plugins-ugly-1.14.3-make43.patch17
-rw-r--r--media-libs/gst-plugins-ugly/gst-plugins-ugly-1.14.3.ebuild4
2 files changed, 21 insertions, 0 deletions
diff --git a/media-libs/gst-plugins-ugly/files/gst-plugins-ugly-1.14.3-make43.patch b/media-libs/gst-plugins-ugly/files/gst-plugins-ugly-1.14.3-make43.patch
new file mode 100644
index 000000000000..86ce47cdf158
--- /dev/null
+++ b/media-libs/gst-plugins-ugly/files/gst-plugins-ugly-1.14.3-make43.patch
@@ -0,0 +1,17 @@
+--- a/common/glib-gen.mak
++++ b/common/glib-gen.mak
+@@ -1,11 +1,13 @@
+ # these are the variables your Makefile.am should set
+ # the example is based on the colorbalance interface
+
++H := \#
++
+ #glib_enum_headers=$(colorbalance_headers)
+ #glib_enum_define=GST_COLOR_BALANCE
+ #glib_enum_prefix=gst_color_balance
+
+-enum_headers=$(foreach h,$(glib_enum_headers),\n\#include \"$(h)\")
++enum_headers=$(foreach h,$(glib_enum_headers),\n$(H)include \"$(h)\")
+
+ # these are all the rules generating the relevant files
+ %-marshal.h: %-marshal.list
diff --git a/media-libs/gst-plugins-ugly/gst-plugins-ugly-1.14.3.ebuild b/media-libs/gst-plugins-ugly/gst-plugins-ugly-1.14.3.ebuild
index 0bf1a43b0fff..0ced8242290f 100644
--- a/media-libs/gst-plugins-ugly/gst-plugins-ugly-1.14.3.ebuild
+++ b/media-libs/gst-plugins-ugly/gst-plugins-ugly-1.14.3.ebuild
@@ -21,6 +21,10 @@ DEPEND="${RDEPEND}
>=dev-util/gtk-doc-am-1.12
"
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.14.3-make43.patch # remove when bumping and switching to Meson
+)
+
multilib_src_configure() {
gstreamer_multilib_src_configure