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

Bug#652128: procps: FTBFS on hurd-i386 and kfreebsd-any



Source: procps
Version: 3.3.1-1
Severity: important
Tags: patch
User: debian-hurd@lists.debian.org
Usertags: hurd, kfreebsd


Hi,

procps currently FTBFS on GNU/Hurd and GNU/kFreeBSD due to a missing
update of the debian/procps.install.hurd and
debian/procps.install.kfreebsd files.

Additionally, on GNU/Hurd SIGRTMAX is not defined in .../signal.h but
the equivalent definition _NSIG is defined in .../signum.h.

diff -ur procps-3.3.1/debian/procps.install.hurd procps-3.3.1.modified/debian/procps.install.hurd
--- procps-3.3.1/debian/procps.install.hurd	2011-12-06 11:50:23.000000000 +0100
+++ procps-3.3.1.modified/debian/procps.install.hurd	2011-12-14 23:18:11.000000000 +0100
@@ -1,5 +1,4 @@
-# Files to install for non-kfreebsd and non-hurd systems
-# I think that just means linux
-proc/libproc-ng-*.so lib
+# Files to install for hurd systems
+usr/lib/libproc-ng-*.so lib
 bin/*
 usr/bin/*
diff -ur procps-3.3.1/debian/procps.install.kfreebsd procps-3.3.1.modified/debian/procps.install.kfreebsd
--- procps-3.3.1/debian/procps.install.kfreebsd	2011-12-06 11:50:34.000000000 +0100
+++ procps-3.3.1.modified/debian/procps.install.kfreebsd	2011-12-14 23:17:44.000000000 +0100
@@ -1,5 +1,4 @@
-# Files to install for non-kfreebsd and non-hurd systems
-# I think that just means linux
-proc/libproc-ng-*.so lib
+# Files to install for kfreebsd
+usr/lib/libproc-ng-*.so lib
 bin/*
 usr/bin/*
diff -ur procps-3.3.1/top.c procps-3.3.1.modified/top.c
--- procps-3.3.1/top.c	2011-12-05 22:51:15.000000000 +0100
+++ procps-3.3.1.modified/top.c	2011-12-14 22:58:32.000000000 +0100
@@ -2099,6 +2099,9 @@
    // lastly, establish a robust signals environment
    sigemptyset(&sa.sa_mask);
    sa.sa_flags = SA_RESTART;
+#ifndef SIGRTMAX
+#define SIGRTMAX _NSIG
+#endif
    for (i = SIGRTMAX; i; i--) {
       switch (i) {
          case SIGALRM: case SIGHUP:  case SIGINT:

Reply to: