summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>2019-04-22 09:56:30 +0200
committerDavid Seifert <soap@gentoo.org>2019-04-23 11:52:43 +0200
commiteb9538ad53013b6d66c70c686806acdbbe9f4629 (patch)
tree6d07e0782007edf7f6297e13ebf01622e426de63 /net-dns
parentwww-misc/wsmake: EAPI=7, add amd64, fix calling g++ directly (diff)
downloadgentoo-eb9538ad53013b6d66c70c686806acdbbe9f4629.tar.gz
gentoo-eb9538ad53013b6d66c70c686806acdbbe9f4629.tar.bz2
gentoo-eb9538ad53013b6d66c70c686806acdbbe9f4629.zip
net-dns/bind-tools: remove unused patch(es)
Closes: https://github.com/gentoo/gentoo/pull/11781 Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/bind-tools/files/bind-tools-9.5.0_p1-lwconfig.patch63
1 files changed, 0 insertions, 63 deletions
diff --git a/net-dns/bind-tools/files/bind-tools-9.5.0_p1-lwconfig.patch b/net-dns/bind-tools/files/bind-tools-9.5.0_p1-lwconfig.patch
deleted file mode 100644
index ba615d5ac6eb..000000000000
--- a/net-dns/bind-tools/files/bind-tools-9.5.0_p1-lwconfig.patch
+++ /dev/null
@@ -1,63 +0,0 @@
---- a/lib/lwres/lwconfig.c
-+++ b/lib/lwres/lwconfig.c
-@@ -175,13 +175,8 @@
- REQUIRE(buffer != NULL);
- REQUIRE(size > 0U);
-
-- *p = '\0';
--
- ch = eatwhite(fp);
-
-- if (ch == EOF)
-- return (EOF);
--
- do {
- *p = '\0';
-
-@@ -592,23 +587,37 @@
- if (strlen(word) == 0U)
- rval = LWRES_R_SUCCESS;
- else if (strcmp(word, "nameserver") == 0)
-- rval = lwres_conf_parsenameserver(ctx, fp);
-+ rval = (stopchar != '\n')? /* fail instantly if EOL is reached */
-+ lwres_conf_parsenameserver(ctx, fp)
-+ : LWRES_R_FAILURE;
- else if (strcmp(word, "lwserver") == 0)
-- rval = lwres_conf_parselwserver(ctx, fp);
-+ rval = (stopchar != '\n')?
-+ lwres_conf_parselwserver(ctx, fp)
-+ : LWRES_R_FAILURE;
- else if (strcmp(word, "domain") == 0)
-- rval = lwres_conf_parsedomain(ctx, fp);
-+ rval = (stopchar != '\n')?
-+ lwres_conf_parsedomain(ctx, fp)
-+ : LWRES_R_FAILURE;
- else if (strcmp(word, "search") == 0)
-- rval = lwres_conf_parsesearch(ctx, fp);
-+ rval = (stopchar != '\n')?
-+ lwres_conf_parsesearch(ctx, fp)
-+ : LWRES_R_FAILURE;
- else if (strcmp(word, "sortlist") == 0)
-- rval = lwres_conf_parsesortlist(ctx, fp);
-+ rval = (stopchar != '\n')?
-+ lwres_conf_parsesortlist(ctx, fp)
-+ : LWRES_R_FAILURE;
- else if (strcmp(word, "options") == 0)
-- rval = lwres_conf_parseoption(ctx, fp);
-+ rval = (stopchar != '\n')?
-+ lwres_conf_parseoption(ctx, fp)
-+ : LWRES_R_FAILURE;
- else {
- /* unrecognised word. Ignore entire line */
- rval = LWRES_R_SUCCESS;
-- stopchar = eatline(fp);
-- if (stopchar == EOF) {
-- break;
-+ if (stopchar != '\n') { /* do not eat the next line */
-+ stopchar = eatline(fp);
-+ if (stopchar == EOF) {
-+ break;
-+ }
- }
- }
- if (ret == LWRES_R_SUCCESS && rval != LWRES_R_SUCCESS)