diff options
| author | la-ninpre <aaoth@aaoth.xyz> | 2023-04-27 00:56:41 +0300 |
|---|---|---|
| committer | la-ninpre <aaoth@aaoth.xyz> | 2023-04-27 00:56:41 +0300 |
| commit | 6fde0e3ec189ce2bd2fbc0ba5dd916846a1d7050 (patch) | |
| tree | 5031984846e3f91b07f93fcec75bd4ce801c0775 /www/cgit/patches/patch-setup_c | |
| parent | 30dc46c16abf2486019d4a8aff3614e9ff4059f6 (diff) | |
| download | ports-6fde0e3ec189ce2bd2fbc0ba5dd916846a1d7050.tar.gz ports-6fde0e3ec189ce2bd2fbc0ba5dd916846a1d7050.zip | |
remove www/cgit and www/mycorrhiza
Diffstat (limited to 'www/cgit/patches/patch-setup_c')
| -rw-r--r-- | www/cgit/patches/patch-setup_c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/www/cgit/patches/patch-setup_c b/www/cgit/patches/patch-setup_c deleted file mode 100644 index c93edf7..0000000 --- a/www/cgit/patches/patch-setup_c +++ /dev/null @@ -1,22 +0,0 @@ -$OpenBSD: patch-setup_c,v 1.1 2017/03/22 20:23:52 landry Exp $ - -Dont openbsd dev/null, doesnt exist in the default chroot - ---- git/setup.c.orig Wed Mar 1 21:01:06 2017 -+++ git/setup.c Wed Mar 1 21:01:56 2017 -@@ -1024,6 +1024,7 @@ const char *resolve_gitdir(const char *suspect) - /* if any standard file descriptor is missing open it to /dev/null */ - void sanitize_stdfds(void) - { -+#if 0 - int fd = open("/dev/null", O_RDWR, 0); - while (fd != -1 && fd < 2) - fd = dup(fd); -@@ -1031,6 +1032,7 @@ void sanitize_stdfds(void) - die_errno("open /dev/null or dup failed"); - if (fd > 2) - close(fd); -+#endif - } - - int daemonize(void) |
