* [bug#62758] [PATCH] gnu: autogen: Fix build on i686.
@ 2023-04-10 18:33 Kaelyn Takata via Guix-patches via
2023-04-10 18:57 ` [bug#62758] [PATCH core-updates] " Kaelyn via Guix-patches via
0 siblings, 1 reply; 2+ messages in thread
From: Kaelyn Takata via Guix-patches via @ 2023-04-10 18:33 UTC (permalink / raw)
To: 62758; +Cc: Kaelyn Takata
* 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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [bug#62758] [PATCH core-updates] gnu: autogen: Fix build on i686.
2023-04-10 18:33 [bug#62758] [PATCH] gnu: autogen: Fix build on i686 Kaelyn Takata via Guix-patches via
@ 2023-04-10 18:57 ` Kaelyn via Guix-patches via
0 siblings, 0 replies; 2+ messages in thread
From: Kaelyn via Guix-patches via @ 2023-04-10 18:57 UTC (permalink / raw)
To: 62758@debbugs.gnu.org
Sorry, I messed up a little bit on the subject line of this patch. It is for core-updates, but forgot to update the subject prefix.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-04-10 18:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-10 18:33 [bug#62758] [PATCH] gnu: autogen: Fix build on i686 Kaelyn Takata via Guix-patches via
2023-04-10 18:57 ` [bug#62758] [PATCH core-updates] " Kaelyn via Guix-patches via
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).