Subject: latest transfig+xfig working
From: "Jochen Küpper" <[email-masked]>
To: [email-masked]
Cc: Cygwin <[email-masked]>, [email-masked]
Date: 14 Nov 2001 10:23:09 -0500

This is simply a report that the latest transfig/xfig (3.2.3d) works
essentially out of the box on Cygwin for me, using latest cygwin
(yesterday) and cygwin-xfree as of Oct 12.

Two changes were necessary, the first one should go into the transfig
source:

diff -ur transfig.3.2.3d/fig2dev/fig2dev.h transfig.3.2.3d-cygwin/fig2dev/fig2dev.h
- --- transfig.3.2.3d/fig2dev/fig2dev.h	Fri Jan 12 17:12:09 2001
+++ transfig.3.2.3d-cygwin/fig2dev/fig2dev.h	Wed Nov 14 10:03:27 2001
@@ -191,7 +191,8 @@
 #endif
 
 #if ( !(defined(BSD) && (BSD >= 199306)) && !defined(__NetBSD__) && \
- -	!defined(__GNU_LIBRARY__) && !defined(__FreeBSD__) && !defined(__GLIBC__))
+	!defined(__GNU_LIBRARY__) && !defined(__FreeBSD__) && \
+        !defined(__GLIBC__) && !defined(__CYGWIN__))
 	    extern char *sys_errlist[];
 #endif
 
diff -ur xfig.3.2.3d/Imakefile xfig.3.2.3d-cygwin/Imakefile
- --- xfig.3.2.3d/Imakefile	Tue May 29 14:32:11 2001
+++ xfig.3.2.3d-cygwin/Imakefile	Wed Nov 14 10:08:45 2001
@@ -90,7 +90,7 @@
 XCOMM Then be sure to change the XAW3DINC to point to the directory where your
 XCOMM 3D Athena widget headers are located
 
- -#define XAW3D
+XCOMM #define XAW3D
 
 #ifdef XAW3D
 XAW3DINC = -I/usr/include/X11/Xaw3d

Greetings,
Jochen
- -- 
University of North Carolina                       phone: +1-919-962-4403
Department of Chemistry                            phone: +1-919-962-1579
Venable Hall CB#3290 (Kenan C148)                    fax: +1-919-843-6041
Chapel Hill, NC 27599, USA                            GnuPG key: 44BCCD8E

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/