1
0
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:
Kirill Ponomarev 2005-01-27 18:22:37 +00:00
parent 8c4a1a4732
commit e02c7f2ab7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=127490
3 changed files with 43 additions and 0 deletions

View 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"

View 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"
/******************************************************************************************

View 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 ];