diff options
author | Victor Ostorga <vostorga@gentoo.org> | 2009-08-08 18:55:25 +0000 |
---|---|---|
committer | Victor Ostorga <vostorga@gentoo.org> | 2009-08-08 18:55:25 +0000 |
commit | 90145f3fa715081b1ba353ba713e2b9496117441 (patch) | |
tree | 607ceff603a141323799d176eec1cd75f9a987a8 /net-misc/mdidentd/files | |
parent | Stable for HPPA (bug #276776). (diff) | |
download | gentoo-2-90145f3fa715081b1ba353ba713e2b9496117441.tar.gz gentoo-2-90145f3fa715081b1ba353ba713e2b9496117441.tar.bz2 gentoo-2-90145f3fa715081b1ba353ba713e2b9496117441.zip |
Adding patch to build against glibc 2.10 , bug #275954
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'net-misc/mdidentd/files')
-rw-r--r-- | net-misc/mdidentd/files/1.04a-glibc210.patch | 32 |
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; |