git: Bump revision after enabling pcre
[termux-packages] / packages / git / disable_daemon_syslog.patch
1 diff -u -r ../git-2.17.0/daemon.c ./daemon.c
2 --- ../git-2.17.0/daemon.c 2018-04-02 19:44:04.000000000 +0200
3 +++ ./daemon.c 2018-04-03 23:10:19.566140810 +0200
4 @@ -82,9 +82,11 @@
5 {
6 switch (log_destination) {
7 case LOG_DESTINATION_SYSLOG: {
8 + /*
9 char buf[1024];
10 vsnprintf(buf, sizeof(buf), err, params);
11 syslog(priority, "%s", buf);
12 + */
13 break;
14 }
15 case LOG_DESTINATION_STDERR:
16 @@ -1432,7 +1434,9 @@
17 }
18
19 if (log_destination == LOG_DESTINATION_SYSLOG) {
20 + /*
21 openlog("git-daemon", LOG_PID, LOG_DAEMON);
22 + */
23 set_die_routine(daemon_die);
24 } else
25 /* avoid splitting a message in the middle */