File: fixes.patch

package info (click to toggle)
tatan 1.0.dfsg2-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 2,668 kB
  • sloc: xml: 57; makefile: 25
file content (27 lines) | stat: -rw-r--r-- 527 bytes parent folder | download | duplicates (5)
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
# Copyright (C) 2007  Marcel Unbehaun <frostworks@gmx.de>
# Distributed under the same license as the game. See debian/copyright.

--- a/src/br/boot.d
+++ b/src/br/boot.d
@@ -7,6 +7,8 @@
 private Key key;
 private Mouse mouse;
 
+version (Win32_release) {
+
 private:
 import std.c.windows.windows;
 
@@ -38,6 +40,12 @@
 	gc_term();
 	return result;
 }
+} else {
+  // Boot as the general executable.
+  public int main(char[][] args) {
+    return user_start();
+  }
+}
 
 int user_start(){
 	double d;