SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
14
misc/memcached/patches/patch-memcached_c
Normal file
14
misc/memcached/patches/patch-memcached_c
Normal file
|
@ -0,0 +1,14 @@
|
|||
Index: memcached.c
|
||||
--- memcached.c.orig
|
||||
+++ memcached.c
|
||||
@@ -5309,8 +5309,8 @@ int main (int argc, char **argv) {
|
||||
start_lru_maintainer = false;
|
||||
break;
|
||||
case NO_DROP_PRIVILEGES:
|
||||
- settings.drop_privileges = false;
|
||||
- break;
|
||||
+ fprintf(stderr, "no_drop_privileges option unsupported on this operating system.\n");
|
||||
+ return 1;
|
||||
case DROP_PRIVILEGES:
|
||||
settings.drop_privileges = true;
|
||||
break;
|
Loading…
Add table
Add a link
Reference in a new issue