summaryrefslogtreecommitdiff
path: root/sys-apps/plocate/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-05-12 16:42:50 +0300
committerV3n3RiX <venerix@koprulu.sector>2022-05-12 16:42:50 +0300
commit752d6256e5204b958b0ef7905675a940b5e9172f (patch)
tree330d16e6362a49cbed8875a777fe641a43376cd3 /sys-apps/plocate/files
parent0c100b7dd2b30e75b799d806df4ef899fd98e1ea (diff)
gentoo resync : 12.05.2022
Diffstat (limited to 'sys-apps/plocate/files')
-rw-r--r--sys-apps/plocate/files/plocate-1.1.10-meson-use-feature-option-for-libiouring.patch38
1 files changed, 0 insertions, 38 deletions
diff --git a/sys-apps/plocate/files/plocate-1.1.10-meson-use-feature-option-for-libiouring.patch b/sys-apps/plocate/files/plocate-1.1.10-meson-use-feature-option-for-libiouring.patch
deleted file mode 100644
index 183c9f8e7fff..000000000000
--- a/sys-apps/plocate/files/plocate-1.1.10-meson-use-feature-option-for-libiouring.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From 562128212376305bac8edd10d80c24f1223f1870 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Arsen=20Arsenovi=C4=87?= <arsen@aarsen.me>
-Date: Thu, 19 Aug 2021 12:03:39 +0200
-Subject: [PATCH plocate] meson: use feature option for libiouring
-
-source-based distributions would prefer to allow this option to be
-disabled without a hack, regardless of is libiouring installed or not,
-and meson already supports feature options for this purpose.
----
- meson.build | 2 +-
- meson_options.txt | 1 +
- 2 files changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/meson.build b/meson.build
-index 6fb0f74..fb79e3f 100644
---- a/meson.build
-+++ b/meson.build
-@@ -10,7 +10,7 @@ add_project_arguments('-DPACKAGE_VERSION="' + meson.project_version() + '"', lan
- add_project_arguments('-DPACKAGE_BUGREPORT="steinar+plocate@gunderson.no"', language: 'cpp')
-
- cxx = meson.get_compiler('cpp')
--uringdep = dependency('liburing', required: false)
-+uringdep = dependency('liburing', required: get_option('use_libiouring'))
- zstddep = dependency('libzstd')
- threaddep = dependency('threads')
- atomicdep = cxx.find_library('atomic', required: false)
-diff --git a/meson_options.txt b/meson_options.txt
-index 8ac13c5..9c90bf0 100644
---- a/meson_options.txt
-+++ b/meson_options.txt
-@@ -3,3 +3,4 @@ option('install_systemd', type: 'boolean', value: true, description: 'Install sy
- option('systemunitdir', type: 'string', description: 'Where to install systemd units to (default: autodetect)')
- option('locategroup', type: 'string', value: 'plocate', description: 'Group that the install script will use for the .db file')
- option('updatedb_progname', type: 'string', value: 'updatedb', description: 'Binary name of updatedb')
-+option('use_libiouring', type: 'feature', value: 'auto', description: 'Enable libiouring dependency (default: autodetect)')
---
-2.31.1
-