Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com List-Subscribe: List-Archive: List-Post: List-Help: , Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com From: "Edward M. Lee" To: Subject: Texinfo-4.0 Patch Date: Fri, 24 Nov 2000 05:29:21 -0500 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_001E_01C055D7.7FFB9E60" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal In-Reply-To: <975031692.13649.ezmlm@sources.redhat.com> X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - octagon.interserver.net X-AntiAbuse: Original Domain - sources.redhat.com X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [0 0] X-AntiAbuse: Sender Address Domain - tailifer.com This is a multi-part message in MIME format. ------=_NextPart_000_001E_01C055D7.7FFB9E60 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit By the way, In terms of patching texinfo-4.0, you also need to edit lib/system.h, otherwise you get the msdos/win32 style path separator, tmp directory, etc. Here is the patch I use myself. Cheers. All that's required is a simple ./configure [--prefix=/blah] no special flags to gcc, or modifications. i use gcc -v Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2-4/specs gcc driver version 2.95.2-4 19991024 (cygwin experimental) executing gcc version 2.95.2-5 which is straight from the cygwin setup.exe... cheers, edward. ------=_NextPart_000_001E_01C055D7.7FFB9E60 Content-Type: application/octet-stream; name="texinfo-4.0-cygwin.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="texinfo-4.0-cygwin.patch" diff -C 2 -r -x *.pot -x *~ -x Makefile texinfo-4.0/lib/system.h = texinfo-4.0-new/lib/system.h=0A= *** texinfo-4.0/lib/system.h Sat Jul 17 17:11:34 1999=0A= --- texinfo-4.0-new/lib/system.h Sun Nov 19 17:22:09 2000=0A= ***************=0A= *** 135,139 ****=0A= #endif /* O_BINARY */=0A= =0A= ! #if O_BINARY=0A= # include =0A= # ifdef __MSDOS__=0A= --- 135,139 ----=0A= #endif /* O_BINARY */=0A= =0A= ! #if O_BINARY && !defined(__CYGWIN__)=0A= # include =0A= # ifdef __MSDOS__=0A= ***************=0A= *** 167,172 ****=0A= #else /* not O_BINARY */=0A= # define SET_BINARY(f) (void)0=0A= ! # define FOPEN_RBIN "r"=0A= ! # define FOPEN_WBIN "w"=0A= # define IS_SLASH(c) ((c) =3D=3D '/')=0A= # define HAVE_DRIVE(n) (0)=0A= --- 167,177 ----=0A= #else /* not O_BINARY */=0A= # define SET_BINARY(f) (void)0=0A= ! # if defined(__CYGWIN__)=0A= ! # define FOPEN_RBIN "rb"=0A= ! # define FOPEN_WBIN "wb"=0A= ! # else=0A= ! # define FOPEN_RBIN "r"=0A= ! # define FOPEN_WBIN "w"=0A= ! # endif=0A= # define IS_SLASH(c) ((c) =3D=3D '/')=0A= # define HAVE_DRIVE(n) (0)=0A= diff -C 2 -r -x *.pot -x *~ -x Makefile texinfo-4.0/makeinfo/files.c = texinfo-4.0-new/makeinfo/files.c=0A= *** texinfo-4.0/makeinfo/files.c Tue Mar 23 16:42:44 1999=0A= --- texinfo-4.0-new/makeinfo/files.c Sun Nov 19 17:28:55 2000=0A= ***************=0A= *** 169,173 ****=0A= while ((n =3D read (file, result + count, file_size)) > 0)=0A= #else /* !VMS */=0A= ! #ifndef WIN32=0A= while ((n =3D read (file, result + count, file_size)) > 0)=0A= #else /* WIN32 */=0A= --- 169,173 ----=0A= while ((n =3D read (file, result + count, file_size)) > 0)=0A= #else /* !VMS */=0A= ! #if !defined(WIN32) && !defined(__CYGWIN__)=0A= while ((n =3D read (file, result + count, file_size)) > 0)=0A= #else /* WIN32 */=0A= ------=_NextPart_000_001E_01C055D7.7FFB9E60--