diff options
-rw-r--r-- | debian/patches/fix-new-task-notification.patch | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/debian/patches/fix-new-task-notification.patch b/debian/patches/fix-new-task-notification.patch index 88f006b..5549362 100644 --- a/debian/patches/fix-new-task-notification.patch +++ b/debian/patches/fix-new-task-notification.patch @@ -1,8 +1,8 @@ diff --git a/kern/task.c b/kern/task.c -index a11fb8e..3340ff0 100644 +index a11fb8e..46f83f8 100644 --- a/kern/task.c +++ b/kern/task.c -@@ -173,13 +173,10 @@ kern_return_t task_create( +@@ -173,13 +173,9 @@ kern_return_t task_create( snprintf (new_task->name, sizeof new_task->name, "%p", new_task); @@ -11,9 +11,10 @@ index a11fb8e..3340ff0 100644 - task_reference (parent_task); + if (new_task_notification != NULL) mach_notify_new_task (new_task_notification, - convert_task_to_port (new_task), - convert_task_to_port (parent_task)); +- convert_task_to_port (new_task), +- convert_task_to_port (parent_task)); - } ++ new_task, parent_task); ipc_task_enable(new_task); |