From: Kaelyn Takata via Guix-patches via <guix-patches@gnu.org>
To: 62758@debbugs.gnu.org
Cc: Kaelyn Takata <kaelyn.alexi@protonmail.com>
Subject: [bug#62758] [PATCH] gnu: autogen: Fix build on i686.
Date: Mon, 10 Apr 2023 18:33:47 +0000 [thread overview]
Message-ID: <bdef0240f232f5612ad84433a11c7a4ad0a31bda.1681151588.git.kaelyn.alexi@protonmail.com> (raw)
* gnu/packages/autogen.scm (autogen): Fix build on i686.
---
gnu/packages/autogen.scm | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/autogen.scm b/gnu/packages/autogen.scm
index 9751e11a64..f9575b0dc9 100644
--- a/gnu/packages/autogen.scm
+++ b/gnu/packages/autogen.scm
@@ -3,6 +3,7 @@
;;; Copyright © 2015, 2016 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com>
+;;; Copyright © 2023 Kaelyn Takata <kaelyn.alexi@protonmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -43,10 +44,15 @@ (define-public autogen
(base32 "16mlbdys8q4ckxlvxyhwkdnh1ay9f6g0cyp1kylkpalgnik398gq"))
(modules '((guix build utils)))
(snippet
- ;; Address '-Werror=format-overflow' error.
- '(substitute* "getdefs/getdefs.c"
- (("def_bf\\[[[:space:]]*MAXNAMELEN[[:space:]]*\\]")
- "def_bf[MAXNAMELEN + 10]")))))
+ '(begin
+ ;; Address '-Werror=format-overflow' error.
+ (substitute* "getdefs/getdefs.c"
+ (("def_bf\\[[[:space:]]*MAXNAMELEN[[:space:]]*\\]")
+ "def_bf[MAXNAMELEN + 10]"))
+ ;; Address '-Werror=format-truncation' error on i686.
+ (substitute* "autoopts/usage.c"
+ (("vfmt\\[sizeof\\(vfmtfmt\\)\\]")
+ "vfmt[sizeof(vfmtfmt) + 6]"))))))
(build-system gnu-build-system)
(native-inputs (list pkg-config which))
(inputs (list guile-3.0 perl)) ; for doc generator mdoc
base-commit: ae5d3525348de562b84fc9faccf09fd6e06ab3df
--
2.39.2
next reply other threads:[~2023-04-10 18:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-10 18:33 Kaelyn Takata via Guix-patches via [this message]
2023-04-10 18:57 ` [bug#62758] [PATCH core-updates] gnu: autogen: Fix build on i686 Kaelyn via Guix-patches via
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=bdef0240f232f5612ad84433a11c7a4ad0a31bda.1681151588.git.kaelyn.alexi@protonmail.com \
--to=guix-patches@gnu.org \
--cc=62758@debbugs.gnu.org \
--cc=kaelyn.alexi@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.