aboutsummaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2008-05-07 03:50:55 +0800
committeritetcu <itetcu@FreeBSD.org>2008-05-07 03:50:55 +0800
commitc8a26298d89789e4f9ba780a08f3c14698f884ab (patch)
tree4be8f414eae90756d5fe85bd11eb28c250d3777f /archivers
parentaaceb996883a2e5b1dbaa3103cbac81a379b6a64 (diff)
downloadfreebsd-ports-gnome-c8a26298d89789e4f9ba780a08f3c14698f884ab.tar.gz
freebsd-ports-gnome-c8a26298d89789e4f9ba780a08f3c14698f884ab.tar.zst
freebsd-ports-gnome-c8a26298d89789e4f9ba780a08f3c14698f884ab.zip
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')
-rw-r--r--archivers/par2cmdline-tbb/files/patch-md5.h47
-rw-r--r--archivers/par2cmdline-tbb/files/patch-par2cmdline.h11
2 files changed, 58 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__
diff --git a/archivers/par2cmdline-tbb/files/patch-par2cmdline.h b/archivers/par2cmdline-tbb/files/patch-par2cmdline.h
new file mode 100644
index 000000000000..44f922adc3a5
--- /dev/null
+++ b/archivers/par2cmdline-tbb/files/patch-par2cmdline.h
@@ -0,0 +1,11 @@
+--- par2cmdline.h.orig 2008-05-01 08:53:49.729467641 +0200
++++ par2cmdline.h 2008-05-01 08:54:02.616707220 +0200
+@@ -443,7 +443,7 @@
+ incrementing_parallel_while_with_max> >& w,
+ ITEM* item)
+ {
+- const size_t n = item->is_first() ? tbb::DetectNumberOfWorkers() : 1;
++ const size_t n = item->is_first() ? tbb::internal::DetectNumberOfWorkers() : 1;
+
+ bool res = false;
+ std::pair<bool, size_t> pr(w.increment_next_i());