summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2006-05-07 10:33:32 +0000
committerSven Wegener <swegener@gentoo.org>2006-05-07 10:33:32 +0000
commit0523508f6df8cd5e1e47127b8c261f85948db893 (patch)
tree82a6771858ed7c99b88b379aa923ebaf9400e954 /net-nntp/nzbget/files
parentStable on ppc64 (diff)
downloadgentoo-2-0523508f6df8cd5e1e47127b8c261f85948db893.tar.gz
gentoo-2-0523508f6df8cd5e1e47127b8c261f85948db893.tar.bz2
gentoo-2-0523508f6df8cd5e1e47127b8c261f85948db893.zip
Fix building with gcc-4.1 and include order when debugging is enabled, bug #131282.
(Portage version: 2.1_pre10-r3)
Diffstat (limited to 'net-nntp/nzbget/files')
-rw-r--r--net-nntp/nzbget/files/0.2.3-gcc41.patch12
-rw-r--r--net-nntp/nzbget/files/0.2.3-include-order.patch15
-rw-r--r--net-nntp/nzbget/files/digest-nzbget-0.2.22
-rw-r--r--net-nntp/nzbget/files/digest-nzbget-0.2.32
4 files changed, 31 insertions, 0 deletions
diff --git a/net-nntp/nzbget/files/0.2.3-gcc41.patch b/net-nntp/nzbget/files/0.2.3-gcc41.patch
new file mode 100644
index 000000000000..ce2caebc9eab
--- /dev/null
+++ b/net-nntp/nzbget/files/0.2.3-gcc41.patch
@@ -0,0 +1,12 @@
+diff -ur nzbget-0.2.3-orig/ArticleDownloader.cpp nzbget-0.2.3/ArticleDownloader.cpp
+--- nzbget-0.2.3-orig/ArticleDownloader.cpp 2006-05-02 01:18:35.127138980 +0000
++++ nzbget-0.2.3/ArticleDownloader.cpp 2006-05-02 01:18:50.731853304 +0000
+@@ -184,7 +184,7 @@
+ line = pConnection->ReadLine();
+
+ // Have we encountered a timeout?
+- if( (int)line == EOF )
++ if( (long)line == EOF )
+ {
+ perror( "pConnection->ReadLine() encountered error" );
+ m_pJob->SetStatus(JOBSTATUS_FAILED);
diff --git a/net-nntp/nzbget/files/0.2.3-include-order.patch b/net-nntp/nzbget/files/0.2.3-include-order.patch
new file mode 100644
index 000000000000..9ec88afe682b
--- /dev/null
+++ b/net-nntp/nzbget/files/0.2.3-include-order.patch
@@ -0,0 +1,15 @@
+diff -Nur nzbget-0.2.3.orig/global.cpp nzbget-0.2.3/global.cpp
+--- nzbget-0.2.3.orig/global.cpp 2005-09-02 07:00:41.000000000 +0000
++++ nzbget-0.2.3/global.cpp 2006-05-07 10:21:34.604571751 +0000
+@@ -23,10 +23,10 @@
+ */
+
+
++#include "config.h"
+ #include "Frontend.h"
+ #include "Options.h"
+ #include "global.h"
+-#include "config.h"
+ #include "GlobalControl.h"
+
+ #include <stdarg.h>
diff --git a/net-nntp/nzbget/files/digest-nzbget-0.2.2 b/net-nntp/nzbget/files/digest-nzbget-0.2.2
index f90cd80a2434..2007e83420d1 100644
--- a/net-nntp/nzbget/files/digest-nzbget-0.2.2
+++ b/net-nntp/nzbget/files/digest-nzbget-0.2.2
@@ -1 +1,3 @@
MD5 377baa033ea8be97422034fd6b3179d6 nzbget-0.2.2.tar.gz 191998
+RMD160 56cbf77ecf8fa54ad12c930f48d750adf5830106 nzbget-0.2.2.tar.gz 191998
+SHA256 4d9773c82eb6b9029e7e40c58fe41c4f89a1ea41b2dfa9f8a7aba8c631365639 nzbget-0.2.2.tar.gz 191998
diff --git a/net-nntp/nzbget/files/digest-nzbget-0.2.3 b/net-nntp/nzbget/files/digest-nzbget-0.2.3
index bbe24d4a2516..164832939023 100644
--- a/net-nntp/nzbget/files/digest-nzbget-0.2.3
+++ b/net-nntp/nzbget/files/digest-nzbget-0.2.3
@@ -1 +1,3 @@
MD5 25554537c7641bd36f573a5f7c89b449 nzbget-0.2.3.tar.gz 202660
+RMD160 3d519bc0f8aff5e03b52edb16509954e020285b6 nzbget-0.2.3.tar.gz 202660
+SHA256 9bedeb890f7ef49d466f95d76ffea1d4d22788d6dc760c96c6433bff3ff1f6b6 nzbget-0.2.3.tar.gz 202660