diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2009-05-22 15:21:24 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2009-05-22 15:21:24 +0000 |
commit | 53f602f2a01d28e4af8105d8922e8ce14a929b27 (patch) | |
tree | ba7316c482f1f84e0a254e00843e914d0d2700cb /net-misc/mediatomb/files | |
parent | remove unused use flag (diff) | |
download | gentoo-2-53f602f2a01d28e4af8105d8922e8ce14a929b27.tar.gz gentoo-2-53f602f2a01d28e4af8105d8922e8ce14a929b27.tar.bz2 gentoo-2-53f602f2a01d28e4af8105d8922e8ce14a929b27.zip |
Add patch to build with glibc-2.10, closes bug #270715.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/mediatomb/files')
-rw-r--r-- | net-misc/mediatomb/files/mediatomb-0.11.0+glibc-2.10.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/net-misc/mediatomb/files/mediatomb-0.11.0+glibc-2.10.patch b/net-misc/mediatomb/files/mediatomb-0.11.0+glibc-2.10.patch new file mode 100644 index 000000000000..ff207b793519 --- /dev/null +++ b/net-misc/mediatomb/files/mediatomb-0.11.0+glibc-2.10.patch @@ -0,0 +1,24 @@ +Index: src/tools.cc +=================================================================== +--- src/tools.cc (revisione 2018) ++++ src/tools.cc (copia locale) +@@ -303,8 +303,8 @@ + Ref<StringBuffer> buf(new StringBuffer(len / 2)); + for (int i = 0; i < len; i += 2) + { +- char *chi = strchr(HEX_CHARS, ptr[i]); +- char *clo = strchr(HEX_CHARS, ptr[i + 1]); ++ const char *chi = strchr(HEX_CHARS, ptr[i]); ++ const char *clo = strchr(HEX_CHARS, ptr[i + 1]); + int hi, lo; + + if (chi) +@@ -397,7 +397,7 @@ + char clo = data[i++]; + int hi, lo; + +- char *pos; ++ const char *pos; + + pos = strchr(hex, chi); + if (!pos) |