From adc960cfafb8a1b0b06cda60563bbbacad06792f Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Mon, 14 Feb 2022 02:53:47 +0000 Subject: OpenBSD: Add port for cgit-pink --- OpenBSD/www/cgit-pink/patches/patch-setup_c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 OpenBSD/www/cgit-pink/patches/patch-setup_c (limited to 'OpenBSD/www/cgit-pink/patches/patch-setup_c') diff --git a/OpenBSD/www/cgit-pink/patches/patch-setup_c b/OpenBSD/www/cgit-pink/patches/patch-setup_c new file mode 100644 index 0000000..eae3fc0 --- /dev/null +++ b/OpenBSD/www/cgit-pink/patches/patch-setup_c @@ -0,0 +1,20 @@ +$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 +@@ -1488,11 +1488,13 @@ const char *resolve_gitdir_gently(const char *suspect, int *return_error_code) + /* if any standard file descriptor is missing open it to /dev/null */ + void sanitize_stdfds(void) + { ++#if 0 + int fd = xopen("/dev/null", O_RDWR); + while (fd < 2) + fd = xdup(fd); + if (fd > 2) + close(fd); ++#endif + } + + int daemonize(void) -- cgit 1.4.1 ctive' href='/catgirl/log/ui.c?h=2.2a&follow=1'>log tree commit diff
path: root/ui.c (unfollow)
Commit message (Expand)Author
2018-09-10Depend on man.sh for chroot.tar targetJune McEnroe
2018-09-10Set LESSSECURE=1 in man.shJune McEnroe
2018-09-10Add /man commandJune McEnroe
2018-09-10Install man page in chrootJune McEnroe
2018-09-10Install man pageJune McEnroe
2018-09-10Split keys into subsections and document colorsJune McEnroe
2018-09-10Add "blank" lines to chatte.1June McEnroe
2018-09-10Document key bindings in chatte.1June McEnroe
2018-09-08Document slash commands in chatte.1June McEnroe