* [gentoo-commits] gentoo-x86 commit in www-client/w3m/files: w3m-0.5.2-gc72.patch
@ 2009-12-13 23:25 Matsuu Takuto (matsuu)
0 siblings, 0 replies; only message in thread
From: Matsuu Takuto (matsuu) @ 2009-12-13 23:25 UTC (permalink / raw
To: gentoo-commits
matsuu 09/12/13 23:25:22
Added: w3m-0.5.2-gc72.patch
Log:
boehm-gc 7.2 support.
(Portage version: 2.1.7.13/cvs/Linux x86_64)
Revision Changes Path
1.1 www-client/w3m/files/w3m-0.5.2-gc72.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/w3m/files/w3m-0.5.2-gc72.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/w3m/files/w3m-0.5.2-gc72.patch?rev=1.1&content-type=text/plain
Index: w3m-0.5.2-gc72.patch
===================================================================
diff -Naurb w3m-0.5.2.orig/main.c w3m-0.5.2/main.c
--- w3m-0.5.2.orig/main.c 2007-05-31 10:19:50.000000000 +0900
+++ w3m-0.5.2/main.c 2009-11-09 08:20:02.184953443 +0900
@@ -312,7 +312,11 @@
lock = 0;
}
}
+#if GC_VERSION_MAJOR >= 7 && GC_VERSION_MINOR >= 2
+ else if (orig_GC_warn_proc = GC_get_warn_proc())
+#else
else if (orig_GC_warn_proc)
+#endif
orig_GC_warn_proc(msg, arg);
else
fprintf(stderr, msg, (unsigned long)arg);
@@ -842,7 +846,11 @@
mySignal(SIGPIPE, SigPipe);
#endif
+#if GC_VERSION_MAJOR >= 7 && GC_VERSION_MINOR >= 2
+ GC_set_warn_proc(wrap_GC_warn_proc);
+#else
orig_GC_warn_proc = GC_set_warn_proc(wrap_GC_warn_proc);
+#endif
err_msg = Strnew();
if (load_argc == 0) {
/* no URL specified */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-12-13 23:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-13 23:25 [gentoo-commits] gentoo-x86 commit in www-client/w3m/files: w3m-0.5.2-gc72.patch Matsuu Takuto (matsuu)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox