summaryrefslogtreecommitdiffstats
path: root/mpi-patches/add-mpi-toradix-with-case
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/add-mpi-toradix-with-case
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/add-mpi-toradix-with-case')
-rw-r--r--mpi-patches/add-mpi-toradix-with-case54
1 files changed, 0 insertions, 54 deletions
diff --git a/mpi-patches/add-mpi-toradix-with-case b/mpi-patches/add-mpi-toradix-with-case
deleted file mode 100644
index e9983bf6..00000000
--- a/mpi-patches/add-mpi-toradix-with-case
+++ /dev/null
@@ -1,54 +0,0 @@
-Index: mpi-1.8.6/mpi.c
-===================================================================
---- mpi-1.8.6.orig/mpi.c 2015-02-07 19:32:46.612726878 -0800
-+++ mpi-1.8.6/mpi.c 2015-02-07 19:32:48.892686392 -0800
-@@ -2626,9 +2626,9 @@
-
- /* }}} */
-
--/* {{{ mp_toradix(mp, str, radix) */
-+/* {{{ mp_toradix_case(mp, str, radix, low) */
-
--mp_err mp_toradix(mp_int *mp, unsigned char *str, int radix)
-+mp_err mp_toradix_case(mp_int *mp, unsigned char *str, int radix, int low)
- {
- int ix, pos = 0;
-
-@@ -2659,7 +2659,7 @@
- }
-
- /* Generate digits, use capital letters */
-- ch = s_mp_todigit(rem, radix, 0);
-+ ch = s_mp_todigit(rem, radix, low);
-
- str[pos++] = ch;
- }
-@@ -2687,10 +2687,15 @@
-
- return MP_OKAY;
-
--} /* end mp_toradix() */
-+} /* end mp_toradix_case() */
-
- /* }}} */
-
-+mp_err mp_toradix(mp_int *mp, unsigned char *str, int radix)
-+{
-+ return mp_toradix_case(mp, str, radix, 0);
-+}
-+
- /* {{{ mp_char2value(ch, r) */
-
- int mp_char2value(char ch, int r)
-Index: mpi-1.8.6/mpi.h
-===================================================================
---- mpi-1.8.6.orig/mpi.h 2015-02-07 19:32:46.612726878 -0800
-+++ mpi-1.8.6/mpi.h 2015-02-07 19:32:48.892686392 -0800
-@@ -213,6 +213,7 @@
- int mp_radix_size(mp_int *mp, int radix);
- int mp_value_radix_size(int num, int qty, int radix);
- mp_err mp_toradix(mp_int *mp, unsigned char *str, int radix);
-+mp_err mp_toradix_case(mp_int *mp, unsigned char *str, int radix, int low);
-
- int mp_char2value(char ch, int r);
-