* [gentoo-commits] gentoo-x86 commit in x11-terms/rxvt-unicode/files: rxvt-unicode-9.06-glibc-2.10.patch
@ 2009-06-06 22:06 Peter Alfredsen (loki_val)
0 siblings, 0 replies; 2+ messages in thread
From: Peter Alfredsen (loki_val) @ 2009-06-06 22:06 UTC (permalink / raw
To: gentoo-commits
loki_val 09/06/06 22:06:09
Added: rxvt-unicode-9.06-glibc-2.10.patch
Log:
Fix compilation with glibc-2.10, bug 270694. Thanks to Francisco J. Vázquez and Alex 'wired' Alexander for testing.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Revision Changes Path
1.1 x11-terms/rxvt-unicode/files/rxvt-unicode-9.06-glibc-2.10.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-terms/rxvt-unicode/files/rxvt-unicode-9.06-glibc-2.10.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-terms/rxvt-unicode/files/rxvt-unicode-9.06-glibc-2.10.patch?rev=1.1&content-type=text/plain
Index: rxvt-unicode-9.06-glibc-2.10.patch
===================================================================
--- src/background.C.orig 2009-04-25 01:12:46.000000000 +0200
+++ src/background.C 2009-04-25 01:19:21.000000000 +0200
@@ -261,7 +261,7 @@
unsigned int w = 0, h = 0;
unsigned int n;
unsigned long new_flags = (flags & (~geometryFlags));
- char *p;
+ const char *p;
# define MAXLEN_GEOM 256 /* could be longer than regular geometry string */
if (geom == NULL)
@@ -677,7 +677,7 @@
if (!target->asimman)
target->asimman = create_generic_imageman (target->rs[Rs_path]);
- if (char *f = strchr (file, ';'))
+ if (char *f = (char *) strchr (file, ';'))
{
size_t len = f - file;
f = (char *)malloc (len + 1);
--- src/command.C.orig 2009-04-25 01:20:29.000000000 +0200
+++ src/command.C 2009-04-25 01:21:20.000000000 +0200
@@ -3336,7 +3336,7 @@
}
else
{
- char *eq = strchr (str, '='); // constness lost, but verified to be ok
+ char *eq = (char *) strchr (str, '='); // constness lost, but verified to be ok
if (eq)
{
--- src/misc.C.orig 2009-04-25 01:41:05.000000000 +0200
+++ src/misc.C 2009-04-25 01:41:37.000000000 +0200
@@ -170,7 +170,7 @@
char *
rxvt_basename (const char *str) NOTHROW
{
- char *base = strrchr (str, '/');
+ char *base = (char *) strrchr (str, '/');
return (char *) (base ? base + 1 : str);
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in x11-terms/rxvt-unicode/files: rxvt-unicode-9.06-glibc-2.10.patch
@ 2010-05-14 14:48 Jeroen Roovers (jer)
0 siblings, 0 replies; 2+ messages in thread
From: Jeroen Roovers (jer) @ 2010-05-14 14:48 UTC (permalink / raw
To: gentoo-commits
jer 10/05/14 14:48:34
Removed: rxvt-unicode-9.06-glibc-2.10.patch
Log:
Old.
(Portage version: 2.2_rc67/cvs/Linux i686)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-05-14 14:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-06 22:06 [gentoo-commits] gentoo-x86 commit in x11-terms/rxvt-unicode/files: rxvt-unicode-9.06-glibc-2.10.patch Peter Alfredsen (loki_val)
-- strict thread matches above, loose matches on Subject: below --
2010-05-14 14:48 Jeroen Roovers (jer)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox