diff options
Diffstat (limited to 'debian/patches/libpager_update_seqno.patch')
| -rw-r--r-- | debian/patches/libpager_update_seqno.patch | 47 |
1 files changed, 25 insertions, 22 deletions
diff --git a/debian/patches/libpager_update_seqno.patch b/debian/patches/libpager_update_seqno.patch index ec77ad19..6246e8a1 100644 --- a/debian/patches/libpager_update_seqno.patch +++ b/debian/patches/libpager_update_seqno.patch @@ -12,9 +12,15 @@ * stubs.c (_pager_seqnos_memory_object_data_write): Likewise. (_pager_seqnos_memory_object_supply_completed): Likewise. -diff -dur libpager.orig/notify-stubs.c libpager/notify-stubs.c ---- libpager.orig/notify-stubs.c 1995-06-22 18:01:46.000000000 +0200 -+++ libpager/notify-stubs.c 2005-08-10 15:56:52.000000000 +0200 +--- + libpager/notify-stubs.c | 6 ++++++ + libpager/priv.h | 1 + + libpager/seqnos.c | 22 ++++++++++++++++++++++ + libpager/stubs.c | 9 +++++++++ + 4 files changed, 38 insertions(+) + +--- a/libpager/notify-stubs.c ++++ b/libpager/notify-stubs.c @@ -18,6 +18,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. */ @@ -23,7 +29,7 @@ diff -dur libpager.orig/notify-stubs.c libpager/notify-stubs.c #include "notify_S.h" #include <errno.h> -@@ -29,6 +30,7 @@ +@@ -29,6 +30,7 @@ _pager_do_seqnos_mach_notify_port_delete mach_port_t name __attribute__ ((unused))) { @@ -31,7 +37,7 @@ diff -dur libpager.orig/notify-stubs.c libpager/notify-stubs.c return 0; } -@@ -40,6 +42,7 @@ +@@ -40,6 +42,7 @@ _pager_do_seqnos_mach_notify_msg_accepte mach_port_t name __attribute__ ((unused))) { @@ -39,7 +45,7 @@ diff -dur libpager.orig/notify-stubs.c libpager/notify-stubs.c return 0; } -@@ -51,6 +54,7 @@ +@@ -51,6 +54,7 @@ _pager_do_seqnos_mach_notify_port_destro mach_port_t name __attribute__ ((unused))) { @@ -47,7 +53,7 @@ diff -dur libpager.orig/notify-stubs.c libpager/notify-stubs.c return 0; } -@@ -60,6 +64,7 @@ +@@ -60,6 +64,7 @@ _pager_do_seqnos_mach_notify_send_once ( mach_port_seqno_t seqno __attribute__ ((unused))) { @@ -55,17 +61,16 @@ diff -dur libpager.orig/notify-stubs.c libpager/notify-stubs.c return 0; } -@@ -71,5 +76,6 @@ +@@ -71,5 +76,6 @@ _pager_do_seqnos_mach_notify_dead_name ( mach_port_t name __attribute__ ((unused))) { + _pager_stubs_update_seqno (notify, seqno); return 0; } -diff -dur libpager.orig/priv.h libpager/priv.h ---- libpager.orig/priv.h 2000-07-25 21:40:27.000000000 +0200 -+++ libpager/priv.h 2005-08-10 15:56:52.000000000 +0200 -@@ -133,6 +133,7 @@ +--- a/libpager/priv.h ++++ b/libpager/priv.h +@@ -134,6 +134,7 @@ struct port_class *_pager_class; void _pager_wait_for_seqno (struct pager *, int); void _pager_release_seqno (struct pager *, int); @@ -73,10 +78,9 @@ diff -dur libpager.orig/priv.h libpager/priv.h void _pager_block_termination (struct pager *); void _pager_allow_termination (struct pager *); error_t _pager_pagemap_resize (struct pager *, vm_address_t); -diff -dur libpager.orig/seqnos.c libpager/seqnos.c ---- libpager.orig/seqnos.c 1994-06-01 18:57:29.000000000 +0200 -+++ libpager/seqnos.c 2005-08-10 16:37:11.000000000 +0200 -@@ -47,3 +47,25 @@ +--- a/libpager/seqnos.c ++++ b/libpager/seqnos.c +@@ -47,3 +47,25 @@ _pager_release_seqno (struct pager *p, condition_broadcast (&p->wakeup); } } @@ -102,10 +106,9 @@ diff -dur libpager.orig/seqnos.c libpager/seqnos.c + } +} + -diff -dur libpager.orig/stubs.c libpager/stubs.c ---- libpager.orig/stubs.c 1994-07-22 17:55:06.000000000 +0200 -+++ libpager/stubs.c 2005-08-10 15:56:52.000000000 +0200 -@@ -29,6 +29,9 @@ +--- a/libpager/stubs.c ++++ b/libpager/stubs.c +@@ -29,6 +29,9 @@ _pager_seqnos_memory_object_copy (mach_p mach_port_t new) { printf ("m_o_copy called\n"); @@ -115,7 +118,7 @@ diff -dur libpager.orig/stubs.c libpager/stubs.c return EOPNOTSUPP; } -@@ -41,6 +44,9 @@ +@@ -41,6 +44,9 @@ _pager_seqnos_memory_object_data_write ( vm_size_t data_cnt) { printf ("m_o_data_write called\n"); @@ -125,7 +128,7 @@ diff -dur libpager.orig/stubs.c libpager/stubs.c return EOPNOTSUPP; } -@@ -54,6 +60,9 @@ +@@ -54,6 +60,9 @@ _pager_seqnos_memory_object_supply_compl vm_offset_t err_off) { printf ("m_o_supply_completed called\n"); |
