]> gitweb @ CieloNegro.org - pkgsrc-ghc.git/blobdiff - patches/patch-ab
7.0.1 for powerpc-apple-darwin (but crashes on --interactive)
[pkgsrc-ghc.git] / patches / patch-ab
index de5a53a68ef6611bdd97137036a8e30a73ff83bb..864fccc4f12b8e753770e83cc1d916ce12e9bd9d 100644 (file)
@@ -1,13 +1,29 @@
 $NetBSD$
 
---- rts/posix/Select.c.orig    2009-12-11 03:11:32.000000000 +0900
-+++ rts/posix/Select.c
-@@ -32,6 +32,8 @@
- #include <unistd.h>
- #endif
-+#include <sys/select.h>
-+
- #if !defined(THREADED_RTS)
- /* last timestamp */
- lnat timestamp = 0;
+--- configure.orig     2010-11-12 18:10:41.000000000 +0000
++++ configure
+@@ -6181,7 +6181,7 @@ fi
+ if test -n "$DtraceCmd"; then
+-  if test "x$TargetOS_CPP-$TargetVendor_CPP" == "xdarwin-apple"; then
++  if test "x$TargetOS_CPP-$TargetVendor_CPP" = "xdarwin-apple"; then
+     HaveDtrace=YES
+   fi
+ fi
+@@ -6507,6 +6507,7 @@ $as_echo "$as_me: WARNING: cannot find h
+ fi
++if test "$BootingFromHc" = "NO"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ghc-pkg matching $WithGhc" >&5
+ $as_echo_n "checking for ghc-pkg matching $WithGhc... " >&6; }
+ if test "${fp_cv_matching_ghc_pkg+set}" = set; then :
+@@ -6528,6 +6529,7 @@ fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fp_cv_matching_ghc_pkg" >&5
+ $as_echo "$fp_cv_matching_ghc_pkg" >&6; }
+ GhcPkgCmd=$fp_cv_matching_ghc_pkg
++fi