summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/gstreamer/gst-validate/0001-validate-fix-template-paths-when-buildir-is-differen.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-multimedia/gstreamer/gst-validate/0001-validate-fix-template-paths-when-buildir-is-differen.patch')
-rw-r--r--meta/recipes-multimedia/gstreamer/gst-validate/0001-validate-fix-template-paths-when-buildir-is-differen.patch41
1 files changed, 0 insertions, 41 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gst-validate/0001-validate-fix-template-paths-when-buildir-is-differen.patch b/meta/recipes-multimedia/gstreamer/gst-validate/0001-validate-fix-template-paths-when-buildir-is-differen.patch
deleted file mode 100644
index 400b8b0fea..0000000000
--- a/meta/recipes-multimedia/gstreamer/gst-validate/0001-validate-fix-template-paths-when-buildir-is-differen.patch
+++ /dev/null
@@ -1,41 +0,0 @@
1From ac9d7d230effdb97870c2f317b3b45449bde1769 Mon Sep 17 00:00:00 2001
2From: Anuj Mittal <am.devel@gmail.com>
3Date: Wed, 11 Apr 2018 15:40:02 +0800
4Subject: [PATCH] validate: fix template paths when buildir is different
5
6Compilation just fails otherwise because it's not able to locate the files.
7
8Upstream-Status: Submitted [https://bugzilla.gnome.org/show_bug.cgi?id=795149]
9Signed-off-by: Anuj Mittal <am.devel@gmail.com>
10
11---
12 gst/validate/Makefile.am | 7 +++++--
13 1 file changed, 5 insertions(+), 2 deletions(-)
14
15diff --git a/gst/validate/Makefile.am b/gst/validate/Makefile.am
16index 342730a..3fcc3e5 100644
17--- a/gst/validate/Makefile.am
18+++ b/gst/validate/Makefile.am
19@@ -48,14 +48,17 @@ source_h = \
20 nodist_libgstvalidate_@GST_API_VERSION@_la_SOURCES = $(built_source_make)
21 nodist_libgstvalidate_@GST_API_VERSION@include_HEADERS = $(built_header_make)
22
23+template_h = $(patsubst %,$(srcdir)/%, gst-validate-enum-types.h.template)
24+template_c = $(patsubst %,$(srcdir)/%, gst-validate-enum-types.c.template)
25+
26 gst-validate-enum-types.h: $(source_h)
27 $(AM_V_GEN)$(GLIB_MKENUMS) \
28- --template gst-validate-enum-types.h.template \
29+ --template $(template_h) \
30 $^ > gst-validate-enum-types.h
31
32 gst-validate-enum-types.c: $(source_h)
33 $(AM_V_GEN)$(GLIB_MKENUMS) \
34- --template gst-validate-enum-types.c.template \
35+ --template $(template_c) \
36 $^ > gst-validate-enum-types.c
37
38 EXTRA_DIST= \
39--
402.7.4
41