Browse Source

daemonize: -Werror=implicit-function-declaration

android-5
Fredrik Fornwall 8 years ago
parent
commit
db78f9cafa
  1. 14
      packages/daemonize/daemonize.c.patch

14
packages/daemonize/daemonize.c.patch

@ -1,7 +1,15 @@
diff -u -r ../daemonize-release-1.7.7/daemonize.c ./daemonize.c diff -u -r ../daemonize-release-1.7.7/daemonize.c ./daemonize.c
--- ../daemonize-release-1.7.7/daemonize.c 2015-12-11 17:54:43.000000000 -0500 --- ../daemonize-release-1.7.7/daemonize.c 2015-12-11 23:54:43.000000000 +0100
+++ ./daemonize.c 2016-12-23 03:40:30.055592421 -0500 +++ ./daemonize.c 2017-07-07 00:33:39.931635851 +0200
@@ -38,7 +38,10 @@ @@ -24,6 +24,7 @@
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/file.h>
+#include <grp.h> /* For initgroups(3). */
#include "config.h"
#include "version.h"
@@ -38,7 +39,10 @@
static bool be_verbose = FALSE; static bool be_verbose = FALSE;
static const char *user = NULL; static const char *user = NULL;
static char **cmd = NULL; static char **cmd = NULL;

Loading…
Cancel
Save