diff -ur /Users/dan/src/M2/github/Macaulay2-M2-clone/M2/BUILD/dan/builds.tmp/mac64.production/libraries/ntl/tmp/ntl-5.5.2/include/NTL/xdouble.h ntl-5.5.2/include/NTL/xdouble.h
--- /Users/dan/src/M2/github/Macaulay2-M2-clone/M2/BUILD/dan/builds.tmp/mac64.production/libraries/ntl/tmp/ntl-5.5.2/include/NTL/xdouble.h	2009-08-14 05:53:12.000000000 -0700
+++ ntl-5.5.2/include/NTL/xdouble.h	2013-05-02 21:10:59.000000000 -0700
@@ -52,9 +52,9 @@
 };
 
 inline xdouble to_xdouble(int a) { return xdouble(a, 0); }
-inline xdouble to_xdouble(long a) { return xdouble(a, 0); }
+inline xdouble to_xdouble(long a) { return xdouble(static_cast<double>(a), 0); }
 inline xdouble to_xdouble(unsigned int a) { return xdouble(a, 0); }
-inline xdouble to_xdouble(unsigned long a) { return xdouble(a, 0); }
+inline xdouble to_xdouble(unsigned long a) { return xdouble(static_cast<double>(a), 0); }
 
 xdouble to_xdouble(double a);
 inline xdouble to_xdouble(float a) { return to_xdouble(double(a)); }
diff -ur /Users/dan/src/M2/github/Macaulay2-M2-clone/M2/BUILD/dan/builds.tmp/mac64.production/libraries/ntl/tmp/ntl-5.5.2/src/mfile ntl-5.5.2/src/mfile
--- /Users/dan/src/M2/github/Macaulay2-M2-clone/M2/BUILD/dan/builds.tmp/mac64.production/libraries/ntl/tmp/ntl-5.5.2/src/mfile	2009-08-14 05:53:11.000000000 -0700
+++ ntl-5.5.2/src/mfile	2013-05-02 21:10:59.000000000 -0700
@@ -340,7 +340,7 @@
 
 setup1:
 	$(COMPILE) MakeDescAux.c
-	$(LINK) -o MakeDesc MakeDesc.c MakeDescAux.o $(LDLIBS)
+	$(LINK) $(MakeDescCFLAGS) -o MakeDesc MakeDesc.c MakeDescAux.o $(LDLIBS)
 	./MakeDesc
 	mv mach_desc.h ../include/NTL/mach_desc.h
 
diff -ur /Users/dan/src/M2/github/Macaulay2-M2-clone/M2/BUILD/dan/builds.tmp/mac64.production/libraries/ntl/tmp/ntl-5.5.2/src/DoConfig ntl-5.5.2/src/DoConfig
--- /Users/dan/src/M2/github/Macaulay2-M2-clone/M2/BUILD/dan/builds.tmp/mac64.production/libraries/ntl/tmp/ntl-5.5.2/src/DoConfig	2009-08-14 05:53:11.000000000 -0700
+++ ntl-5.5.2/src/DoConfig	2013-05-03 06:45:55.000000000 -0700
@@ -90,9 +90,9 @@
 
 foreach $arg (@ARGV) {
 
-   if ($arg =~ '-h|help|-help|--help') {
-      system("more ../doc/config.txt");
-      exit;
+   if ($arg =~ '^(-h|help|-help|--help)$') {
+      system("cat ../doc/config.txt");
+      exit 1;
    }
 
    if (($name, $val) = ($arg =~ /(.*?)=(.*)/)) {
diff -ur /home/dan/src/M2/1.6/M2/BUILD/dan/builds.tmp/mingw/libraries/ntl/tmp/ntl-5.5.2/src/MakeDesc.c ntl-5.5.2/src/MakeDesc.c
--- /home/dan/src/M2/1.6/M2/BUILD/dan/builds.tmp/mingw/libraries/ntl/tmp/ntl-5.5.2/src/MakeDesc.c	2009-08-14 07:53:11.000000000 -0500
+++ ntl-5.5.2/src/MakeDesc.c	2013-05-10 09:34:12.401825400 -0500
@@ -712,7 +712,7 @@
 
 
 
-char *yn_vec[2] = { "no", "yes" }; 
+const char *yn_vec[2] = { "no", "yes" }; 
 
 
 
diff -ur /home/dan/src/M2/1.6/M2/BUILD/dan/builds.tmp/mingw/libraries/ntl/tmp/ntl-5.5.2/src/gen_gmp_aux.c ntl-5.5.2/src/gen_gmp_aux.c
--- /home/dan/src/M2/1.6/M2/BUILD/dan/builds.tmp/mingw/libraries/ntl/tmp/ntl-5.5.2/src/gen_gmp_aux.c	2009-08-14 07:53:11.000000000 -0500
+++ ntl-5.5.2/src/gen_gmp_aux.c	2013-05-10 10:15:53.180861800 -0500
@@ -91,11 +91,11 @@
       ntl_zz_nbits = 2*bpl;
    else
       Error("sorry...this is a funny gmp");
+   
+   /* if (sizeof(mp_size_t) != sizeof(long) && */
+   /*     sizeof(mp_size_t) != sizeof(int)) */
 
-   if (sizeof(mp_size_t) != sizeof(long) &&
-       sizeof(mp_size_t) != sizeof(int))
-
-   Error("sorry...this is a funny gmp");
+   /* Error("sorry...this is a funny gmp"); */
 
    ntl_wsp_nbits = bpl - 2;
 
