mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
34
games-strategy/netpanzer/patches/netpanzer-0.8.6.patchset
Normal file
34
games-strategy/netpanzer/patches/netpanzer-0.8.6.patchset
Normal file
@@ -0,0 +1,34 @@
|
||||
From 40ea57fdd0aab9b658adf7c4584103789785dbd5 Mon Sep 17 00:00:00 2001
|
||||
From: Adrien Destugues <pulkomandy@gmail.com>
|
||||
Date: Thu, 11 Jun 2015 01:54:41 +0200
|
||||
Subject: Haiku hacks.
|
||||
|
||||
|
||||
diff --git a/SConstruct b/SConstruct
|
||||
index bb8279e..a61b0ad 100644
|
||||
--- a/SConstruct
|
||||
+++ b/SConstruct
|
||||
@@ -244,6 +244,7 @@ else:
|
||||
# note: for some magic reason, now doesn't need to put the full path for
|
||||
# SDL_mixer when using mingw crosscompilation
|
||||
env.Append( LIBS = ['SDL_mixer' ] )
|
||||
+ env.Append( LIBS = ['network' ] )
|
||||
|
||||
################################################################
|
||||
# Makes libs
|
||||
diff --git a/src/Lib/Network/SocketSet.hpp b/src/Lib/Network/SocketSet.hpp
|
||||
index 1cefe1f..1b9c730 100644
|
||||
--- a/src/Lib/Network/SocketSet.hpp
|
||||
+++ b/src/Lib/Network/SocketSet.hpp
|
||||
@@ -22,6 +22,8 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
#include "SocketBase.hpp"
|
||||
#include "Util/NoCopy.hpp"
|
||||
|
||||
+#include <sys/select.h>
|
||||
+
|
||||
namespace network
|
||||
{
|
||||
|
||||
--
|
||||
2.2.2
|
||||
|
||||
Reference in New Issue
Block a user