bluez-tools: Add package bluezetools
[feed/packages.git] / net / iputils / patches / 001_version_fix.patch
1 Description: set a static version string rather than discern it from git
2 --- a/meson.build
3 +++ b/meson.build
4 @@ -17,6 +17,7 @@ add_project_arguments(
5
6 conf = configuration_data()
7 conf.set_quoted('PACKAGE_NAME', meson.project_name())
8 +conf.set('VCS_TAG', meson.project_version())
9 conf.set('_GNU_SOURCE', 1, description : 'Enable GNU extensions on systems that have them.')
10
11 build_arping = get_option('BUILD_ARPING')
12 @@ -207,10 +208,10 @@ foreach h : [
13 endif
14 endforeach
15
16 -git_version_h = vcs_tag(
17 +git_version_h = configure_file(
18 input : 'git-version.h.meson',
19 output : 'git-version.h',
20 - fallback : meson.project_version()
21 + configuration: conf
22 )
23
24 config_h = configure_file(