Wouldn't it be possible to just apply a simple patch to the current version?

For quite a while now I've been using custom build of the
mingw32-runtime package with the attached patch copied to the
debian/patches subdirectory. The patch is straight out of the mingw CVS
repository, just the file paths have been adjusted.

Regards,
Tim

===================================================================
RCS file: /cvs/src/src/winsup/mingw/mingwex/gdtoa/Attic/mingw_snprintf.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- mingw-runtime-3.13-20070825-1/mingwex/gdtoa/mingw_snprintf.c
+++ mingw-runtime-3.13-20070825-1/mingwex/gdtoa/mingw_snprintf.c
@@ -465,7 +465,7 @@
                                    len = LEN_LL;
                                  }
                                else
-                                 len = LEN_LL;
+                                 len = LEN_L;
                                goto fmtloop;
                        case 'L':
                                flag_ld++;
@@ -617,6 +617,7 @@
                                        break;
                                  case LEN_S:
                                        *(short*)ip = c;
+                                       break;
                                  case LEN_LL:
                                        *(long long*) ip = c;
                                        break;

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to