unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#42453] [PATCH] gnu: chroma: Fix build.
@ 2020-07-21  6:05 Jesse Gibbons
  2020-07-21 16:30 ` Ludovic Courtès
  2020-07-21 18:56 ` Jesse Gibbons
  0 siblings, 2 replies; 4+ messages in thread
From: Jesse Gibbons @ 2020-07-21  6:05 UTC (permalink / raw)
  To: 42453

* 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)




^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#42453] [PATCH] gnu: chroma: Fix build.
  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
  1 sibling, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2020-07-21 16:30 UTC (permalink / raw)
  To: Jesse Gibbons; +Cc: 42453

Hi,

Jesse Gibbons <jgibbons2357@gmail.com> skribis:

> * 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

Looks like your email client mangled the patch, probably due to
“format=flowed”.

Could you try sending it with ‘git send-email’ or as an attachment, to
42453@debbugs.gnu.org?

TIA!

Ludo’.




^ permalink raw reply	[flat|nested] 4+ messages in thread

* [bug#42453] [PATCH] gnu: chroma: Fix build.
  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
  2020-07-25  1:19   ` Brett Gilio
  1 sibling, 1 reply; 4+ messages in thread
From: Jesse Gibbons @ 2020-07-21 18:56 UTC (permalink / raw)
  To: 42453

[-- 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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#42453] [PATCH] gnu: chroma: Fix build.
  2020-07-21 18:56 ` Jesse Gibbons
@ 2020-07-25  1:19   ` Brett Gilio
  0 siblings, 0 replies; 4+ messages in thread
From: Brett Gilio @ 2020-07-25  1:19 UTC (permalink / raw)
  To: Jesse Gibbons; +Cc: 42453

Jesse Gibbons <jgibbons2357@gmail.com> writes:

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

Hi Jesse!

Thanks for submitting the unmangled patch! I have reviewed it and pushed
it to master with 982a6e79a2d674ea905e2c63c2378b9df7d64af6. Along with
the push I revised the git commit message and sub-header to be more
descriptive. Thank you, again!

Brett Gilio




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-07-25  1:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2020-07-25  1:19   ` Brett Gilio

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).