aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOllivier Robert <roberto@FreeBSD.org>2002-08-12 15:57:49 +0000
committerOllivier Robert <roberto@FreeBSD.org>2002-08-12 15:57:49 +0000
commit47ffa307076429d98df590061b64c9d5ff7af34c (patch)
tree8bb49936ad82ba758b07b9bbf9df79365bcb22f0
parent48cd8d4c7d8ee1e8a43ae273d62cc505cad682b2 (diff)
downloadports-47ffa307076429d98df590061b64c9d5ff7af34c.tar.gz
ports-47ffa307076429d98df590061b64c9d5ff7af34c.zip
Notes
-rw-r--r--devel/apr/files/patch-apr-misc-unix-getopt.c15
-rw-r--r--devel/apr0/files/patch-apr-misc-unix-getopt.c15
-rw-r--r--devel/apr1/files/patch-apr-misc-unix-getopt.c15
-rw-r--r--devel/apr2/files/patch-apr-misc-unix-getopt.c15
4 files changed, 60 insertions, 0 deletions
diff --git a/devel/apr/files/patch-apr-misc-unix-getopt.c b/devel/apr/files/patch-apr-misc-unix-getopt.c
new file mode 100644
index 000000000000..2634000a14cd
--- /dev/null
+++ b/devel/apr/files/patch-apr-misc-unix-getopt.c
@@ -0,0 +1,15 @@
+--- apr/misc/unix/getopt.c.orig Thu Nov 29 06:19:51 2001
++++ apr/misc/unix/getopt.c Sun Aug 11 11:29:01 2002
+@@ -237,10 +237,12 @@
+ for (i = 0; ; i++) {
+ if (opts[i].optch == 0) /* No match */
+ return serr(os, "invalid option", p - 2, APR_BADCH);
++ if (opts[i].name) {
+ len = strlen(opts[i].name);
+ if (strncmp(p, opts[i].name, len) == 0
+ && (p[len] == '\0' || p[len] == '='))
+ break;
++ }
+ }
+ *optch = opts[i].optch;
+
diff --git a/devel/apr0/files/patch-apr-misc-unix-getopt.c b/devel/apr0/files/patch-apr-misc-unix-getopt.c
new file mode 100644
index 000000000000..2634000a14cd
--- /dev/null
+++ b/devel/apr0/files/patch-apr-misc-unix-getopt.c
@@ -0,0 +1,15 @@
+--- apr/misc/unix/getopt.c.orig Thu Nov 29 06:19:51 2001
++++ apr/misc/unix/getopt.c Sun Aug 11 11:29:01 2002
+@@ -237,10 +237,12 @@
+ for (i = 0; ; i++) {
+ if (opts[i].optch == 0) /* No match */
+ return serr(os, "invalid option", p - 2, APR_BADCH);
++ if (opts[i].name) {
+ len = strlen(opts[i].name);
+ if (strncmp(p, opts[i].name, len) == 0
+ && (p[len] == '\0' || p[len] == '='))
+ break;
++ }
+ }
+ *optch = opts[i].optch;
+
diff --git a/devel/apr1/files/patch-apr-misc-unix-getopt.c b/devel/apr1/files/patch-apr-misc-unix-getopt.c
new file mode 100644
index 000000000000..2634000a14cd
--- /dev/null
+++ b/devel/apr1/files/patch-apr-misc-unix-getopt.c
@@ -0,0 +1,15 @@
+--- apr/misc/unix/getopt.c.orig Thu Nov 29 06:19:51 2001
++++ apr/misc/unix/getopt.c Sun Aug 11 11:29:01 2002
+@@ -237,10 +237,12 @@
+ for (i = 0; ; i++) {
+ if (opts[i].optch == 0) /* No match */
+ return serr(os, "invalid option", p - 2, APR_BADCH);
++ if (opts[i].name) {
+ len = strlen(opts[i].name);
+ if (strncmp(p, opts[i].name, len) == 0
+ && (p[len] == '\0' || p[len] == '='))
+ break;
++ }
+ }
+ *optch = opts[i].optch;
+
diff --git a/devel/apr2/files/patch-apr-misc-unix-getopt.c b/devel/apr2/files/patch-apr-misc-unix-getopt.c
new file mode 100644
index 000000000000..2634000a14cd
--- /dev/null
+++ b/devel/apr2/files/patch-apr-misc-unix-getopt.c
@@ -0,0 +1,15 @@
+--- apr/misc/unix/getopt.c.orig Thu Nov 29 06:19:51 2001
++++ apr/misc/unix/getopt.c Sun Aug 11 11:29:01 2002
+@@ -237,10 +237,12 @@
+ for (i = 0; ; i++) {
+ if (opts[i].optch == 0) /* No match */
+ return serr(os, "invalid option", p - 2, APR_BADCH);
++ if (opts[i].name) {
+ len = strlen(opts[i].name);
+ if (strncmp(p, opts[i].name, len) == 0
+ && (p[len] == '\0' || p[len] == '='))
+ break;
++ }
+ }
+ *optch = opts[i].optch;
+