diff options
author | Steve Price <steve@FreeBSD.org> | 1999-03-15 01:43:52 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 1999-03-15 01:43:52 +0000 |
commit | 1bceb7791d458f048f9349de7d51d343bc51cad0 (patch) | |
tree | 5a87dea85d9639a2ac11736fc803399a8f8da4e8 /japanese/chimera/files/patch-ab | |
parent | Update to version 4.10. (diff) |
Update to version 1.70p1.
PR: 10251
Submitted by: Takeshi WATANABE <watanabe@komadori.planet.sci.kobe-u.ac.jp>
Notes
Notes:
svn path=/head/; revision=17200
Diffstat (limited to 'japanese/chimera/files/patch-ab')
-rw-r--r-- | japanese/chimera/files/patch-ab | 41 |
1 files changed, 34 insertions, 7 deletions
diff --git a/japanese/chimera/files/patch-ab b/japanese/chimera/files/patch-ab index d25eedafa31c..c26d56db1475 100644 --- a/japanese/chimera/files/patch-ab +++ b/japanese/chimera/files/patch-ab @@ -1,9 +1,36 @@ ---- ./Imakefile.org Sat Apr 1 19:38:56 1995 -+++ ./Imakefile Tue Apr 4 07:52:03 1995 -@@ -1,5 +1,5 @@ - #define IHaveSubDirs --#define PassCDebugFlags 'CDEBUGFLAGS=' -+#define PassCDebugFlags 'CDEBUGFLAGS=-O2 -m486' +--- libhtmlw/HTMLformat.c.orig Wed May 28 04:42:34 1997 ++++ libhtmlw/HTMLformat.c Sun Feb 21 11:42:52 1999 +@@ -6150,6 +6150,7 @@ + char *col_spec, *t; + XColor xcolor; + Colormap cmap; ++ Visual *v; - SUBDIRS = compat libhtmlw mxw xloadimage common src lib util + if (!(hw->html.use_body_colors)) + return (False); +@@ -6179,7 +6180,11 @@ + XtFree(t); + return(False); + } +- FindColor (XtDisplay(hw), cmap, &xcolor); ++ v = DefaultVisual(XtDisplay(hw), DefaultScreen(XtDisplay(hw))); ++ if ((v->class == TrueColor) || (v->class == DirectColor)) ++ XAllocColor (XtDisplay(hw), cmap, &xcolor); ++ else ++ FindColor (XtDisplay(hw), cmap, &xcolor); + *value = xcolor.pixel; + XtFree (t); +--- src/main.c.orig Wed May 28 02:44:35 1997 ++++ src/main.c Sun Feb 21 11:42:53 1999 +@@ -1134,7 +1134,9 @@ + CreateStrReq("filename", filename, False, SaveOCallback, + SaveDCallback, (XtPointer)d); + } +- else if ((d->content != NULL && strcasecmp(d->content, "text/html") == 0) || ++ else if ((d->content != NULL && strncasecmp(d->content, "text/html", 9) == 0 ++ && (!d->content[9] || d->content[9] == ' ' || d->content[9] == ';')) ++ || + (d->pcontent != NULL && strcasecmp(d->pcontent, "text/html") == 0)) + { + dn = (DocNode *)alloc_mem(sizeof(DocNode)); |