summaryrefslogtreecommitdiff
path: root/graphics/aeskulap/files/patch-dcmtk-ofstd-include_ofthread.h
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2010-08-24 09:02:03 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2010-08-24 09:02:03 +0000
commita6391c84b91b01d1b7a6577a66d43c8d453dc769 (patch)
tree96017358e29e2f171cf1597ddddbc46eb7198683 /graphics/aeskulap/files/patch-dcmtk-ofstd-include_ofthread.h
parent- Update to 2.0.16 (diff)
- Do not depend on external dcmtk library; use internal one.
Aeskulap segfaults on startup when linked with an external dcmtk library. I prefer this workaround, until a solution is found. - Bump PORTREVISION
Notes
Notes: svn path=/head/; revision=259894
Diffstat (limited to 'graphics/aeskulap/files/patch-dcmtk-ofstd-include_ofthread.h')
-rw-r--r--graphics/aeskulap/files/patch-dcmtk-ofstd-include_ofthread.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/graphics/aeskulap/files/patch-dcmtk-ofstd-include_ofthread.h b/graphics/aeskulap/files/patch-dcmtk-ofstd-include_ofthread.h
new file mode 100644
index 000000000000..159fd460ff70
--- /dev/null
+++ b/graphics/aeskulap/files/patch-dcmtk-ofstd-include_ofthread.h
@@ -0,0 +1,37 @@
+--- dcmtk/ofstd/include/ofthread.h.orig 2010-08-23 16:28:30.000000000 +0200
++++ dcmtk/ofstd/include/ofthread.h 2010-08-23 16:33:06.000000000 +0200
+@@ -118,14 +118,14 @@
+ * provided in this class.
+ * @return thread ID of target thread if started, 0 otherwise.
+ */
+- unsigned long threadID();
++ pthread_t threadID();
+
+ /** checks if the given thread ID matches the thread ID of the thread
+ * referenced by this object.
+ * @param tID thread ID to be compared
+ * @return OFTrue if equal, OFFalse otherwise.
+ */
+- OFBool equal(unsigned long tID);
++ OFBool equal(pthread_t tID);
+
+ /** converts any of the error codes returned by the methods of this class
+ * into a textual description, which is written into the string object.
+@@ -158,7 +158,7 @@
+ * provided in this class.
+ * @return thread ID of the calling thread.
+ */
+- static unsigned long self();
++ static pthread_t self();
+
+ private:
+
+@@ -177,7 +177,7 @@
+ #endif
+
+ /** thread identifier */
+- unsigned long theThread;
++ pthread_t theThread;
+
+ /** unimplemented private copy constructor */
+ OFThread(const OFThread& arg);