This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
xrn diffs for Cygwin (was: Re: More xrn build woes)
- From: news at garydjones dot mailshell dot com
- To: cygwin-xfree at cygwin dot com
- Date: Sun, 01 Sep 2002 10:50:24 +0200
- Subject: xrn diffs for Cygwin (was: Re: More xrn build woes)
- References: <20020816170241.76812.qmail@web21009.mail.yahoo.com> <ajlafq.3vvkc4n.1@hamster.local.invalid>
- Reply-to: cygwin-xfree at cygwin dot com
Here are the diffs to the standard xrn source required to build
xrn-9.02 for Cygwin
--- error_hnds.h 1997-12-18 11:04:04.000000000 +0000
+++ ../new xrn/error_hnds.h 2002-08-17 09:46:56.000000000
+0100
@@ -54,7 +54,7 @@
/* install the signal handlers */
extern void ehInstallSignalHandlers _ARGUMENTS((void));
-#if !defined(__GNU_LIBRARY__) && !defined(__NetBSD__) &&
!defined(__FreeBSD__)
+#if !defined(__GNU_LIBRARY__) && !defined(__NetBSD__) &&
!defined(__FreeBSD__) && !defined(__CYGWIN__)
extern int errno, sys_nerr;
extern char *sys_errlist[];
#endif
--- config.h 1999-09-02 01:11:22.000000000 +0100
+++ ../new xrn/config.h 2002-08-19 16:08:38.000000000 +0100
@@ -497,7 +505,7 @@
*/
/* POSIX regex routines */
-#if defined(linux) || defined(hpux) || defined(__hpux) ||
defined(__osf__)
+#if defined(linux) || defined(hpux) || defined(__hpux) ||
defined(__osf__) || defined(__CYGWIN__)
#define POSIX_REGEX
#endif
It 'mostly' works. Occasionally I have had some strange crashes,
but I don't have the time or knowledge to pursue them to be
honest.
(Also emailed to xrn maintainer.)