summaryrefslogtreecommitdiff
path: root/games-sports/gracer/files/gracer-0.1.5-gcc10.patch
diff options
context:
space:
mode:
Diffstat (limited to 'games-sports/gracer/files/gracer-0.1.5-gcc10.patch')
-rw-r--r--games-sports/gracer/files/gracer-0.1.5-gcc10.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/games-sports/gracer/files/gracer-0.1.5-gcc10.patch b/games-sports/gracer/files/gracer-0.1.5-gcc10.patch
new file mode 100644
index 000000000000..a7539248e50d
--- /dev/null
+++ b/games-sports/gracer/files/gracer-0.1.5-gcc10.patch
@@ -0,0 +1,14 @@
+Fix -fno-common
+
+diff -r c259e312716e vehicle.h
+--- a/src/vehicle.h Sat Oct 03 12:42:08 2020 +0000
++++ b/src/vehicle.h Sat Oct 03 12:44:13 2020 +0000
+@@ -70,7 +70,7 @@
+
+ /* constants */
+ float mu[128]; /* friction factor */
+-} GrBreak;
++};
+
+ struct _GrTireData {
+ GrRef ref;