unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Jesse Gibbons <jgibbons2357@gmail.com>
To: 42453@debbugs.gnu.org
Subject: [bug#42453] [PATCH] gnu: chroma: Fix build.
Date: Tue, 21 Jul 2020 12:56:03 -0600	[thread overview]
Message-ID: <c08ee7fe-3df7-bebf-05b3-2936d651156d@gmail.com> (raw)
In-Reply-To: <6827eede-64e7-52e0-529a-08b79b1598db@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 77 bytes --]

Attached is a patch that fixes the build of Chroma in gnu/packaes/games.scm


[-- Attachment #2: 0001-gnu-chroma-Fix-build.patch --]
[-- Type: text/x-patch, Size: 1580 bytes --]

From 42d71e4945d5a315ebf3b986082dbbbe99e7d392 Mon Sep 17 00:00:00 2001
From: Jesse Gibbons <jgibbons2357+guix@gmail.com>
Date: Mon, 20 Jul 2020 20:38:30 -0600
Subject: [PATCH 1/1] gnu: chroma: Fix build.

* gnu/packages/games.scm: chroma:
[configure-flags]: Add "CFLAGS=-fgnu89-inline"
---
 gnu/packages/games.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index f4d75eedd4..cff1c0af99 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -40,7 +40,7 @@
 ;;; Copyright © 2019, 2020 Oleg Pykhalov <go.wigust@gmail.com>
 ;;; Copyright © 2019 Pierre Langlois <pierre.langlois@gmx.com>
 ;;; Copyright © 2019 Julien Lepiller <julien@lepiller.eu>
-;;; Copyright © 2019 Jesse Gibbons <jgibbons2357+guix@gmail.com>
+;;; Copyright © 2019, 2020 Jesse Gibbons <jgibbons2357+guix@gmail.com>
 ;;; Copyright © 2019 Dan Frumin <dfrumin@cs.ru.nl>
 ;;; Copyright © 2019, 2020 Guillaume Le Vaillant <glv@posteo.net>
 ;;; Copyright © 2019, 2020 Timotej Lazar <timotej.lazar@araneo.si>
@@ -5895,7 +5895,8 @@ with the mouse isn’t always trivial.")
                 "047sf00x71xbmi8bqrhfbmr9bk89l2gbykkqsfpw4wz6yfjscs6y"))))
     (build-system gnu-build-system)
     (arguments
-     `(#:tests? #f))                    ; no tests included
+     `(#:tests? #f                      ; no tests included
+       #:configure-flags '("CFLAGS=-fgnu89-inline"))) ; fix inlines
     (inputs
      `(("sdl-union" ,(sdl-union (list sdl sdl-image sdl-mixer sdl-ttf)))
        ("freetype" ,freetype)
-- 
2.27.0


  parent reply	other threads:[~2020-07-21 18:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-21  6:05 [bug#42453] [PATCH] gnu: chroma: Fix build Jesse Gibbons
2020-07-21 16:30 ` Ludovic Courtès
2020-07-21 18:56 ` Jesse Gibbons [this message]
2020-07-25  1:19   ` Brett Gilio

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c08ee7fe-3df7-bebf-05b3-2936d651156d@gmail.com \
    --to=jgibbons2357@gmail.com \
    --cc=42453@debbugs.gnu.org \
    /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 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).