Xref: utzoo alt.graphics.pixutils:1281 comp.graphics:18866 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sample.eng.ohio-state.edu!purdue!haven.umd.edu!uvaarpa!murdoch!usenet From: jvb7u@Virginia.EDU (Jon Brinkmann) Newsgroups: alt.graphics.pixutils,comp.graphics Subject: XV patches for GIF89a images Summary: Patches for xv Keywords: XV GIF89a patches Message-ID: <1991Jun27.032742.24228@murdoch.acc.Virginia.EDU> Date: 27 Jun 91 03:27:42 GMT Sender: usenet@murdoch.acc.Virginia.EDU Followup-To: jvb7u@Virginia.EDU (Jon Brinkmann) Organization: Department of Astronomy, University of Virginia Lines: 35 In order to get xv, revision 11/29/90, patchlevel 3 to accept GIF89a files, I made the following patches: xv.c: 780c780,781 < if (strncmp(magicno,"GIF87",5)==0) filetype = GIF; --- > if (strncmp(magicno,"GIF87a",6)==0 || > strncmp(magicno,"GIF89a",6)==0) filetype = GIF; xvgif.c: 91c91,92 < char *id = "GIF87a"; --- > char *id87 = "GIF87a"; > char *id89 = "GIF89a"; 143c144 < if (strncmp(ptr, id, 6)) --- > if (strncmp(ptr, id87, 6) && strncmp(ptr, id89, 6)) Please note that xv won't process any of the GIF89a extensions (such as aspect ratio). If you need the source for this patchlevel of xv, check the contrib directory of export.lcs.mit.edu. Jon -- Jon Brinkmann Astronomy Department Internet: jvb7u@Virginia.EDU University of Virginia UUCP: ...!uunet!virginia!jvb7u P.O. Box 3818 SPAN/HEPnet: 6654::jvb7u Charlottesville, VA 22903-0818