File: gcc10.patch

package info (click to toggle)
phlipple 0.8.5-5.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 3,964 kB
  • sloc: ansic: 5,465; sh: 1,032; makefile: 206
file content (17 lines) | stat: -rw-r--r-- 447 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Author: Reiner Herrmann <reiner@reiner-h.de>
Description: Fix FTBFS with GCC 10
 remove unused debugOutput variable, which caused a linker error as
 it was declared in multiple places where the header was included.
Bug-Debian: https://bugs.debian.org/957680

--- a/src/engine.h
+++ b/src/engine.h
@@ -44,8 +44,6 @@
 
 #define VERTEX_DRAW_INNER_OFFSET 	0.15f
 
-char debugOutput[1024];
-
 #include "renderstate.h"
 
 struct _PhlippleEngine