diff options
author | Kubilay Kocak <koobs@FreeBSD.org> | 2014-07-26 11:04:33 +0000 |
---|---|---|
committer | Kubilay Kocak <koobs@FreeBSD.org> | 2014-07-26 11:04:33 +0000 |
commit | e529e3cce42b10f3a6b2321abed588d6c89e22d1 (patch) | |
tree | 89818904cf183a9db9434a7c0935651cfd4981a8 /games/odamex/files/patch-odalaunch-src-dlg_main.cpp | |
parent | databases/py-Pyrseas: Unbreak (diff) |
games/odamex: Update to 0.7.0, New MAINTAINER
- Update to 0.7.0
- Assign MAINTAINER
- Update COMMENT
- Add LICENSE & LICENSE_FILE
- Sort OPTIONS
- Convert USE_BZIP to USES= convention
- Update wxWidgets dependency to 3+
- Add patch to address assertions [1]
[1] http://odamex.net/bugs/show_bug.cgi?id=1106
PR: 190843
Submitted by: Carlos Medina <cjpugmed at gmail dot com>
Diffstat (limited to 'games/odamex/files/patch-odalaunch-src-dlg_main.cpp')
-rw-r--r-- | games/odamex/files/patch-odalaunch-src-dlg_main.cpp | 33 |
1 files changed, 29 insertions, 4 deletions
diff --git a/games/odamex/files/patch-odalaunch-src-dlg_main.cpp b/games/odamex/files/patch-odalaunch-src-dlg_main.cpp index ce175729f1f2..277cafd3d244 100644 --- a/games/odamex/files/patch-odalaunch-src-dlg_main.cpp +++ b/games/odamex/files/patch-odalaunch-src-dlg_main.cpp @@ -1,11 +1,36 @@ ---- odalaunch/src/dlg_main.cpp.orig 2012-05-31 03:49:32.000000000 +0400 -+++ odalaunch/src/dlg_main.cpp 2012-12-03 21:21:50.000000000 +0400 -@@ -193,7 +193,7 @@ +--- odalaunch/src/dlg_main.cpp.orig 2013-11-29 02:22:10.000000000 +0100 ++++ odalaunch/src/dlg_main.cpp 2014-07-19 17:50:52.000000000 +0200 +@@ -1,7 +1,7 @@ + // Emacs style mode select -*- C++ -*- + //----------------------------------------------------------------------------- + // +-// $Id: dlg_main.cpp 4376 2013-11-29 01:22:10Z russellrice $ ++// $Id: dlg_main.cpp 4996 2014-06-11 04:26:49Z hypereye $ + // + // Copyright (C) 2006-2012 by The Odamex Team. + // +@@ -208,7 +208,7 @@ launchercfg_s.get_list_on_start = 1; launchercfg_s.show_blocked_servers = 0; launchercfg_s.wad_paths = wxGetCwd(); - launchercfg_s.odamex_directory = wxGetCwd(); -+ launchercfg_s.odamex_directory = wxString("%%PREFIX%%/bin"); ++ launchercfg_s.odamex_directory = wxString("/usr/local/bin"); m_LstCtrlServers = XRCCTRL(*this, "Id_LstCtrlServers", LstOdaServerList); m_LstCtrlPlayers = XRCCTRL(*this, "Id_LstCtrlPlayers", LstOdaPlayerList); +@@ -383,6 +383,7 @@ + wxFileConfig ConfigInfo; + wxInt32 ServerTimeout; + Server tmp_server; ++ odalpapi::BufferedSocket socket; + wxString server_hash; + wxString ped_hash; + wxString ped_result; +@@ -455,6 +456,7 @@ + } + + // Query the server and try to acquire its password hash ++ tmp_server.SetSocket(&socket); + tmp_server.SetAddress(wxstr_tostdstr(IPHost), Port); + tmp_server.Query(ServerTimeout); + |