summaryrefslogtreecommitdiffstats
path: root/mpi-patches/fix-warnings
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-04-22 20:10:44 -0700
committerKaz Kylheku <kaz@kylheku.com>2015-04-22 20:10:44 -0700
commitb0ebf843ce862f8448aad85e61cc1b3727745fd0 (patch)
tree47b934781729c5d2143de03eb8021521771c500f /mpi-patches/fix-warnings
parent790cbdccac0540d2af12438fc7bccef2e17bc124 (diff)
downloadtxr-b0ebf843ce862f8448aad85e61cc1b3727745fd0.tar.gz
txr-b0ebf843ce862f8448aad85e61cc1b3727745fd0.tar.bz2
txr-b0ebf843ce862f8448aad85e61cc1b3727745fd0.zip
Switch to in-tree mpi directory.
* Makefile (CFLAGS, MPI_OBJS): Refer to mpi directory without version number. (repatch): Target removed. (distclean): Don't try to remove old unpacked tarball mpi directory. * configure (mpi_version, have_quilt, have_patch): Variables removed. (gen_config_make): Do not generate mpi_version make variable. Do not test for quilt or patch. No longer extract MPI tarball or try to apply patches. * mpi-1.8.6.tar.gz: File removed. * mpi-patches: Directory and all files under it removed.
Diffstat (limited to 'mpi-patches/fix-warnings')
-rw-r--r--mpi-patches/fix-warnings61
1 files changed, 0 insertions, 61 deletions
diff --git a/mpi-patches/fix-warnings b/mpi-patches/fix-warnings
deleted file mode 100644
index c35e4ead..00000000
--- a/mpi-patches/fix-warnings
+++ /dev/null
@@ -1,61 +0,0 @@
-Index: mpi-1.8.6/mpi.c
-===================================================================
---- mpi-1.8.6.orig/mpi.c 2011-12-08 21:03:20.000000000 -0800
-+++ mpi-1.8.6/mpi.c 2011-12-08 21:05:04.000000000 -0800
-@@ -2401,7 +2401,7 @@
- int ix;
-
- d = *dp;
-- for(ix = 0; ix < sizeof(mp_digit); ++ix) {
-+ for(ix = 0; ix < (int) sizeof(mp_digit); ++ix) {
- *spos = d & UCHAR_MAX;
- d >>= CHAR_BIT;
- ++spos;
-@@ -2598,10 +2598,10 @@
- /* Reverse the digits and sign indicator */
- ix = 0;
- while(ix < pos) {
-- char tmp = str[ix];
-+ char tmp2 = str[ix];
-
- str[ix] = str[pos];
-- str[pos] = tmp;
-+ str[pos] = tmp2;
- ++ix;
- --pos;
- }
-@@ -2952,10 +2952,10 @@
- void s_mp_mod_2d(mp_int *mp, mp_digit d)
- {
- unsigned int ndig = (d / DIGIT_BIT), nbit = (d % DIGIT_BIT);
-- unsigned int ix;
-+ int ix;
- mp_digit dmask, *dp = DIGITS(mp);
-
-- if(ndig >= USED(mp))
-+ if((int) ndig >= USED(mp))
- return;
-
- /* Flush all the bits above 2^d in its digit */
-Index: mpi-1.8.6/mplogic.c
-===================================================================
---- mpi-1.8.6.orig/mplogic.c 2011-12-08 21:03:20.000000000 -0800
-+++ mpi-1.8.6/mplogic.c 2011-12-08 21:05:16.000000000 -0800
-@@ -290,7 +290,7 @@
- for(ix = 0; ix < USED(a); ix++) {
- cur = DIGIT(a, ix);
-
-- for(db = 0; db < sizeof(mp_digit); db++) {
-+ for(db = 0; db < (int) sizeof(mp_digit); db++) {
- reg = (cur >> (CHAR_BIT * db)) & UCHAR_MAX;
-
- nset += bitc[reg];
-@@ -319,7 +319,7 @@
- for(ix = 0; ix < USED(a); ix++) {
- cur = DIGIT(a, ix);
-
-- for(db = 0; db < sizeof(mp_digit); db++) {
-+ for(db = 0; db < (int) sizeof(mp_digit); db++) {
- reg = (cur >> (CHAR_BIT * db)) & UCHAR_MAX;
-
- nset += bitc[UCHAR_MAX - reg];