perl/Module-Build-Tiny: update to 0.051 for Perl 5.36 and 5.38
[oi-userland.git] / components / multimedia / gst-plugins-good / patches / 12-fix-include.patch
blob49ce996ddfc39877b3fa5767718068450bfec0b1
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
7 @@ -1,11 +1,13 @@
8 # these are the variables your Makefile.am should set
9 # the example is based on the colorbalance interface
11 +H := \#
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
24 @@ -1,12 +1,14 @@
25 # these are the variables your Makefile.am should set
26 # the example is based on the colorbalance interface
28 +H := \#
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