summaryrefslogtreecommitdiff
path: root/devel/got/files/patch-libexec_got-read-gotconfig_parse.y
diff options
context:
space:
mode:
Diffstat (limited to 'devel/got/files/patch-libexec_got-read-gotconfig_parse.y')
-rw-r--r--devel/got/files/patch-libexec_got-read-gotconfig_parse.y38
1 files changed, 4 insertions, 34 deletions
diff --git a/devel/got/files/patch-libexec_got-read-gotconfig_parse.y b/devel/got/files/patch-libexec_got-read-gotconfig_parse.y
index 857a2869f2ee..38d12d1d05fd 100644
--- a/devel/got/files/patch-libexec_got-read-gotconfig_parse.y
+++ b/devel/got/files/patch-libexec_got-read-gotconfig_parse.y
@@ -1,36 +1,6 @@
-XXX remove first hunk after 0.39
---- libexec/got-read-gotconfig/parse.y.orig 2020-09-14 16:35:22 UTC
+--- libexec/got-read-gotconfig/parse.y.orig 2020-09-21 12:09:15 UTC
+++ libexec/got-read-gotconfig/parse.y
-@@ -24,27 +24,17 @@
- %{
- #include <sys/types.h>
- #include <sys/queue.h>
--#include <sys/socket.h>
--#include <sys/stat.h>
-
--#include <netinet/in.h>
--
--#include <arpa/inet.h>
--
- #include <netdb.h>
-
- #include <ctype.h>
- #include <err.h>
- #include <errno.h>
--#include <event.h>
--#include <ifaddrs.h>
--#include <imsg.h>
- #include <limits.h>
- #include <stdarg.h>
- #include <stdio.h>
-+#include <stdlib.h>
- #include <string.h>
--#include <syslog.h>
--#include <unistd.h>
-
- #include "got_error.h"
- #include "gotconfig.h"
-@@ -71,7 +61,7 @@ int igetc(void);
+@@ -61,7 +61,7 @@ int igetc(void);
int lgetc(int);
void lungetc(int);
int findeol(void);
@@ -39,7 +9,7 @@ XXX remove first hunk after 0.39
TAILQ_HEAD(symhead, sym) symhead = TAILQ_HEAD_INITIALIZER(symhead);
struct sym {
-@@ -133,7 +123,7 @@ boolean : STRING {
+@@ -123,7 +123,7 @@ boolean : STRING {
;
numberstring : NUMBER {
char *s;
@@ -48,7 +18,7 @@ XXX remove first hunk after 0.39
yyerror("string: asprintf");
YYERROR;
}
-@@ -395,7 +385,7 @@ getservice(char *n)
+@@ -385,7 +385,7 @@ getservice(char *n)
}
static int