Package: xalan
Severity: important
Version: 1.10-1 
Tags: patch

Hi,

the current version fails to build on GNU/kFreeBSD.

It needs small tweak in configure.in/configure files. 
Please find attached patch to fix that. 

It would be nice if it could be included in the next upload.

Thanks in advance,

        Petr
diff -u xalan-1.10/c/configure.in xalan-1.10/c/configure.in
--- xalan-1.10/c/configure.in
+++ xalan-1.10/c/configure.in
@@ -45,6 +45,7 @@
 case "${host}" in
         *-*-solaris*)   platform=SOLARIS ;;
         *-*-linux*)     platform=LINUX ;;
+        *-*-k*bsd*)     platform=LINUX ;;
         *-*-freebsd*)   platform=FREEBSD ;;
         *-*-netbsd*)    platform=NETBSD ;;
         *-*-irix*)      platform=IRIX ;;
only in patch2:
unchanged:
--- xalan-1.10.orig/c/samples/configure.in
+++ xalan-1.10/c/samples/configure.in
@@ -46,6 +46,7 @@
 case "${host}" in
         *-*-solaris*)   platform=SOLARIS ;;
         *-*-linux*)     platform=LINUX ;;
+        *-*-k*bsd*)     platform=LINUX ;;
         *-*-freebsd*)   platform=FREEBSD ;;
         *-*-netbsd*)    platform=NETBSD ;;
         *-*-irix*)      platform=IRIX ;;
diff -u xalan-1.10/c/configure xalan-1.10/c/configure
--- xalan-1.10/c/configure
+++ xalan-1.10/c/configure
@@ -2807,6 +2807,7 @@
 case "${host}" in
         *-*-solaris*)   platform=SOLARIS ;;
         *-*-linux*)     platform=LINUX ;;
+        *-*-k*bsd*)     platform=LINUX ;;
         *-*-freebsd*)   platform=FREEBSD ;;
         *-*-netbsd*)    platform=NETBSD ;;
         *-*-irix*)      platform=IRIX ;;
only in patch2:
unchanged:
--- xalan-1.10.orig/c/samples/configure
+++ xalan-1.10/c/samples/configure
@@ -1171,6 +1171,7 @@
 case "${host}" in
         *-*-solaris*)   platform=SOLARIS ;;
         *-*-linux*)     platform=LINUX ;;
+        *-*-k*bsd*)     platform=LINUX ;;
         *-*-freebsd*)   platform=FREEBSD ;;
         *-*-netbsd*)    platform=NETBSD ;;
         *-*-irix*)      platform=IRIX ;;

Reply via email to