1 This patch is needed with newer gnu-make.
2 See https://bugs.gentoo.org/show_bug.cgi?id=705974
3 Adapted from https://www.gentoofan.org/gentoo/misc/gst/gst-plugins-good-1.16.2-make43.patch
5 --- gst-plugins-good-0.10.31/common/glib-gen.mak.orig 2011-12-11 20:10:47.000000000 +0100
6 +++ gst-plugins-good-0.10.31/common/glib-gen.mak 2023-04-21 23:17:39.432349564 +0200
8 # these are the variables your Makefile.am should set
9 # the example is based on the colorbalance interface
13 #glib_enum_headers=$(colorbalance_headers)
14 #glib_enum_define=GST_COLOR_BALANCE
15 #glib_enum_prefix=gst_color_balance
17 -enum_headers=$(foreach h,$(glib_enum_headers),\n\#include \"$(h)\")
18 +enum_headers=$(foreach h,$(glib_enum_headers),\n$(H)include \"$(h)\")
20 # these are all the rules generating the relevant files
21 %-marshal.h: %-marshal.list
22 --- gst-plugins-good-0.10.31/common/gst-glib-gen.mak.orig 2011-12-11 20:10:47.000000000 +0100
23 +++ gst-plugins-good-0.10.31/common/gst-glib-gen.mak 2023-04-21 23:20:13.260456997 +0200
25 # these are the variables your Makefile.am should set
26 # the example is based on the colorbalance interface
30 #glib_enum_headers=$(colorbalance_headers)
31 #glib_enum_define=GST_COLOR_BALANCE
32 #glib_gen_prefix=gst_color_balance
33 #glib_gen_basename=colorbalance
35 -enum_headers=$(foreach h,$(glib_enum_headers),\n\#include \"$(h)\")
36 +enum_headers=$(foreach h,$(glib_enum_headers),\n$(H)include \"$(h)\")
38 # these are all the rules generating the relevant files
39 $(glib_gen_basename)-marshal.h: $(glib_gen_basename)-marshal.list