Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-CommonUtilitiesLib_Task.h,v 1.1 2013/03/24 16:51:07 joerg Exp $
--- CommonUtilitiesLib/Task.h.orig 2005-05-27 04:07:59.000000000 +0000
+++ CommonUtilitiesLib/Task.h
@@ -116,7 +116,7 @@ class Task
fUseThisThread = (TaskThread*)OSThread::GetCurrent();
Assert(fUseThisThread != NULL);
if (TASK_DEBUG) if (fTaskName[0] == 0) ::strcpy(fTaskName, " corrupt task");
- if (TASK_DEBUG) qtss_printf("Task::ForceSameThread fUseThisThread %lu task %s enque elem=%lu enclosing %lu\n", (UInt32)fUseThisThread, fTaskName,(UInt32) &fTaskQueueElem,(UInt32) this);
+ if (TASK_DEBUG) qtss_printf("Task::ForceSameThread fUseThisThread %lu task %s enque elem=%lu enclosing %lu\n", (UInt32)(uintptr_t)fUseThisThread, fTaskName,(UInt32)(uintptr_t) &fTaskQueueElem,(UInt32)(uintptr_t) this);
}
SInt64 CallLocked() { ForceSameThread();
fWriteLock = true;