summaryrefslogtreecommitdiff
path: root/graphics/clanlib/patches/patch-af
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/clanlib/patches/patch-af')
-rw-r--r--graphics/clanlib/patches/patch-af27
1 files changed, 0 insertions, 27 deletions
diff --git a/graphics/clanlib/patches/patch-af b/graphics/clanlib/patches/patch-af
deleted file mode 100644
index 92a8563e600..00000000000
--- a/graphics/clanlib/patches/patch-af
+++ /dev/null
@@ -1,27 +0,0 @@
-$NetBSD: patch-af,v 1.5 2001/12/05 04:56:21 jlam Exp $
---- Sources/Core/System/Unix/mutex_pthread.cpp.orig Thu Dec 14 18:45:06 2000
-+++ Sources/Core/System/Unix/mutex_pthread.cpp Thu Dec 14 18:45:11 2000
-@@ -21,7 +21,11 @@
- // suck:
- extern "C"
- {
-+#ifndef _PTH_PTHREAD_H_
- int pthread_mutexattr_setkind_np(pthread_mutexattr_t *attr, int kind);
-+#else
-+ int pthread_mutexattr_settype(pthread_mutexattr_t *attr, int kind);
-+#endif
- }
-
- CL_Mutex *CL_Mutex::create()
-@@ -33,7 +37,11 @@
- {
- pthread_mutexattr_t attr;
- pthread_mutexattr_init(&attr);
-+#ifndef _PTH_PTHREAD_H_
- pthread_mutexattr_setkind_np(&attr, PTHREAD_MUTEX_RECURSIVE_NP);
-+#else
-+ pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
-+#endif
- pthread_mutex_init(&mutex, &attr);
- pthread_mutexattr_destroy(&attr);
-