commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] Debian GNU Hurd packaging branch, master, updated. debian/20100829


From: Samuel Thibault
Subject: [SCM] Debian GNU Hurd packaging branch, master, updated. debian/20100829-1-88-g96d022b
Date: Tue, 28 Sep 2010 09:15:05 +0000

The following commit has been merged in the master branch:
commit 8634b937bca08b6a07f62c512e22366a51e8a0db
Author: Samuel Thibault <address@hidden>
Date:   Mon Sep 27 08:05:37 2010 +0000

    Disable usage of proc_getnports
    
      * debian/patches/disable-proc_getnports.patch: New patch to disable
        usage of proc_getnports until libc0.3 provides it.

diff --git a/debian/changelog b/debian/changelog
index b52af6f..f9f61e3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,8 @@ hurd (20100926-1) unreleased; urgency=low
   * debian/local/runsystem: Do not start the Hurd console if the TERM variable
     is given.  Should permit mach-console install for better debugging as well
     as Xen or sub-hurd support.
+  * debian/patches/disable-proc_getnports.patch: New patch to disable
+    usage of proc_getnports until libc0.3 provides it.
 
   [ Jeremie Koenig ]
   * debian/patches/libpthread_sigmask.patch: New patch to fix missed signals
diff --git a/debian/patches/disable-proc_getnports.patch 
b/debian/patches/disable-proc_getnports.patch
new file mode 100644
index 0000000..d877683
--- /dev/null
+++ b/debian/patches/disable-proc_getnports.patch
@@ -0,0 +1,16 @@
+diff --git a/libps/procstat.c b/libps/procstat.c
+index eac4ae4..55d5b7e 100644
+--- a/libps/procstat.c
++++ b/libps/procstat.c
+@@ -990,9 +990,11 @@ proc_stat_set_flags (struct proc_stat *ps, ps_flags_t 
flags)
+     if (ps_context_find_tty_by_cttyid (ps->context, ps->cttyid, &ps->tty) == 
0)
+       have |= PSTAT_TTY;
+ 
++#if 0
+   /* The number of Mach ports in the task. */
+   MGET (PSTAT_NUM_PORTS, PSTAT_PID,
+         proc_getnports (server, ps->pid, &ps->num_ports));
++#endif
+ 
+   /* Update PS's flag state.  We haven't tried user flags yet, so don't mark
+      them as having failed.  We do this before checking user bits so that the
diff --git a/debian/patches/series b/debian/patches/series
index d7a3ad6..bbd12b7 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -26,3 +26,4 @@ makedev_keep_options.patch
 makedev_parted_store.patch
 console_ignore_bdf_err.patch
 libpthread_sigmask.patch
+disable-proc_getnports.patch

-- 
Debian GNU Hurd packaging



reply via email to

[Prev in Thread] Current Thread [Next in Thread]