Description: <short summary of the patch>
 TODO: Put a short summary on the line above and replace this paragraph
 with a longer explanation of this change. Complete the meta-information
 with other relevant fields (see below for details). To make it easier, the
 information below has been extracted from the changelog. Adjust it or drop
 it.
 .
 gcl (2.6.10-18) unstable; urgency=high
 .
   * 2.6.11pre test 17
Author: Camm Maguire <camm@debian.org>

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: http://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: <YYYY-MM-DD>

--- gcl-2.6.10.orig/h/mingw.h
+++ gcl-2.6.10/h/mingw.h
@@ -226,11 +226,13 @@ extern int mingwlisten(FILE *);
 
 #define FPE_INIT Cnil
 
+#ifndef FE_INVALID
 #define FE_INVALID 1
 #define FE_DIVBYZERO 4
 #define FE_OVERFLOW 8
 #define FE_UNDERFLOW 16
 #define FE_INEXACT 32
+#endif
 
 #define FPE_FLTDIV 3
 #define FPE_FLTOVF 4
--- gcl-2.6.10.orig/o/usig.c
+++ gcl-2.6.10/o/usig.c
@@ -167,7 +167,7 @@ DEFUN_NEW("FEENABLEEXCEPT",fixnum,fSfeen
 #elif defined(__x86_64__) || defined(__i386__)
 #define ASM __asm__ __volatile__
   {
-    unsigned short s;
+    unsigned short s=0;
     unsigned int i;
     ASM("fnstcw %0" :: "m" (s));
     s=(s|FE_ALL_EXCEPT)&(~x);
@@ -194,7 +194,7 @@ DEFUN_NEW("FEDISABLEEXCEPT",fixnum,fSfed
 #elif defined(__x86_64__) || defined(__i386__)
 #define ASM __asm__ __volatile__
   {
-    unsigned int i;
+    unsigned int i=0;
     ASM("fnclex");
     ASM("stmxcsr %0" :: "m" (i));
     i=(i|(FE_ALL_EXCEPT<<7));
