repo/gentoo:master commit in: app-admin/apache-tools/files/
"Sam James" <[email protected]>
| Newsgroups | gmane.linux.gentoo.cvs |
|---|---|
| Message-ID | <1786671850.29b6661b57b41565cb8a2957fbc4f1f302f93cea.sam@gentoo> |
commit: 29b6661b57b41565cb8a2957fbc4f1f302f93cea
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 14 00:40:11 2026 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Aug 14 01:44:10 2026 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29b6661b
app-admin/apache-tools: drop unused patch
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../files/apache-tools-2.4.67-constness.patch | 33 ----------------------
1 file changed, 33 deletions(-)
diff --git a/app-admin/apache-tools/files/apache-tools-2.4.67-constness.patch b/app-admin/apache-tools/files/apache-tools-2.4.67-constness.patch
deleted file mode 100644
index 0efd48b7ecfb..000000000000
--- a/app-admin/apache-tools/files/apache-tools-2.4.67-constness.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-Fix some constness warnings with glibc-2.43.
-
---- a/support/ab.c
-+++ b/support/ab.c
-@@ -2261,7 +2261,7 @@ static int parse_url(const char *url)
- }
- #endif
-
-- if ((cp = strchr(url, '/')) == NULL)
-+ if ((cp = strchr((char*)url, '/')) == NULL)
- return 1;
- h = apr_pstrmemdup(cntxt, url, cp - url);
- rv = apr_parse_addr_port(&hostname, &scope_id, &port, h, cntxt);
-@@ -2537,7 +2537,7 @@ int main(int argc, const char * const ar
- /*
- * assume proxy-name[:port]
- */
-- if ((p = strchr(opt_arg, ':'))) {
-+ if ((p = strchr((char*)opt_arg, ':'))) {
- *p = '\0';
- p++;
- proxyport = atoi(p);
---- a/support/rotatelogs.c
-+++ b/support/rotatelogs.c
-@@ -539,7 +539,7 @@ static void doRotate(rotate_config_t *co
- */
- static const char *get_time_or_size(rotate_config_t *config,
- const char *arg, int last) {
-- char *ptr = NULL;
-+ const char *ptr = NULL;
- /* Byte multiplier */
- unsigned int mult = 1;
- if ((ptr = strchr(arg, 'B')) != NULL) { /* Found KB size */