diff options
| author | Tobias Kortkamp <tobik@FreeBSD.org> | 2018-03-08 05:16:46 +0000 |
|---|---|---|
| committer | Tobias Kortkamp <tobik@FreeBSD.org> | 2018-03-08 05:16:46 +0000 |
| commit | 90c819ddbed0c272b3e273b3237ca47927859d44 (patch) | |
| tree | fe8f6fbde89561b3228311aecabe406c048766fd /sysutils/runit-faster/files/patch-src_prot.h | |
| parent | editors/sublime-text: Fix COMMENT (diff) | |
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
Diffstat (limited to 'sysutils/runit-faster/files/patch-src_prot.h')
| -rw-r--r-- | sysutils/runit-faster/files/patch-src_prot.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sysutils/runit-faster/files/patch-src_prot.h b/sysutils/runit-faster/files/patch-src_prot.h new file mode 100644 index 000000000000..298aed099afe --- /dev/null +++ b/sysutils/runit-faster/files/patch-src_prot.h @@ -0,0 +1,15 @@ +--- 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 |
