plocate: update to 1.1.10.

This commit is contained in:
Duncaen 2021-08-24 15:34:57 +02:00
parent 8cc5db551e
commit 1789d0bd6d
No known key found for this signature in database
GPG key ID: 335C1D17EC3D6E35
3 changed files with 2 additions and 33 deletions

View file

@ -1,10 +0,0 @@
--- a/plocate.cpp.orig
+++ b/plocate.cpp
@@ -31,6 +31,7 @@
#include <string.h>
#include <string>
#include <string_view>
+#include <sys/stat.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <thread>

View file

@ -1,21 +0,0 @@
--- a/conf.cpp
+++ b/conf.cpp
@@ -479,7 +479,7 @@
if (conf_scan_root != NULL)
error(EXIT_FAILURE, 0, _("--%s specified twice"),
"database-root");
- conf_scan_root = canonicalize_file_name(optarg);
+ conf_scan_root = realpath(optarg, NULL);
if (conf_scan_root == NULL)
error(EXIT_FAILURE, errno, _("invalid value `%s' of --%s"), optarg,
"database-root");
--- a/database-builder.h
+++ b/database-builder.h
@@ -3,6 +3,7 @@
#include "db.h"
+#include <unistd.h>
#include <chrono>
#include <fcntl.h>
#include <memory>

View file

@ -1,6 +1,6 @@
# Template file for 'plocate'
pkgname=plocate
version=1.1.9
version=1.1.10
revision=1
build_style=meson
configure_args="
@ -15,7 +15,7 @@ license="GPL-2.0-or-later"
homepage="https://plocate.sesse.net/"
changelog="https://git.sesse.net/?p=plocate;a=blob_plain;f=NEWS;hb=HEAD"
distfiles="https://plocate.sesse.net/download/plocate-${version}.tar.gz"
checksum=0df2bee9921ca74dd2587222d1d9a3b61d561252c9316d3667d2bd0b697798c8
checksum=812b1128f8f12e2645ca6f647bb67b07408ee065bff1cd58b53341fb15bf4dd4
system_accounts="_plocate"