mobile-broadband-provider-info: remove local patch
[AGL/meta-agl-demo.git] / recipes-multimedia / musicpd / files / 0001-Tweaks-to-allow-building-with-older-meson.patch
1 From a01163d061fae0114a508be83c0ac83461fba43d Mon Sep 17 00:00:00 2001
2 From: Scott Murray <scott.murray@konsulko.com>
3 Date: Wed, 2 Feb 2022 14:39:50 -0500
4 Subject: [PATCH] Tweaks to allow building with older meson
5
6 The requirements for newer meson in meson.build stem from changes
7 for building dependencies as sub-projects.  If we avoid triggering
8 those, then older meson works fine.  To enable such, manually edit
9 out additions from commits f23ecf00da, aef0535c55, 520028dcfc, and
10 6b1d0cb01d (not necessarily an exhaustive list), and set the
11 minimum meson version to 0.51, as that's where the build flags
12 for native vs target became available, and those are being used.
13
14 Upstream-Status: Inappropriate [disable feature]
15
16 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
17 ---
18  meson.build | 15 +--------------
19  1 file changed, 1 insertion(+), 14 deletions(-)
20
21 diff --git a/meson.build b/meson.build
22 index 481270567..6264485c8 100644
23 --- a/meson.build
24 +++ b/meson.build
25 @@ -2,7 +2,7 @@ project(
26    'mpd',
27    ['c', 'cpp'],
28    version: '0.23.5',
29 -  meson_version: '>= 0.56.0',
30 +  meson_version: '>= 0.51.0',
31    default_options: [
32      'c_std=c11',
33      'build.c_std=c11',
34 @@ -10,21 +10,8 @@ project(
35      'build.cpp_std=c++17',
36      'warning_level=3',
37  
38 -    # If we build those libraries as Meson subproject, they shall be
39 -    # linked statically into the MPD executable.
40 -    'expat:default_library=static',
41 -    'fmt:default_library=static',
42 -    'gtest:default_library=static',
43 -    'sqlite3:default_library=static',
44 -    'vorbis:default_library=static',
45 -
46      # Not interested in compiler warnings from subprojects.
47      'expat:werror=false',
48 -    'expat:warning_level=0',
49 -    'fmt:warning_level=0',
50 -    'gtest:warning_level=0',
51 -    'sqlite3:warning_level=0',
52 -    'vorbis:warning_level=0',
53    ],
54    license: 'GPLv2+',
55  )