mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-22 20:41:26 +00:00
Fix build on 4.x
This commit is contained in:
parent
8c4a1a4732
commit
e02c7f2ab7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=127490
14
games/highmoon/files/patch-galaxy.cpp
Normal file
14
games/highmoon/files/patch-galaxy.cpp
Normal file
@ -0,0 +1,14 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- galaxy.cpp.orig
|
||||
+++ galaxy.cpp
|
||||
@@ -24,7 +24,7 @@
|
||||
******************************************************************************************/
|
||||
|
||||
#include <cmath>
|
||||
-
|
||||
+#include <time.h>
|
||||
#include "galaxy.hpp"
|
||||
#include "sound.hpp"
|
||||
|
15
games/highmoon/files/patch-graphics.hpp
Normal file
15
games/highmoon/files/patch-graphics.hpp
Normal file
@ -0,0 +1,15 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- graphics.hpp.orig
|
||||
+++ graphics.hpp
|
||||
@@ -30,7 +30,8 @@
|
||||
#define __GRAPHICS_HPP__
|
||||
|
||||
#include <SDL.h>
|
||||
-
|
||||
+#include <sstream>
|
||||
+#include <string>
|
||||
#include "constants.hpp"
|
||||
|
||||
/******************************************************************************************
|
14
games/highmoon/files/patch-sound.cpp
Normal file
14
games/highmoon/files/patch-sound.cpp
Normal file
@ -0,0 +1,14 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- sound.cpp.orig
|
||||
+++ sound.cpp
|
||||
@@ -24,7 +24,7 @@
|
||||
******************************************************************************************/
|
||||
|
||||
#include <iostream>
|
||||
-
|
||||
+#include <stdlib.h>
|
||||
#include "sound.hpp"
|
||||
|
||||
Soundset::Sample Soundset::sounds[ NUMBEROFCHANNELS ];
|
Loading…
Reference in New Issue
Block a user