From: David ‘Bombe’ Roden Date: Mon, 8 Mar 2010 17:27:39 +0000 (+0100) Subject: Try to fix patch. X-Git-Url: https://git.pterodactylus.net/?p=overlay.git;a=commitdiff_plain;h=8874ca3383090b9f57c0c4a37325a635dc8b1900 Try to fix patch. --- diff --git a/net-p2p/amule/Manifest b/net-p2p/amule/Manifest index 385b12e..481aefd 100644 --- a/net-p2p/amule/Manifest +++ b/net-p2p/amule/Manifest @@ -1,4 +1,4 @@ -AUX amule-2.2.6-remove-download-limit.patch 934 RMD160 f7ea6f606e72652900846601883ed65826d4a726 SHA1 b487e5b44ec06779ad5d63e77ea87e9e2633abfb SHA256 c48a0548cbba3af307533dda3815846307f0b197a4542379ea034214e86d1d95 +AUX amule-2.2.6-remove-download-limit.patch 1983 RMD160 1ae80526907a65b4619104d2ad20969b5a5a390a SHA1 b1b8bc2f667583ef76697da6acdbbd73aa5657e1 SHA256 b0413cefc83c1f6ea0f4f86b825349637996fc96cf46ec33373ac9038170657c AUX amuled.confd 409 RMD160 0e31c5aaa42c4ee2b6dfcd00afcde3b48b2d4299 SHA1 b5872943f5ec0ac41a7c054239a754f1f9669e09 SHA256 7af480fd6dd325ad66b37464417d4d89015a52722961d44da2e3f7990ac4959a AUX amuled.initd 1204 RMD160 d17d6b709f8b7eb91132804fa8a420b5f9499d14 SHA1 936566e113bb91cbc7cfe6803bf7b1d76b8cbadb SHA256 af51a7d148368b2ed3b9cc289e0831c95348dbda9b331360a5635af31b81ed7a AUX amuleweb.confd 830 RMD160 1921152543c6f327caf55087269cf0f277545764 SHA1 7800ad36f88a116ca4dcc7b68944b7acaf5877e1 SHA256 e0c4ad636011797618c31ce3d4d5d20ea689ecf6f3ad350fff5b1716c6009c4f diff --git a/net-p2p/amule/files/amule-2.2.6-remove-download-limit.patch b/net-p2p/amule/files/amule-2.2.6-remove-download-limit.patch index a9a3bed..b2f6db4 100644 --- a/net-p2p/amule/files/amule-2.2.6-remove-download-limit.patch +++ b/net-p2p/amule/files/amule-2.2.6-remove-download-limit.patch @@ -28,3 +28,32 @@ diff -Nur aMule-2.2.6-orig/src/Preferences.cpp aMule-2.2.6/src/Preferences.cpp } +diff -Nur aMule-2.2.6-orig/src/PrefsUnifiedDlg.cpp aMule-2.2.6/src/PrefsUnifiedDlg.cpp +--- aMule-2.2.6-orig/src/PrefsUnifiedDlg.cpp 2009-03-28 20:29:59.000000000 +0100 ++++ aMule-2.2.6/src/PrefsUnifiedDlg.cpp 2010-03-08 18:22:52.000000000 +0100 +@@ -1087,25 +1087,6 @@ + + void PrefsUnifiedDlg::OnRateLimitChanged( wxSpinEvent& event ) + { +- // Here we do immediate sainity checking of the up/down ratio, +- // so that the user can see if his choice is illegal +- +- // We only do checks if the rate is limited +- if ( event.GetPosition() != (int)UNLIMITED ) { +- wxSpinCtrl* dlrate = CastChild( IDC_MAXDOWN, wxSpinCtrl ); +- +- if ( event.GetPosition() < 4 ) { +- if ( ( event.GetPosition() * 3 < dlrate->GetValue() ) || +- ( dlrate->GetValue() == (int)UNLIMITED ) ) { +- dlrate->SetValue( event.GetPosition() * 3 ); +- } +- } else if ( event.GetPosition() < 10 ) { +- if ( ( event.GetPosition() * 4 < dlrate->GetValue() ) || +- ( dlrate->GetValue() == (int)UNLIMITED ) ) { +- dlrate->SetValue( event.GetPosition() * 4 ); +- } +- } +- } + } + +