summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/mdidentd/files/1.04a-glibc210.patch')
-rw-r--r--net-misc/mdidentd/files/1.04a-glibc210.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/net-misc/mdidentd/files/1.04a-glibc210.patch b/net-misc/mdidentd/files/1.04a-glibc210.patch
new file mode 100644
index 000000000000..9f059cef3309
--- /dev/null
+++ b/net-misc/mdidentd/files/1.04a-glibc210.patch
@@ -0,0 +1,32 @@
+diff -NrU5 ezbounce-1.04c.original/lib/general.cpp ezbounce-1.04c/lib/general.cpp
+--- ezbounce-1.04c.original/lib/general.cpp 2009-08-08 18:50:44.000000000 -0600
++++ ezbounce-1.04c/lib/general.cpp 2009-08-08 18:55:30.000000000 -0600
+@@ -366,11 +366,11 @@
+ while (*p == sep)
+ p++;
+ do {
+ if (numfound == which && *p)
+ {
+- char * next = strchr(p, sep);
++ const char * next = strchr(p, sep);
+ if ((get_rest && buffer) || (!next /* && *(p+1) */) )
+ {
+ if (buffer)
+ safe_strcpy(buffer, p, maxsize);
+ return 1;
+diff -NrU5 ezbounce-1.04c.original/mdidentd/identd.cpp ezbounce-1.04c/mdidentd/identd.cpp
+--- ezbounce-1.04c.original/mdidentd/identd.cpp 2009-08-08 18:50:44.000000000 -0600
++++ ezbounce-1.04c/mdidentd/identd.cpp 2009-08-08 19:00:08.000000000 -0600
+@@ -739,11 +739,11 @@
+ while (*p == sep)
+ p++;
+ do {
+ if (numfound == which && *p)
+ {
+- char * next = strchr(p, sep);
++ const char * next = strchr(p, sep);
+ if ((get_rest && buffer) || (!next /* && *(p+1) */) )
+ {
+ if (buffer)
+ safe_strcpy(buffer, p, maxsize);
+ return 1;