diff options
author | Ion-Mihai Tetcu <itetcu@FreeBSD.org> | 2008-05-06 19:50:55 +0000 |
---|---|---|
committer | Ion-Mihai Tetcu <itetcu@FreeBSD.org> | 2008-05-06 19:50:55 +0000 |
commit | e322edaf37fc4c3e8e1759cac6b0e93cfbefa0ed (patch) | |
tree | e5b3bd9c48f0595b734890355c506213358efd77 /archivers/par2cmdline-tbb/files/patch-md5.h | |
parent | - Update to v20080420 (diff) |
Add forgotten files in previous commit:
- Update to v20080420
- Do not use USE_AUTOTOOLS anymore, add GNU_CONFIGURE and CONFIGURE_ENV
- Patch patch-par2cmdline.h to make it build with the current version of tbb
(20080207)
PR: ports/123286
Submitted by: maintainer
Diffstat (limited to 'archivers/par2cmdline-tbb/files/patch-md5.h')
-rw-r--r-- | archivers/par2cmdline-tbb/files/patch-md5.h | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/archivers/par2cmdline-tbb/files/patch-md5.h b/archivers/par2cmdline-tbb/files/patch-md5.h new file mode 100644 index 000000000000..11d5313cca23 --- /dev/null +++ b/archivers/par2cmdline-tbb/files/patch-md5.h @@ -0,0 +1,47 @@ +--- md5.h.orig 2008-05-06 13:24:40.000000000 +0200 ++++ md5.h 2008-05-06 13:24:58.000000000 +0200 +@@ -38,11 +38,8 @@ + class MD5Hash + { + public: +- // removed this to stop GCC warnings about using the 'pack' attribute on +- // non-POD members in classes such as PACKET_HEADER: +- + // Constructor does not initialise the value +- //MD5Hash(void) {}; ++ MD5Hash(void) {}; + + // Comparison operators + bool operator==(const MD5Hash &other) const; +@@ -57,12 +54,9 @@ + friend ostream& operator<<(ostream &s, const MD5Hash &hash); + string print(void) const; + +- // removed these to stop GCC warnings about using the 'pack' attribute on +- // non-POD members in classes such as PACKET_HEADER: +- + // Copy and assignment +- //MD5Hash(const MD5Hash &other); +- //MD5Hash& operator=(const MD5Hash &other); ++ MD5Hash(const MD5Hash &other); ++ MD5Hash& operator=(const MD5Hash &other); + + public: + u8 hash[16]; // 16 byte MD5 Hash value +@@ -150,7 +144,7 @@ + return !other.operator<(*this); + } + +-/*inline MD5Hash::MD5Hash(const MD5Hash &other) ++inline MD5Hash::MD5Hash(const MD5Hash &other) + { + memcpy(&hash, &other.hash, sizeof(hash)); + } +@@ -160,6 +154,6 @@ + memcpy(&hash, &other.hash, sizeof(hash)); + + return *this; +-}*/ ++} + + #endif // __MD5_H__ |