Package: gnu-smalltalk
Severity: important
Version:   2.1.8-2.1
Tags: patch


Hi,

the current version fails to build on GNU/kFreeBSD.

It needs small change to configure.in/configure in sigsegv subdir.
Please find attached patch with that.

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

Thanks in advance

                        Petr

only in patch2:
unchanged:
--- gnu-smalltalk-2.1.8.orig/sigsegv/configure.in
+++ gnu-smalltalk-2.1.8/sigsegv/configure.in
@@ -123,7 +123,7 @@
     # List of signals that are sent when an invalid virtual memory address
     # is accessed, or when the stack overflows.
     case "$host_os" in
-      sunos4* | freebsd* | openbsd* | netbsd*)
+      sunos4* | freebsd* | openbsd* | netbsd* | kfreebsd*)
         CFG_SIGNALS=signals-bsd.h ;;
       hpux*)
         CFG_SIGNALS=signals-hpux.h ;;
@@ -301,7 +301,7 @@
     fi
     if test "$CFG_FAULT" = fault-none.h && test "$sv_cv_fault_bsd" = yes; then
       case "$host_os" in
-        freebsd*)
+        freebsd*|kfreebsd*)
           case "$host_cpu" in
             i?86 | x86_64)
               CFG_FAULT=fault-freebsd-i386.h
only in patch2:
unchanged:
--- gnu-smalltalk-2.1.8.orig/sigsegv/configure
+++ gnu-smalltalk-2.1.8/sigsegv/configure
@@ -20522,7 +22053,7 @@
     # List of signals that are sent when an invalid virtual memory address
     # is accessed, or when the stack overflows.
     case "$host_os" in
-      sunos4* | freebsd* | openbsd* | netbsd*)
+      sunos4* | freebsd* | openbsd* | netbsd* | kfreebsd*)
         CFG_SIGNALS=signals-bsd.h ;;
       hpux*)
         CFG_SIGNALS=signals-hpux.h ;;
@@ -23134,7 +24977,7 @@
     fi
     if test "$CFG_FAULT" = fault-none.h && test "$sv_cv_fault_bsd" = yes; then
       case "$host_os" in
-        freebsd*)
+        freebsd*|kfreebsd*)
           case "$host_cpu" in
             i?86 | x86_64)
               CFG_FAULT=fault-freebsd-i386.h

Reply via email to