Package: ucblogo / 6.0+dfsg-2

fix_ftbfs.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
From: Adam Borowski <kilobyte@angband.pl>
Date: Sun, 10 Apr 2016 17:59:02 +0200
Subject: glibc 2.22

Fix FTBFS with glibc 2.22

Bug-Debian: https://bugs.debian.org/811956
---
 coms.c     | 2 +-
 graphics.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/coms.c b/coms.c
index 3477af9..759b56e 100644
--- a/coms.c
+++ b/coms.c
@@ -25,9 +25,9 @@ extern int check_wx_stop(int force_yield);
 #endif
 
 #define WANT_EVAL_REGS 1
+#include <math.h>
 #include "logo.h"
 #include "globals.h"
-#include <math.h>
 #ifdef HAVE_UNISTD_H
 #include <unistd.h>
 #endif
diff --git a/graphics.c b/graphics.c
index 4632db2..2f81169 100644
--- a/graphics.c
+++ b/graphics.c
@@ -24,9 +24,9 @@
 #endif /* WIN32 */
  
 #define WANT_EVAL_REGS 1
+#include <math.h>
 #include "logo.h"
 /*   #include "globals.h"   has been moved further down */
-#include <math.h>
 
 #ifdef HAVE_WX
 #include "wxGraphics.h"