1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-07-17 09:19:15 -04:00
ports/sysutils/runit-faster/files/patch-src_prot.h
Tobias Kortkamp 90c819ddbe New port: sysutils/runit-faster
Runit is a daemontools replacement with the following features:

- Service supervision
- Clean process state
- Reliable logging facility
- Fast system bootup and shutdown
- Packaging friendly
- Small code size

This very experimental port comes with a complete suite of
configuration files and services to replace init(8) and rc(8) with
runit for initializing your system.  Heavily inspired by Void Linux'
init scripts.

For usage instructions visit:
https://people.freebsd.org/~tobik/runit-faster.html

Some fixes applied to sysutils/runit:

- Fix most compiler warnings
- Fix bug where runit will only halt the system instead of powering it
  off
- Pet rclint for runsvdir
- Pet portlint and regenerate patches
2018-03-08 05:16:46 +00:00

15 lines
279 B
C

--- src/prot.h.orig 2018-03-05 09:38:43 UTC
+++ src/prot.h
@@ -3,7 +3,10 @@
#ifndef PROT_H
#define PROT_H
-extern int prot_gid(int);
-extern int prot_uid(int);
+#include <sys/param.h>
+#include <unistd.h>
+
+extern int prot_gid(gid_t);
+extern int prot_uid(uid_t);
#endif