--- Portfile.orig	2010-09-29 15:16:04.000000000 +0200
+++ Portfile	2010-09-29 15:21:37.000000000 +0200
@@ -25,6 +25,8 @@
 platform darwin 10 {
     # This fixes the 'Undefined symbols: "_environ"' error
     patchfiles-append patch-packages-base-include-HsBase.h.diff
+    # This fixes the 'Undefined symbols: "renameFile_17' and 'readdir_40' errors
+    patchfiles-append patch-libraries-tools-make-bootlib.diff
 }
 
 livecheck.type	regex

