Package: libgts-0.7-1
Version: 0.7.3-2
Severity: important

The current debian-specific ARM/Alpha patch for src/rounding.h turns off
floating-point control for all architectures using glibc...

This means that robust geometric predicates do not work with the current
debian GTS package. This is a serious bug...

The following patch fixes the problem (on i386 systems, you probably want to
check if it still works for Alpha/ARM):

diff -rN -u old-gts-mainline/src/rounding.h new-gts-mainline/src/rounding.h
--- old-gts-mainline/src/rounding.h     2006-03-10 12:50:39.000000000 +1300
+++ new-gts-mainline/src/rounding.h     2006-03-10 12:40:08.000000000 +1300
@@ -22,7 +22,7 @@
 #ifdef HAVE_FPU_CONTROL_H
 #  include <fpu_control.h>
 #  ifdef _FPU_EXTENDED
-#   if !defined(__alpha__) && !defined(__GLIBC__)
+#   if !defined(__alpha__) || !defined(__GLIBC__)
 #    if defined(__arm__)
      static fpu_control_t fpu_round_double = _FPU_DEFAULT;
 #    else

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.22-xfs
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to