summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMounir Lamouri <volkmar@gentoo.org>2009-07-20 14:02:34 +0000
committerMounir Lamouri <volkmar@gentoo.org>2009-07-20 14:02:34 +0000
commit65943e709f2ea392a63c4940cd5f29799092b44a (patch)
tree0efd1654e5255e0f33e8edf43098c019d8df8a4a /net-libs/clinkcc/files
parentBug #268336 continued -> Use Maks Verver's clever sighandler solution to emul... (diff)
downloadgentoo-2-65943e709f2ea392a63c4940cd5f29799092b44a.tar.gz
gentoo-2-65943e709f2ea392a63c4940cd5f29799092b44a.tar.bz2
gentoo-2-65943e709f2ea392a63c4940cd5f29799092b44a.zip
fix compilation with glibc-2.10, bug 277735
(Portage version: 13823-svn/cvs/Linux i686)
Diffstat (limited to 'net-libs/clinkcc/files')
-rw-r--r--net-libs/clinkcc/files/clinkcc-1.7.1-glibc-2.10.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-libs/clinkcc/files/clinkcc-1.7.1-glibc-2.10.patch b/net-libs/clinkcc/files/clinkcc-1.7.1-glibc-2.10.patch
new file mode 100644
index 000000000000..b086e480e146
--- /dev/null
+++ b/net-libs/clinkcc/files/clinkcc-1.7.1-glibc-2.10.patch
@@ -0,0 +1,11 @@
+--- src/cybergarage/upnp/ssdp/SSDP.cpp.old 2009-07-20 15:52:39.000000000 +0000
++++ src/cybergarage/upnp/ssdp/SSDP.cpp 2009-07-20 15:53:52.000000000 +0000
+@@ -45,7 +45,7 @@
+
+ int CyberLink::SSDP::GetLeaseTime(const char *cacheCnt)
+ {
+- char *eqStrPos = strchr(cacheCnt, '=');
++ const char *eqStrPos = strchr(cacheCnt, '=');
+ if (eqStrPos == NULL)
+ return 0;
+ return atoi((eqStrPos + 1));