openbsd-ports/net/amule/patches/patch-src_Preferences_cpp
dcoppa dc814c74e9 Fix a couple of crashers:
fix crash on truncated statistics.dat
(upstream git commit 5e3682f7efed13eb52e4358a2d91b0e381334120)

fix amuleweb crash on CProgressImage::CreateSpan
(upstream git commit 846dcf92ce64fd42caf8a86d644fe3a3f4683d09)

And:

fix showing of shared files to other clients
(upstream git commit 4e40aecb160baac72aa28a8a4c7aaf19261e051f)

change nodes.dat default download URL to something actually working
(upstream git commit 8dbe597539bcac7272ccf4d46790fde814aeded1)
2012-02-22 07:54:26 +00:00

28 lines
1.3 KiB
Plaintext

$OpenBSD: patch-src_Preferences_cpp,v 1.3 2012/02/22 07:54:26 dcoppa Exp $
Disable checking for new versions at startup.
Change nodes.dat default download URL to something actually working
(upstream git commit 8dbe597539bcac7272ccf4d46790fde814aeded1)
--- src/Preferences.cpp.orig Sun Oct 9 02:19:08 2011
+++ src/Preferences.cpp Tue Feb 21 15:58:53 2012
@@ -1210,7 +1210,7 @@ void CPreferences::BuildItemList( const wxString& appd
/**
* Version check
**/
- NewCfgItem(IDC_NEWVERSION, (new Cfg_Bool( wxT("/eMule/NewVersionCheck"), s_NewVersionCheck, true )));
+ NewCfgItem(IDC_NEWVERSION, (new Cfg_Bool( wxT("/eMule/NewVersionCheck"), s_NewVersionCheck, false )));
/**
* Obfuscation
@@ -1244,7 +1244,7 @@ void CPreferences::BuildItemList( const wxString& appd
s_MiscList.push_back( new Cfg_Bool( wxT("/eMule/DropSlowSources"), s_DropSlowSources, false ) );
- s_MiscList.push_back( new Cfg_Str( wxT("/eMule/KadNodesUrl"), s_KadURL, wxT("http://download.tuxfamily.org/technosalad/utils/nodes.dat") ) );
+ s_MiscList.push_back( new Cfg_Str( wxT("/eMule/KadNodesUrl"), s_KadURL, wxT("http://upd.emule-security.org/nodes.dat") ) );
s_MiscList.push_back( new Cfg_Str( wxT("/eMule/Ed2kServersUrl"), s_Ed2kURL, wxT("http://gruk.org/server.met.gz") ) );
s_MiscList.push_back( MkCfg_Int( wxT("/eMule/ShowRatesOnTitle"), s_showRatesOnTitle, 0 ));