X-Git-Url: http://git.cielonegro.org/gitweb.cgi?p=pkgsrc-ghc.git;a=blobdiff_plain;f=patches%2Fpatch-ab;h=de5a53a68ef6611bdd97137036a8e30a73ff83bb;hp=61832c8e91af9954384aa60be503801959747e56;hb=581794b5a3b8c50fa6fe25325b8c59a96a89fa41;hpb=40ea93f22a6b5c7187c9ddd7e6b17987d8687abc diff --git a/patches/patch-ab b/patches/patch-ab index 61832c8..de5a53a 100644 --- a/patches/patch-ab +++ b/patches/patch-ab @@ -1,29 +1,13 @@ $NetBSD$ ---- ../ghc-6.6.1/configure.orig 2007-04-26 02:29:16.000000000 +0900 -+++ ../ghc-6.6.1/configure -@@ -2590,20 +2590,12 @@ fi - exit 1 - else - $PerlCmd -v >conftest.out 2>&1 -- if grep "v5.6" conftest.out >/dev/null 2>&1; then -+ if grep "v5." conftest.out >/dev/null 2>&1; then - : - else -- if grep "v5.8" conftest.out >/dev/null 2>&1; then -- : -- else -- if grep "version 6" conftest.out >/dev/null 2>&1; then -- : -- else -- { { echo "$as_me:$LINENO: error: your version of perl probably won't work, try upgrading it." >&5 --echo "$as_me: error: your version of perl probably won't work, try upgrading it." >&2;} -- { (exit 1); exit 1; }; } -- fi -- fi -+ { { echo "$as_me:$LINENO: error: your version of perl probably won't work, try upgrading it." >&5 -+ echo "$as_me: error: your version of perl probably won't work, try upgrading it." >&2; } -+ { (exit 1); exit 1; }; } - fi - rm -fr conftest* +--- rts/posix/Select.c.orig 2009-12-11 03:11:32.000000000 +0900 ++++ rts/posix/Select.c +@@ -32,6 +32,8 @@ + #include + #endif ++#include ++ + #if !defined(THREADED_RTS) + /* last timestamp */ + lnat timestamp = 0;