This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

xrn diffs for Cygwin (was: Re: More xrn build woes)


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.)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]