Package: jamvm
Severity: important
Tags: patch

Hi,

The current version of jamvm fails to build on GNU/kFreeBSD. Please
find attached a small patch to fix that. It would be nice if you can
include it in your next upload.

Thanks for your cooperation,
Aurelien



-- System Information:
Debian Release: testing/unstable
Architecture: kfreebsd-i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: GNU/kFreeBSD 5.4-1-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Author: aurel32
Status: in BTS

diff -u jamvm-1.3.3/debian/control jamvm-1.3.3/debian/control
--- jamvm-1.3.3/debian/control
+++ jamvm-1.3.3/debian/control
@@ -7,7 +7,7 @@
 Standards-Version: 3.6.2
 
 Package: jamvm
-Architecture: amd64 arm hurd-i386 i386 powerpc
+Architecture: amd64 arm hurd-i386 i386 kfreebsd-i386 powerpc
 Depends: ${shlibs:Depends}, java-common, classpath (>= 2:0.18), classpath-common (>= 2:0.18)
 Provides: java-virtual-machine, java1-runtime
 Description: virtual machine which conforms to JVM specification 2
only in patch2:
unchanged:
--- jamvm-1.3.3.orig/configure
+++ jamvm-1.3.3/configure
@@ -1864,6 +1864,7 @@
 
 
 case "$host" in
+i[456]86-*-kfreebsd*-gnu*) host_cpu=i386 host_os=linux ;;
 i[456]86-*-linux*) host_cpu=i386 host_os=linux ;;
 i[456]86-*-openbsd*) host_cpu=i386 host_os=linux libdl_needed=no ;;
 x86_64-*-linux*) host_os=linux ;;
only in patch2:
unchanged:
--- jamvm-1.3.3.orig/configure.ac
+++ jamvm-1.3.3/configure.ac
@@ -55,6 +55,7 @@
 AC_CANONICAL_HOST
 
 case "$host" in
+i[[456]]86-*-kfreebsd*-gnu*) host_cpu=i386 host_os=linux ;;
 i[[456]]86-*-linux*) host_cpu=i386 host_os=linux ;;
 i[[456]]86-*-openbsd*) host_cpu=i386 host_os=linux libdl_needed=no ;;
 x86_64-*-linux*) host_os=linux ;;

Reply via email to