summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJory Pratt <anarchy@gentoo.org>2009-08-24 20:41:18 +0000
committerJory Pratt <anarchy@gentoo.org>2009-08-24 20:41:18 +0000
commitcf90dc28b2acc8aa4a22b0d8b21295d30fac7c4a (patch)
tree42d2227a0fe2f26cd63fbe53bbb62a318a6332b9 /net-libs/xulrunner/files
parentSet SUPPORT_PYTHON_ABIS. Update message in pkg_postinst() (bug #282589). (diff)
downloadgentoo-2-cf90dc28b2acc8aa4a22b0d8b21295d30fac7c4a.tar.gz
gentoo-2-cf90dc28b2acc8aa4a22b0d8b21295d30fac7c4a.tar.bz2
gentoo-2-cf90dc28b2acc8aa4a22b0d8b21295d30fac7c4a.zip
Fix for bug #280562
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'net-libs/xulrunner/files')
-rw-r--r--net-libs/xulrunner/files/xulrunner-1.8.1.19-glibc-2.10-support.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/net-libs/xulrunner/files/xulrunner-1.8.1.19-glibc-2.10-support.patch b/net-libs/xulrunner/files/xulrunner-1.8.1.19-glibc-2.10-support.patch
new file mode 100644
index 000000000000..4a4cefc25ae6
--- /dev/null
+++ b/net-libs/xulrunner/files/xulrunner-1.8.1.19-glibc-2.10-support.patch
@@ -0,0 +1,14 @@
+diff -urN mozilla.orig/xpcom/glue/standalone/nsGlueLinkingDlopen.cpp mozilla.dwokfur/xpcom/glue/standalone/nsGlueLinkingDlopen.cpp
+--- mozilla.orig/xpcom/glue/standalone/nsGlueLinkingDlopen.cpp 2009-08-23 08:56:52.000000000 +0200
++++ mozilla.dwokfur/xpcom/glue/standalone/nsGlueLinkingDlopen.cpp 2009-08-23 10:00:46.000000000 +0200
+@@ -87,7 +87,8 @@
+ XPCOMGlueLoad(const char *xpcomFile)
+ {
+ char xulFile[MAXPATHLEN];
+- char *lastSlash = strrchr(xpcomFile, '/');
++ char *xpcomFileb = const_cast<char*>(xpcomFile);
++ char *lastSlash = strrchr(xpcomFileb, '/');
+ if (!lastSlash) {
+ snprintf(xulFile, MAXPATHLEN, "./%s", xpcomFile);
+ return XPCOMGlueLoad(xulFile);
+