Subject: libsigsegv: FTBFS on GNU/kFreeBSD
From: Petr Salinger <[email-masked]>
To: [email-masked]
Date: Wed, 12 Apr 2006 15:28:01 +0200 (CEST)

Package: libsigsegv
Severity: important
Version: 2.2-4
Tags: patch

Hi,

the current version of libsigsegv fails to build on GNU/kFreeBSD.

Please find bellow tweak to configure/configure.in to fix that. 

It would also be nice if you can ask upstream to include this change.

Thanks in advance,

        Petr

only in patch2:
unchanged:
--- libsigsegv-2.2.orig/configure.in
+++ libsigsegv-2.2/configure.in
@@ -74,7 +74,7 @@
 dnl List of signals that are sent when an invalid virtual memory address
 dnl is accessed, or when the stack overflows.
 case "$host_os" in
-  sunos4* | freebsd* | openbsd* | netbsd*)
+  sunos4* | freebsd* | openbsd* | netbsd* | k*bsd*)
     CFG_SIGNALS=signals-bsd.h ;;
   hpux*)
     CFG_SIGNALS=signals-hpux.h ;;

diff -u libsigsegv-2.2/configure libsigsegv-2.2/configure
--- libsigsegv-2.2/configure
+++ libsigsegv-2.2/configure
@@ -19547,7 +19547,7 @@

 case "$host_os" in
-  sunos4* | freebsd* | openbsd* | netbsd*)
+  sunos4* | freebsd* | openbsd* | netbsd* | k*bsd*)
     CFG_SIGNALS=signals-bsd.h ;;
   hpux*)
     CFG_SIGNALS=signals-hpux.h ;;
@@ -24108,11 +24108,12 @@