mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: wmfire: Fix build.
* gnu/packages/gnustep.scm (wmfire)[source]: Add patch. * gnu/packages/patches/wmfire-dont-inline-draw-fire.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. Change-Id: I3e937c5e9dbd8a5e2eebfd92213407d9477a47ab
This commit is contained in:
parent
ae1873558c
commit
d5d2963826
3 changed files with 36 additions and 1 deletions
33
gnu/packages/patches/wmfire-dont-inline-draw-fire.patch
Normal file
33
gnu/packages/patches/wmfire-dont-inline-draw-fire.patch
Normal file
|
@ -0,0 +1,33 @@
|
|||
https://sources.debian.org/data/main/w/wmfire/1.2.4-7/debian/patches/08_removed-inline-from-function-with-extern-linkage.patch
|
||||
|
||||
Description: remove inline from function with extern linkage
|
||||
Fixes FTBFS with gcc 9.
|
||||
Author: Jeremy Sowden <jeremy@azazel.net>
|
||||
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=925858
|
||||
Last-Update: 2019-06-22
|
||||
Forwarded: not-needed
|
||||
|
||||
---
|
||||
src/wmfire.c | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
--- a/src/wmfire.c
|
||||
+++ b/src/wmfire.c
|
||||
@@ -111,7 +111,7 @@
|
||||
void change_flame(int);
|
||||
GdkCursor *setup_cursor();
|
||||
void burn_spot(int, int, int);
|
||||
-inline void draw_fire(unsigned int);
|
||||
+void draw_fire(unsigned int);
|
||||
static void make_wmfire_dockapp();
|
||||
void read_config(int, char **);
|
||||
void do_help(void);
|
||||
@@ -504,7 +504,7 @@
|
||||
/* Draw fire */
|
||||
/******************************************/
|
||||
|
||||
-inline void
|
||||
+void
|
||||
draw_fire(unsigned int load)
|
||||
{
|
||||
int x, y, i, j;
|
Loading…
Add table
Add a link
Reference in a new issue