File: gcc.patch

package info (click to toggle)
late 0.1.0-15
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,560 kB
  • sloc: cpp: 3,100; sh: 3,003; ansic: 164; makefile: 106
file content (23 lines) | stat: -rw-r--r-- 568 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Debian Games Team <pkg-games-devel@lists.alioth.debian.org>
Date: Sun, 17 Apr 2016 07:10:03 +0200
Subject: gcc

#! /bin/sh /usr/share/dpatch/dpatch-run
## gcc.dpatch by Martin Michlmayr <tbm@cyrius.com>
## DP: Patch for gcc4.
---
 src/init.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/init.cpp b/src/init.cpp
index 8a1b03f..da3e9ca 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -24,6 +24,7 @@
 #include "graphics.h"
 #include "arch.h"
 #include "scorescreen.h"
+#include <cstdlib>
 #include <fstream>
 #include <iostream>
 using namespace std;