summaryrefslogtreecommitdiff
path: root/sysutils/osinfo-db-tools/files
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/osinfo-db-tools/files')
-rw-r--r--sysutils/osinfo-db-tools/files/patch-meson.build11
-rw-r--r--sysutils/osinfo-db-tools/files/patch-tests_meson.build11
-rw-r--r--sysutils/osinfo-db-tools/files/patch-tools_meson.build11
3 files changed, 33 insertions, 0 deletions
diff --git a/sysutils/osinfo-db-tools/files/patch-meson.build b/sysutils/osinfo-db-tools/files/patch-meson.build
new file mode 100644
index 000000000000..e79b14d35713
--- /dev/null
+++ b/sysutils/osinfo-db-tools/files/patch-meson.build
@@ -0,0 +1,11 @@
+--- meson.build.orig 2019-12-08 05:53:25 UTC
++++ meson.build
+@@ -76,7 +76,7 @@ osinfo_db_tools_cflags += [
+ ]
+
+ # gettext package name
+-osinfo_db_tools_cflags += ['-DGETTEXT_PACKAGE="0"'.format(meson.project_name())]
++osinfo_db_tools_cflags += ['-DGETTEXT_PACKAGE="@0@"'.format(meson.project_name())]
+
+ # cflags to check whether the compiler supports them or not
+ osinfo_db_tools_check_cflags = [
diff --git a/sysutils/osinfo-db-tools/files/patch-tests_meson.build b/sysutils/osinfo-db-tools/files/patch-tests_meson.build
new file mode 100644
index 000000000000..e15e870b6e02
--- /dev/null
+++ b/sysutils/osinfo-db-tools/files/patch-tests_meson.build
@@ -0,0 +1,11 @@
+--- tests/meson.build.orig 2019-12-08 07:18:10 UTC
++++ tests/meson.build
+@@ -9,7 +9,7 @@ test(
+
+ python = import('python')
+
+-python3 = python.find_installation('python3')
++python3 = python.find_installation('python3', required: false)
+ if python3.found()
+ tests = {
+ 'export-import': 'test_osinfo_db_export_import.py',
diff --git a/sysutils/osinfo-db-tools/files/patch-tools_meson.build b/sysutils/osinfo-db-tools/files/patch-tools_meson.build
new file mode 100644
index 000000000000..792f9d3cb8c6
--- /dev/null
+++ b/sysutils/osinfo-db-tools/files/patch-tools_meson.build
@@ -0,0 +1,11 @@
+--- tools/meson.build.orig 2019-12-08 05:33:14 UTC
++++ tools/meson.build
+@@ -90,7 +90,7 @@ if pod2man.found()
+ output: file + '.1',
+ input: file + '.c',
+ install: true,
+- install_dir: join_paths(osinfo_db_tools_datadir, 'man', 'man1'),
++ install_dir: join_paths(osinfo_db_tools_mandir, 'man1'),
+ build_by_default: true,
+ command: [
+ pod2man,