From: Vitaliy Shatrov via Guix-patches via <guix-patches@gnu.org>
To: "40818@debbugs.gnu.org" <40818@debbugs.gnu.org>
Subject: [bug#40818] [bug #40818] "Add bsd-games"
Date: Wed, 17 Jun 2020 16:42:39 +0000 [thread overview]
Message-ID: <9hfOZ7tKeT02_D1hsiO4AvJ6KfRqwwUFhveEUJ34qgvPzU9tXWnMdRHkOsNolUJoRML4T1eKnQGsfItTWQ6KPLmS19KamA0Fwhr8SHoHDLk=@protonmail.com> (raw)
In-Reply-To: <C319gNzHHDCZEdWxB7Dxk3DFqxUyBG4D8KfCHqmkfuRvrlERg5jVWs91MyGahLTIPoel6UQpCV4jnytKxs8CGLISJS65PEd6v5cSLiHAYJ4=@protonmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 139 bytes --]
About ~/.local/share/xxx: Will things like this "bsd-hack"-patch be accepted?
Sent with [ProtonMail](https://protonmail.com) Secure Email.
[-- Attachment #1.2: Type: text/html, Size: 402 bytes --]
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: bsd-games-test.patch --]
[-- Type: text/x-patch; name=bsd-games-test.patch, Size: 582 bytes --]
--- bsd-games-2.17.orig/hack/hack.main.c 1970-01-01 07:00:01.000000000 +0700
+++ bsd-games-2.17/hack/hack.main.c 2020-06-17 22:09:31.424759883 +0700
@@ -552,8 +552,15 @@
#endif
#ifdef HACKDIR
- if (dir == NULL)
- dir = HACKDIR;
+ /* Guix: make "hack" target the user's HOME as default. */
+ if (dir == NULL) {
+ /* Guix: i'm sorry for using the plain numbers. */
+ char hackdir_str[1026] = "";
+ strncat(hackdir_str, getenv("HOME"), 512);
+ strcat(hackdir_str, "/");
+ strncat(hackdir_str, HACKDIR, 512);
+ dir = hackdir_str;
+ }
#endif
if (dir && chdir(dir) < 0) {
next prev parent reply other threads:[~2020-06-17 16:43 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-24 13:54 [bug#40818] [PATCH] gnu: Add bsd-games Vitaliy Shatrov via Guix-patches via
2020-06-16 13:17 ` Nicolas Goaziou
2020-06-17 7:46 ` [bug#40818] [bug #40818] "Add bsd-games" Vitaliy Shatrov via Guix-patches via
2020-06-17 16:42 ` Vitaliy Shatrov via Guix-patches via [this message]
2020-06-17 16:49 ` Vitaliy Shatrov via Guix-patches via
2020-07-07 12:29 ` Nicolas Goaziou
2020-08-01 18:45 ` Vitaliy Shatrov via Guix-patches via
2020-08-04 20:57 ` Vitaliy Shatrov via Guix-patches via
2020-08-04 20:59 ` Vitaliy Shatrov via Guix-patches via
2020-08-05 14:35 ` Vitaliy Shatrov via Guix-patches via
2020-08-06 4:12 ` Vitaliy Shatrov via Guix-patches via
2020-08-06 16:04 ` Vitaliy Shatrov via Guix-patches via
2020-08-13 8:30 ` Nicolas Goaziou
2020-08-25 11:55 ` Vitaliy Shatrov via Guix-patches via
2020-11-04 14:18 ` bug#40818: [PATCH] gnu: Add bsd-games Nicolas Goaziou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='9hfOZ7tKeT02_D1hsiO4AvJ6KfRqwwUFhveEUJ34qgvPzU9tXWnMdRHkOsNolUJoRML4T1eKnQGsfItTWQ6KPLmS19KamA0Fwhr8SHoHDLk=@protonmail.com' \
--to=guix-patches@gnu.org \
--cc=40818@debbugs.gnu.org \
--cc=D0dyBo0D0dyBo0@protonmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.