python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / games / xjump / darwin.patch
blob8221677658e3363ab735fbdc680675848692b3c1
1 --- xjump/src/main.c 2018-02-20 09:15:15.608807657 +0100
2 +++ xjump-patched/src/main.c 2018-02-20 09:15:34.148949100 +0100
3 @@ -604,18 +604,6 @@
4 * optimistic privilege dropping function. */
5 setgroups(0, NULL);
7 - if (setresgid(-1, realgid, realgid) != 0) {
8 - perror("Could not drop setgid privileges. Aborting.");
9 - exit(1);
10 - }
12 - /* Dropping user privileges must come last.
13 - * Otherwise we won't be able to drop group privileges anymore */
14 - if (setresuid(-1, realuid, realuid) != 0) {
15 - perror("Could not drop setuid privileges. Aborting.");
16 - exit(1);
17 - }
19 /* From now on we run with regular user privileges */
21 static XtActionsRec a_table[] = {