[Pkg-octave-devel] Bug#520076: octave3.0: FTBFS on GNU/kFreeBSD

Petr Salinger Petr.Salinger at seznam.cz
Tue Mar 17 08:46:11 UTC 2009


Package: octave3.0
Severity: important
Version: 1:3.0.4~rc5-2
Tags: patch
User: glibc-bsd-devel at lists.alioth.debian.org
Usertags: kfreebsd


Hi,

the current version fails to build on GNU/kFreeBSD.

It needs small tweak for configure.in/configure
to properly detect <termios.h>, see bellow.

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

Thanks in advance

                         Petr

only in patch2:
unchanged:
--- octave3.0-3.0.4~rc5.orig/configure.in
+++ octave3.0-3.0.4~rc5/configure.in
@@ -1247,7 +1247,7 @@
  AC_LANG_POP(C++)

  have_termios_h=no
-AC_CHECK_HEADERS($TERMIOS_H, have_termios_h=yes)
+AC_CHECK_HEADERS(termios.h, have_termios_h=yes)
  AC_CHECK_HEADERS(termio.h, have_termio_h=yes, have_termio_h=no)
  AC_CHECK_HEADERS(sgtty.h, have_sgtty_h=yes, have_sgtty_h=no)
  AC_CHECK_HEADERS(glob.h, have_glob_h=yes, have_glob_h=no)
only in patch2:
unchanged:
--- octave3.0-3.0.4~rc5.orig/configure
+++ octave3.0-3.0.4~rc5/configure
@@ -20828,7 +20828,7 @@

  have_termios_h=no

-for ac_header in $TERMIOS_H
+for ac_header in termios.h
  do
  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set";





More information about the Pkg-octave-devel mailing list