aboutsummaryrefslogtreecommitdiff
path: root/patches
diff options
context:
space:
mode:
authorBrent Cook <busterb@gmail.com>2023-07-07 04:32:20 -0500
committerBrent Cook <busterb@gmail.com>2023-07-07 04:32:20 -0500
commit51368394eb92381952051795a2cc226eba4daa52 (patch)
treeb97c1a95acd36ce6f0f222e3d3415471e725b99b /patches
parent2354879274cdc24862bcf585815bc76718eb8400 (diff)
parent7463f87cf1c3b8494a604976a8f818b07747b55e (diff)
downloadportable-51368394eb92381952051795a2cc226eba4daa52.tar.gz
portable-51368394eb92381952051795a2cc226eba4daa52.tar.bz2
portable-51368394eb92381952051795a2cc226eba4daa52.zip
Land #886, add compat getopt implementation
Diffstat (limited to 'patches')
-rw-r--r--patches/bn_isqrt.c.patch18
-rw-r--r--patches/handshake_table.c.patch18
2 files changed, 0 insertions, 36 deletions
diff --git a/patches/bn_isqrt.c.patch b/patches/bn_isqrt.c.patch
deleted file mode 100644
index 5f2a568..0000000
--- a/patches/bn_isqrt.c.patch
+++ /dev/null
@@ -1,18 +0,0 @@
1--- tests/bn_isqrt.c.orig Fri Dec 9 11:05:26 2022
2+++ tests/bn_isqrt.c Fri Dec 9 11:12:37 2022
3@@ -306,6 +306,7 @@ main(int argc, char *argv[])
4 int ch;
5 int failed = 0, print = 0;
6
7+#ifndef _MSC_VER
8 while ((ch = getopt(argc, argv, "C")) != -1) {
9 switch (ch) {
10 case 'C':
11@@ -316,6 +317,7 @@ main(int argc, char *argv[])
12 break;
13 }
14 }
15+#endif
16
17 if (print)
18 return check_tables(1);
diff --git a/patches/handshake_table.c.patch b/patches/handshake_table.c.patch
deleted file mode 100644
index f3a4004..0000000
--- a/patches/handshake_table.c.patch
+++ /dev/null
@@ -1,18 +0,0 @@
1--- tests/handshake_table.c.orig Tue Mar 15 11:37:03 2022
2+++ tests/handshake_table.c Mon Mar 21 05:26:15 2022
3@@ -518,6 +518,7 @@
4 unsigned int depth = 0;
5 int ch, graphviz = 0, print = 0;
6
7+#ifndef _MSC_VER
8 while ((ch = getopt(argc, argv, "Cg")) != -1) {
9 switch (ch) {
10 case 'C':
11@@ -535,6 +536,7 @@
12
13 if (argc != 0)
14 usage();
15+#endif
16
17 if (graphviz && print)
18 usage();