public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/plocate/files/
@ 2021-03-20  5:49 Sam James
  0 siblings, 0 replies; 5+ messages in thread
From: Sam James @ 2021-03-20  5:49 UTC (permalink / raw
  To: gentoo-commits

commit:     45861924b720544c3a19d567c2a385b02d2d103d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 20 05:48:49 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 20 05:48:49 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45861924

sys-apps/plocate: add explanatory note to systemd unit patch

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-apps/plocate/files/plocate-1.1.5-no-systemd-check.patch | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys-apps/plocate/files/plocate-1.1.5-no-systemd-check.patch b/sys-apps/plocate/files/plocate-1.1.5-no-systemd-check.patch
index eeed8014056..2635a800788 100644
--- a/sys-apps/plocate/files/plocate-1.1.5-no-systemd-check.patch
+++ b/sys-apps/plocate/files/plocate-1.1.5-no-systemd-check.patch
@@ -1,3 +1,4 @@
+Unconditionally install systemd unit
 --- a/meson.build
 +++ b/meson.build
 @@ -76,17 +76,9 @@


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-apps/plocate/files/
@ 2021-03-20  5:49 Sam James
  0 siblings, 0 replies; 5+ messages in thread
From: Sam James @ 2021-03-20  5:49 UTC (permalink / raw
  To: gentoo-commits

commit:     ae3d4afb6099d44b57512707da1b461e6982b2e0
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 20 05:48:23 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 20 05:48:23 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae3d4afb

sys-apps/plocate: drop unnecessary patch metadata

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-apps/plocate/files/plocate-1.1.5-no-systemd-check.patch | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/sys-apps/plocate/files/plocate-1.1.5-no-systemd-check.patch b/sys-apps/plocate/files/plocate-1.1.5-no-systemd-check.patch
index b54eda0ec38..eeed8014056 100644
--- a/sys-apps/plocate/files/plocate-1.1.5-no-systemd-check.patch
+++ b/sys-apps/plocate/files/plocate-1.1.5-no-systemd-check.patch
@@ -1,6 +1,5 @@
-diff -aur a/meson.build b/meson.build
---- a/meson.build	2021-03-05 16:35:00.411781507 -0500
-+++ b/meson.build	2021-03-05 16:35:41.641782317 -0500
+--- a/meson.build
++++ b/meson.build
 @@ -76,17 +76,9 @@
                 configuration: conf_data)
  install_man(updatedb_conf_man)


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-apps/plocate/files/
@ 2021-11-16 17:02 Joonas Niilola
  0 siblings, 0 replies; 5+ messages in thread
From: Joonas Niilola @ 2021-11-16 17:02 UTC (permalink / raw
  To: gentoo-commits

commit:     6f2a63f38bc257f03b73c88b6ed2d09677d7d586
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Tue Nov 16 16:56:51 2021 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Tue Nov 16 17:02:34 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f2a63f3

sys-apps/plocate: remove unused patch

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/22976
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 .../files/plocate-1.1.5-no-systemd-check.patch      | 21 ---------------------
 1 file changed, 21 deletions(-)

diff --git a/sys-apps/plocate/files/plocate-1.1.5-no-systemd-check.patch b/sys-apps/plocate/files/plocate-1.1.5-no-systemd-check.patch
deleted file mode 100644
index 2635a8007882..000000000000
--- a/sys-apps/plocate/files/plocate-1.1.5-no-systemd-check.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-Unconditionally install systemd unit
---- a/meson.build
-+++ b/meson.build
-@@ -76,17 +76,9 @@
-                configuration: conf_data)
- install_man(updatedb_conf_man)
-
--if get_option('install_systemd')
--	systemd = dependency('systemd', required: false)
--	if systemd.found()
--		unitdir = systemd.get_pkgconfig_variable('systemdsystemunitdir')
-		updatedb_service = configure_file(input: 'plocate-updatedb.service.in',
-		       output: 'plocate-updatedb.service',
-		       configuration: conf_data)
--		install_data(updatedb_service, install_dir: unitdir)
--		install_data('plocate-updatedb.timer', install_dir: unitdir)
--	endif
--endif
-
- # Requires having TurboPFor checked out, so not built by default.
- # Unless you have a recent Meson, there's no apparently good way


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-apps/plocate/files/
@ 2022-04-18  7:15 Sam James
  0 siblings, 0 replies; 5+ messages in thread
From: Sam James @ 2022-04-18  7:15 UTC (permalink / raw
  To: gentoo-commits

commit:     cdc384f7c94893a3e2df5db35968fdd0318c0eac
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Mon Apr 18 07:05:15 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Apr 18 07:15:41 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdc384f7

sys-apps/plocate: remove unused patch

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/25074
Signed-off-by: Sam James <sam <AT> gentoo.org>

 ...0-meson-use-feature-option-for-libiouring.patch | 38 ----------------------
 1 file changed, 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
-


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-apps/plocate/files/
@ 2023-01-01 13:59 Florian Schmaus
  0 siblings, 0 replies; 5+ messages in thread
From: Florian Schmaus @ 2023-01-01 13:59 UTC (permalink / raw
  To: gentoo-commits

commit:     8a7a2361ce115ffa3e2e9200ab13d40959404bcc
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Sun Jan  1 13:41:23 2023 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sun Jan  1 13:59:07 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a7a2361

sys-apps/plocate: remove unused patches

Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/28919
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 ...plocate-1.1.16-error-to-fprintf-exit-musl.patch | 337 ---------------------
 .../plocate-1.1.16-include-linux-stat_h-musl.patch |  30 --
 2 files changed, 367 deletions(-)

diff --git a/sys-apps/plocate/files/plocate-1.1.16-error-to-fprintf-exit-musl.patch b/sys-apps/plocate/files/plocate-1.1.16-error-to-fprintf-exit-musl.patch
deleted file mode 100644
index 6d108501307f..000000000000
--- a/sys-apps/plocate/files/plocate-1.1.16-error-to-fprintf-exit-musl.patch
+++ /dev/null
@@ -1,337 +0,0 @@
-https://bugs.gentoo.org/829580
-https://git.sesse.net/?p=plocate;a=commit;h=fd6198891d6fd9642effc0843fef6f23b991af3e
-
-From fd6198891d6fd9642effc0843fef6f23b991af3e Mon Sep 17 00:00:00 2001
-From: "Steinar H. Gunderson" <steinar+git@gunderson.no>
-Date: Wed, 13 Jul 2022 22:31:54 +0200
-Subject: [PATCH 2/2] Remove dependency on non-POSIX header error.h.
-
-This helps compatibility with certain configurations of musl libc.
-Note that the output format on updatedb.conf errors will change somewhat,
-and only the first one will be reported followed by immediate exit
-(unlike earlier, where all updatedb.conf errors would be output before exit).
-
-Based on a patch by Alfred Persson Forsberg.
----
- conf.cpp | 178 +++++++++++++++++++++++++++++--------------------------
- 1 file changed, 94 insertions(+), 84 deletions(-)
-
-diff --git a/conf.cpp b/conf.cpp
-index 1055fd7..60dd93f 100644
---- a/conf.cpp
-+++ b/conf.cpp
-@@ -22,7 +22,6 @@ any later version.
- 
- #include "conf.h"
- 
--#include "error.h"
- #include "lib.h"
- 
- #include <algorithm>
-@@ -167,11 +166,6 @@ uc_lex(void)
- 		/* Fall through */
- 	case '\n':
- 		uc_current_line++;
--		if (uc_current_line == 0) {
--			error_at_line(0, 0, UPDATEDB_CONF, uc_current_line - 1,
--			              _("warning: Line number overflow"));
--			error_message_count--; /* Don't count as an error */
--		}
- 		return UCT_EOL;
- 
- 	case '=':
-@@ -180,10 +174,9 @@ uc_lex(void)
- 	case '"': {
- 		while ((c = getc_unlocked(uc_file)) != '"') {
- 			if (c == EOF || c == '\n') {
--				error_at_line(0, 0, UPDATEDB_CONF, uc_line,
--				              _("missing closing `\"'"));
--				ungetc(c, uc_file);
--				break;
-+				fprintf(stderr, "%s:%u: missing closing `\"'\n",
-+					UPDATEDB_CONF, uc_line);
-+				exit(EXIT_FAILURE);
- 			}
- 			uc_lex_buf.push_back(c);
- 		}
-@@ -215,21 +208,18 @@ uc_lex(void)
- static void
- parse_updatedb_conf(void)
- {
--	int old_error_one_per_line;
--	unsigned old_error_message_count;
- 	bool had_prune_bind_mounts, had_prunefs, had_prunenames, had_prunepaths;
- 
- 	uc_file = fopen(UPDATEDB_CONF, "r");
- 	if (uc_file == NULL) {
--		if (errno != ENOENT)
--			error(EXIT_FAILURE, errno, _("can not open `%s'"), UPDATEDB_CONF);
--		goto err;
-+	        if (errno != ENOENT) {
-+		        perror(UPDATEDB_CONF);
-+			exit(EXIT_FAILURE);
-+	        }
-+		return;
- 	}
- 	flockfile(uc_file);
- 	uc_current_line = 1;
--	old_error_message_count = error_message_count;
--	old_error_one_per_line = error_one_per_line;
--	error_one_per_line = 1;
- 	had_prune_bind_mounts = false;
- 	had_prunefs = false;
- 	had_prunenames = false;
-@@ -263,40 +253,39 @@ parse_updatedb_conf(void)
- 			break;
- 
- 		case UCT_IDENTIFIER:
--			error_at_line(0, 0, UPDATEDB_CONF, uc_line,
--			              _("unknown variable `%s'"), uc_lex_buf.c_str());
--			goto skip_to_eol;
-+			fprintf(stderr, "%s:%u: unknown variable: `%s'\n",
-+				UPDATEDB_CONF, uc_line, uc_lex_buf.c_str());
-+			exit(EXIT_FAILURE);
- 
- 		default:
--			error_at_line(0, 0, UPDATEDB_CONF, uc_line,
--			              _("variable name expected"));
--			goto skip_to_eol;
-+			fprintf(stderr, "%s:%u: variable name expected\n",
-+				UPDATEDB_CONF, uc_line);
-+			exit(EXIT_FAILURE);
- 		}
- 		if (*had_var != false) {
--			error_at_line(0, 0, UPDATEDB_CONF, uc_line,
--			              _("variable `%s' was already defined"), uc_lex_buf.c_str());
--			goto skip_to_eol;
-+			fprintf(stderr, "%s:%u: variable `%s' was already defined\n",
-+				UPDATEDB_CONF, uc_line, uc_lex_buf.c_str());
-+			exit(EXIT_FAILURE);
- 		}
- 		*had_var = true;
- 		var_token = token;
- 		token = uc_lex();
- 		if (token != UCT_EQUAL) {
--			error_at_line(0, 0, UPDATEDB_CONF, uc_line,
--			              _("`=' expected after variable name"));
--			goto skip_to_eol;
-+			fprintf(stderr, "%s:%u: `=' expected after variable name\n",
-+				UPDATEDB_CONF, uc_line);
-+			exit(EXIT_FAILURE);
- 		}
- 		token = uc_lex();
- 		if (token != UCT_QUOTED) {
--			error_at_line(0, 0, UPDATEDB_CONF, uc_line,
--			              _("value in quotes expected after `='"));
--			goto skip_to_eol;
-+			fprintf(stderr, "%s:%u: value in quotes expected after `='\n",
-+				UPDATEDB_CONF, uc_line);
-+			exit(EXIT_FAILURE);
- 		}
- 		if (var_token == UCT_PRUNE_BIND_MOUNTS) {
- 			if (parse_bool(&conf_prune_bind_mounts, uc_lex_buf.c_str()) != 0) {
--				error_at_line(0, 0, UPDATEDB_CONF, uc_line,
--				              _("invalid value `%s' of PRUNE_BIND_MOUNTS"),
--				              uc_lex_buf.c_str());
--				goto skip_to_eol;
-+				fprintf(stderr, "%s:%u: invalid value `%s' of PRUNE_BIND_MOUNTS\n",
-+					UPDATEDB_CONF, uc_line, uc_lex_buf.c_str());
-+				exit(EXIT_FAILURE);
- 			}
- 		} else if (var_token == UCT_PRUNEFS)
- 			var_add_values(&conf_prunefs, uc_lex_buf.c_str());
-@@ -308,12 +297,11 @@ parse_updatedb_conf(void)
- 			abort();
- 		token = uc_lex();
- 		if (token != UCT_EOL && token != UCT_EOF) {
--			error_at_line(0, 0, UPDATEDB_CONF, uc_line,
--			              _("unexpected data after variable value"));
--			goto skip_to_eol;
-+			fprintf(stderr, "%s:%u: unexpected data after variable value\n",
-+				UPDATEDB_CONF, uc_line);
-+			exit(EXIT_FAILURE);
- 		}
- 		/* Fall through */
--	skip_to_eol:
- 		while (token != UCT_EOL) {
- 			if (token == UCT_EOF)
- 				goto eof;
-@@ -321,14 +309,12 @@ parse_updatedb_conf(void)
- 		}
- 	}
- eof:
--	if (ferror(uc_file))
--		error(EXIT_FAILURE, 0, _("I/O error reading `%s'"), UPDATEDB_CONF);
--	error_one_per_line = old_error_one_per_line;
-+	if (ferror(uc_file)) {
-+		perror(UPDATEDB_CONF);
-+		exit(EXIT_FAILURE);
-+	}
- 	funlockfile(uc_file);
- 	fclose(uc_file);
--	if (error_message_count != old_error_message_count)
--		exit(EXIT_FAILURE);
--err:;
- }
- 
- /* Command-line argument parsing */
-@@ -384,8 +370,11 @@ prepend_cwd(const string &path)
- 	do
- 		buf.resize(buf.size() * 1.5);
- 	while ((res = getcwd(buf.data(), buf.size())) == NULL && errno == ERANGE);
--	if (res == NULL)
--		error(EXIT_FAILURE, errno, _("can not get current working directory"));
-+	if (res == NULL) {
-+	        fprintf(stderr, "%s: %s: can not get current working directory\n",
-+			program_invocation_name, strerror(errno));
-+	        exit(EXIT_FAILURE);
-+	}
- 	buf.resize(strlen(buf.data()));
- 	return buf + '/' + path;
- }
-@@ -438,54 +427,64 @@ parse_arguments(int argc, char *argv[])
- 			exit(EXIT_FAILURE);
- 
- 		case 'B':
--			if (got_prune_bind_mounts != false)
--				error(EXIT_FAILURE, 0,
--				      _("--%s would override earlier command-line argument"),
--				      "prune-bind-mounts");
-+		        if (got_prune_bind_mounts != false) {
-+				fprintf(stderr, "%s: --%s would override earlier command-line argument\n",
-+				        program_invocation_name, "prune-bind-mounts");
-+				exit(EXIT_FAILURE);
-+			}
- 			got_prune_bind_mounts = true;
--			if (parse_bool(&conf_prune_bind_mounts, optarg) != 0)
--				error(EXIT_FAILURE, 0, _("invalid value `%s' of --%s"), optarg,
--				      "prune-bind-mounts");
-+			if (parse_bool(&conf_prune_bind_mounts, optarg) != 0) {
-+				fprintf(stderr, "%s: invalid value %s of --%s\n",
-+				        program_invocation_name, optarg, "prune-bind-mounts");
-+				exit(EXIT_FAILURE);
-+			}
- 			break;
- 
- 		case 'F':
--			if (prunefs_changed != false)
--				error(EXIT_FAILURE, 0,
--				      _("--%s would override earlier command-line argument"),
--				      "prunefs");
-+			if (prunefs_changed != false) {
-+				fprintf(stderr, "%s: --%s would override earlier command-line argument\n",
-+				        program_invocation_name, "prunefs");
-+				exit(EXIT_FAILURE);
-+			}
- 			prunefs_changed = true;
- 			conf_prunefs.clear();
- 			var_add_values(&conf_prunefs, optarg);
- 			break;
- 
- 		case 'N':
--			if (prunenames_changed != false)
--				error(EXIT_FAILURE, 0,
--				      _("--%s would override earlier command-line argument"),
--				      "prunenames");
-+			if (prunenames_changed != false) {
-+				fprintf(stderr, "%s: --%s would override earlier command-line argument\n",
-+                                        program_invocation_name, "prunenames");
-+                                exit(EXIT_FAILURE);
-+			}
- 			prunenames_changed = true;
- 			conf_prunenames.clear();
- 			var_add_values(&conf_prunenames, optarg);
- 			break;
- 
- 		case 'P':
--			if (prunepaths_changed != false)
--				error(EXIT_FAILURE, 0,
--				      _("--%s would override earlier command-line argument"),
--				      "prunepaths");
-+			if (prunepaths_changed != false) {
-+				fprintf(stderr, "%s: --%s would override earlier command-line argument\n",
-+                                        program_invocation_name, "prunepaths");
-+                                exit(EXIT_FAILURE);
-+			}
- 			prunepaths_changed = true;
- 			conf_prunepaths.clear();
- 			var_add_values(&conf_prunepaths, optarg);
- 			break;
- 
- 		case 'U':
--			if (conf_scan_root != NULL)
--				error(EXIT_FAILURE, 0, _("--%s specified twice"),
--				      "database-root");
-+			if (conf_scan_root != NULL) {
-+				fprintf(stderr, "%s: --%s specified twice\n",
-+					program_invocation_name, "database-root");
-+				exit(EXIT_FAILURE);
-+			}
- 			conf_scan_root = realpath(optarg, nullptr);
--			if (conf_scan_root == NULL)
--				error(EXIT_FAILURE, errno, _("invalid value `%s' of --%s"), optarg,
--				      "database-root");
-+			if (conf_scan_root == NULL) {
-+				fprintf(stderr, "%s: %s: invalid value `%s' of --%s\n",
-+					program_invocation_name, strerror(errno), optarg, "database-root");
-+				exit(EXIT_FAILURE);
-+			}
- 			break;
- 
- 		case 'V':
-@@ -517,13 +516,18 @@ parse_arguments(int argc, char *argv[])
- 			exit(EXIT_SUCCESS);
- 
- 		case 'l':
--			if (got_visibility != false)
--				error(EXIT_FAILURE, 0, _("--%s specified twice"),
--				      "require-visibility");
-+			if (got_visibility != false) {
-+				fprintf(stderr, "%s: --%s specified twice\n",
-+                                        program_invocation_name, "require-visibility");
-+                                exit(EXIT_FAILURE);
-+			}
-+
- 			got_visibility = true;
--			if (parse_bool(&conf_check_visibility, optarg) != 0)
--				error(EXIT_FAILURE, 0, _("invalid value `%s' of --%s"), optarg,
--				      "require-visibility");
-+			if (parse_bool(&conf_check_visibility, optarg) != 0) {
-+				fprintf(stderr, "%s: invalid value `%s' of --%s",
-+					program_invocation_name, optarg, "require-visibility");
-+				exit(EXIT_FAILURE);
-+			}
- 			break;
- 
- 		case 'n':
-@@ -532,8 +536,11 @@ parse_arguments(int argc, char *argv[])
- 			break;
- 
- 		case 'o':
--			if (!conf_output.empty())
--				error(EXIT_FAILURE, 0, _("--%s specified twice"), "output");
-+			if (!conf_output.empty()) {
-+				fprintf(stderr, "%s: --%s specified twice",
-+					program_invocation_name, "output");
-+				exit(EXIT_FAILURE);
-+			}
- 			conf_output = optarg;
- 			break;
- 
-@@ -558,8 +565,11 @@ parse_arguments(int argc, char *argv[])
- 		}
- 	}
- options_done:
--	if (optind != argc)
--		error(EXIT_FAILURE, 0, _("unexpected operand on command line"));
-+	if (optind != argc) {
-+		fprintf(stderr, "%s: unexpected operand on command line",
-+			program_invocation_name);
-+		exit(EXIT_FAILURE);
-+	}
- 	if (conf_scan_root == NULL) {
- 		static char root[] = "/";
- 
--- 
-2.35.1
-

diff --git a/sys-apps/plocate/files/plocate-1.1.16-include-linux-stat_h-musl.patch b/sys-apps/plocate/files/plocate-1.1.16-include-linux-stat_h-musl.patch
deleted file mode 100644
index a4b9fe4d1bc6..000000000000
--- a/sys-apps/plocate/files/plocate-1.1.16-include-linux-stat_h-musl.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-https://git.sesse.net/?p=plocate;a=commit;h=0125004cd28c5f9124632b594e51dde73af1691c
-https://git.alpinelinux.org/aports/tree/community/plocate/include-statx.patch
-https://bugs.gentoo.org/853769
-
-From 0125004cd28c5f9124632b594e51dde73af1691c Mon Sep 17 00:00:00 2001
-From: "Steinar H. Gunderson" <steinar+git@gunderson.no>
-Date: Sat, 25 Jun 2022 10:01:49 +0200
-Subject: [PATCH 1/2] Add a missing #include.
-
-Taken from the Alpine Linux packaging; seems to be for statx()
-(presumably on musl libc).
----
- io_uring_engine.h | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/io_uring_engine.h b/io_uring_engine.h
-index 688a6ae..bcb1058 100644
---- a/io_uring_engine.h
-+++ b/io_uring_engine.h
-@@ -7,6 +7,7 @@
- #include <string_view>
- #include <sys/socket.h>
- #include <sys/types.h>
-+#include <linux/stat.h>
- 
- struct io_uring_sqe;
- #ifndef WITHOUT_URING
--- 
-2.35.1
-


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-01-01 13:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-16 17:02 [gentoo-commits] repo/gentoo:master commit in: sys-apps/plocate/files/ Joonas Niilola
  -- strict thread matches above, loose matches on Subject: below --
2023-01-01 13:59 Florian Schmaus
2022-04-18  7:15 Sam James
2021-03-20  5:49 Sam James
2021-03-20  5:49 Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox