Wed, 15 Sep 2004

Email woes

Looks like email to me is travelling rather erratically through the debian.org domain. Given that some of the (supposedly) incoming mail is entirely predictable from web archives of the respective lists I am subscribed too, it would appear that I have not gotten everything that went out in the last few days. Worse, a few fresh Debian bug reports haven't made it to me either. I hope the Debian listmasters and admins can do their magic and improve the flow soon, their work is surely appreciated.

/misc | permanent link

Compiling afio under Cywgin

Here is a simple patch against the current afio-2.5 sources, derived mostly from an older patch from Japan against 2.4.7. This allows compilation of afio under Cygwin by simply calling make, no further config needed.

I sent it upstream to Koen, maybe it'll show up in a future versiom.

 diff -ru afio-2.5.orig/afio.c afio-2.5/afio.c ---
afio-2.5.orig/afio.c 2003-12-20 16:16:13.000000000 -0600 +++ afio-2.5/afio.c
2004-09-13 17:12:50.548515800 -0500 @@ -184,7 +184,11 @@
 #include 
 #include 
 #include 
+#ifdef __CYGWIN32__
+#include 
+#else
 #include 
+#endif
 #include 
 #include 
 #include 
Only in afio-2.5: afio.exe
diff -ru afio-2.5.orig/afio.h afio-2.5/afio.h
--- afio-2.5.orig/afio.h	2003-12-20 07:59:42.000000000 -0600
+++ afio-2.5/afio.h	2004-09-13 15:17:51.700744200 -0500
@@ -477,7 +477,7 @@
 #ifndef MKDIR
 int rmdir (char *);
 #endif
-#if !defined (linux) && !defined(__FreeBSD__) && !defined(sun)
+#if !defined (linux) && !defined(__FreeBSD__) && !defined(sun) && !defined(__CYGWIN32__)
 VOIDFN (*signal ())();
 #endif
      int fswrite (int, char*, uint);
diff -ru afio-2.5.orig/compfile.c afio-2.5/compfile.c
--- afio-2.5.orig/compfile.c	2003-06-24 16:32:20.000000000 -0500
+++ afio-2.5/compfile.c	2004-09-13 15:03:44.532576200 -0500
@@ -210,7 +210,7 @@
  * version;
  */
 
-#if ( defined(sun) && defined(__svr4__) )
+#if ( defined(sun) && defined(__svr4__) ) || defined(__CYGWIN32__)
 #include 
 #else
 #include 



/computers/misc | permanent link