--- a
+++ b/apr/tests-fix_paths.patch
@@ -0,0 +1,31 @@
+
+
+From: David Rothenberger <d.rothenberger@entomo.com>
+
+
+---
+ test/testutil.h |    4 ++--
+ 1 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/test/testutil.h b/test/testutil.h
+index ee68dfb..d33c2ff 100644
+--- a/test/testutil.h
++++ b/test/testutil.h
+@@ -25,7 +25,7 @@
+  * and part of apr, itself
+  */
+ 
+-#ifdef WIN32
++#if defined WIN32 && ! defined CYGWIN && ! defined MSYS
+ #ifdef BINPATH
+ #define TESTBINPATH APR_STRINGIFY(BINPATH) "/"
+ #else
+@@ -35,7 +35,7 @@
+ #define TESTBINPATH "./"
+ #endif
+ 
+-#ifdef WIN32
++#if defined WIN32 && ! defined CYGWIN && ! defined MSYS
+ #define EXTENSION ".exe"
+ #elif NETWARE
+ #define EXTENSION ".nlm"