diff options
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/qtella/files/patch-include::SHA1Storage.h | 11 | ||||
-rw-r--r-- | net-p2p/qtella/files/patch-include::sha1.h | 23 | ||||
-rw-r--r-- | net-p2p/qtella/files/patch-src::SHA1Storage.cpp | 6 |
3 files changed, 34 insertions, 6 deletions
diff --git a/net-p2p/qtella/files/patch-include::SHA1Storage.h b/net-p2p/qtella/files/patch-include::SHA1Storage.h new file mode 100644 index 000000000000..2be3e7ea9228 --- /dev/null +++ b/net-p2p/qtella/files/patch-include::SHA1Storage.h @@ -0,0 +1,11 @@ +--- include/SHA1Storage.h.orig Sun Jan 26 21:43:06 2003 ++++ include/SHA1Storage.h Sun Jan 26 21:41:40 2003 +@@ -7,7 +7,7 @@ + #include <qobject.h> + #include <qstring.h> + #include <qtimer.h> +-#include <stdint.h> ++#include <inttypes.h> + + #include "SharedFile.h" + diff --git a/net-p2p/qtella/files/patch-include::sha1.h b/net-p2p/qtella/files/patch-include::sha1.h new file mode 100644 index 000000000000..4428aecbc433 --- /dev/null +++ b/net-p2p/qtella/files/patch-include::sha1.h @@ -0,0 +1,23 @@ +--- include/sha1.h.orig Wed Oct 2 08:27:57 2002 ++++ include/sha1.h Mon Jan 27 17:24:25 2003 +@@ -5,7 +5,7 @@ + extern "C" { + #endif + +-#include <stdint.h> ++#include <inttypes.h> + /* + * If you do not have the ISO standard stdint.h header file, then you + * must typdef the following: +@@ -27,6 +27,11 @@ + }; + #endif + #define SHA1HashSize 20 ++ ++#include <osreldate.h> ++#if __FreeBSD_version < 500000 ++typedef uint32_t int_least16_t; ++#endif + + /* + * This structure will hold context information for the SHA-1 diff --git a/net-p2p/qtella/files/patch-src::SHA1Storage.cpp b/net-p2p/qtella/files/patch-src::SHA1Storage.cpp index f93283dbe069..350f45913092 100644 --- a/net-p2p/qtella/files/patch-src::SHA1Storage.cpp +++ b/net-p2p/qtella/files/patch-src::SHA1Storage.cpp @@ -1,11 +1,5 @@ --- src/SHA1Storage.cpp.orig Fri Dec 20 14:06:10 2002 +++ src/SHA1Storage.cpp Fri Dec 20 14:13:03 2002 -@@ -1,4 +1,4 @@ --#include <iostream.h> -+#include <iostream> - #include <qdir.h> - #include <qfile.h> - #include <qtextstream.h> @@ -100,7 +100,7 @@ QString *SHA1Storage::get(SharedFile *sf) { |