summaryrefslogtreecommitdiff
blob: 21c848ab53c50c1479044b70f93665d9f8f56b48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
From 4264f8bc91dabce03ac858388358ff5f4c6db8df Mon Sep 17 00:00:00 2001
From: Sergei Trofimovich <slyfox@gentoo.org>
Date: Sat, 25 Jan 2020 23:52:58 +0000
Subject: [PATCH 2/3] hackport.cabal: add missing ForeignFunctionInterface
 extension
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

gcc-8.0 does not enable `ForeignFunctionInterface` by default.

Reported-by: Toralf Förster
Bug: https://bugs.gentoo.org/704778
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
---
 hackport.cabal | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hackport.cabal b/hackport.cabal
index 049933e00..70928fe6b 100644
--- a/hackport.cabal
+++ b/hackport.cabal
@@ -70,6 +70,7 @@ Executable    hackport
     DoAndIfThenElse,
     EmptyDataDecls,
     ExistentialQuantification,
+    ForeignFunctionInterface,
     FlexibleContexts,
     FlexibleInstances,
     GADTs,
-- 
2.25.0