Your message dated Tue, 25 Apr 2006 20:55:19 +0300
with message-id <[EMAIL PROTECTED]>
and subject line #196158: [ARCH] portability in start-stop-daemon
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: dpkg
Version: 1.10.10
Severity: wishlist
Tags: patch

hi,

this patch adds support for dpkg to compile on the (Glibc-based)
GNU/FreeBSD system. (start-stop-daemon fixes)

-- 
Robert Millan
diff -ur dpkg-1.10.10.old/utils/start-stop-daemon.c 
dpkg-1.10.10/utils/start-stop-daemon.c
--- dpkg-1.10.10.old/utils/start-stop-daemon.c  2003-04-15 18:34:28.000000000 
+0200
+++ dpkg-1.10.10/utils/start-stop-daemon.c      2003-06-03 15:36:37.000000000 
+0200
@@ -26,6 +26,8 @@
 #  define OSLinux
 #elif defined(__GNU__)
 #  define OSHURD
+#elif defined(__gnu_freebsd__)
+#  define OSGNUFreeBSD
 #elif defined(__sparc__)
 #  define OSsunos
 #elif defined(OPENBSD)
@@ -47,14 +49,16 @@
 #  include <ps.h>
 #endif
 
-#if defined(OSOpenBSD) || defined(OSFreeBSD) || defined(OSNetBSD)
+#if defined(OSOpenBSD) || defined(OSFreeBSD) || defined(OSNetBSD) || 
defined(OSGNUFreeBSD)
 #include <sys/param.h>
 #include <sys/user.h>
 #include <sys/proc.h>
 #include <sys/stat.h>
 #include <sys/sysctl.h>
 #include <sys/types.h>
+#endif
  
+#if defined(OSOpenBSD) || defined(OSFreeBSD) || defined(OSNetBSD)
 #include <err.h>
 #include <kvm.h>
 #include <limits.h>
@@ -712,7 +716,7 @@
 /* WTA: this  needs to be an autoconf check for /proc/pid existance.
  */
 
-#if defined(OSLinux) || defined (OSsunos) || defined(OSfreebsd)
+#if defined(OSLinux) || defined (OSsunos) || defined(OSfreebsd) || 
defined(OSGNUFreeBSD)
 static void
 do_procinit(void)
 {

--- End Message ---
--- Begin Message ---
Version: 1.13.17

Hi,

As agreed with Robert this bug is no longer relevant, s-s-d builds and
works fine now on GNU/kFreeBSD, thus closing.

regards,
guillem

--- End Message ---

Reply via email to