diff options
Diffstat (limited to 'community/ghc/0002-Correct-issue-with-libffi-and-glibc.patch')
-rw-r--r-- | community/ghc/0002-Correct-issue-with-libffi-and-glibc.patch | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/community/ghc/0002-Correct-issue-with-libffi-and-glibc.patch b/community/ghc/0002-Correct-issue-with-libffi-and-glibc.patch deleted file mode 100644 index 87420f9928..0000000000 --- a/community/ghc/0002-Correct-issue-with-libffi-and-glibc.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 843bd68ea83ba011d593ad7162d1df89c230004b Mon Sep 17 00:00:00 2001 -From: Mitch Tishmack <mitch.tishmack@gmail.com> -Date: Sat, 15 Oct 2016 21:53:13 -0500 -Subject: [PATCH 1/1] Correct issue with libffi and glibc - -Ref: https://github.com/mitchty/alpine-linux-ghc-bootstrap/issues/16 - -Shamelessly learnt from here -https://github.com/nilcons/ghc-musl/blob/master/ghc-musl/Dockerfile#L24 ---- - libffi/ghc.mk | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/libffi/ghc.mk b/libffi/ghc.mk -index 404cce9..2034873 100644 ---- a/libffi/ghc.mk -+++ b/libffi/ghc.mk -@@ -61,6 +61,7 @@ $(libffi_STAMP_CONFIGURE): $(TOUCH_DEP) - # We have to fake a non-working ln for configure, so that the fallback - # option (cp -p) gets used instead. Otherwise the libffi build system - # will use cygwin symbolic links which cannot be read by mingw gcc. -+ sed -i s/__gnu_linux__/1/ libffi/build/src/closures.c - chmod +x libffi/ln - - # We need to use -MMD rather than -MD, as otherwise we get paths --- -2.9.0 - |