aboutsummaryrefslogtreecommitdiffstats
path: root/lang/ghc5
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2002-07-22 00:57:23 +0800
committerolgeni <olgeni@FreeBSD.org>2002-07-22 00:57:23 +0800
commit4c6d632238386ecd682d308d3778c339b8948e66 (patch)
treebd34437530c3adeb03676f76fe8ff751ab650183 /lang/ghc5
parent822ca745ad67b4240545331c7b498529c87df061 (diff)
downloadfreebsd-ports-gnome-4c6d632238386ecd682d308d3778c339b8948e66.tar.gz
freebsd-ports-gnome-4c6d632238386ecd682d308d3778c339b8948e66.tar.zst
freebsd-ports-gnome-4c6d632238386ecd682d308d3778c339b8948e66.zip
I forgot to add 2 new patchfiles :(
Diffstat (limited to 'lang/ghc5')
-rw-r--r--lang/ghc5/Makefile1
-rw-r--r--lang/ghc5/files/patch-ghc__includes__RtsAPI.h21
-rw-r--r--lang/ghc5/files/patch-ghc__rts__Prelude.h43
3 files changed, 65 insertions, 0 deletions
diff --git a/lang/ghc5/Makefile b/lang/ghc5/Makefile
index 08c4e59573d7..cb90772e5cdc 100644
--- a/lang/ghc5/Makefile
+++ b/lang/ghc5/Makefile
@@ -6,6 +6,7 @@
PORTNAME= ghc
PORTVERSION= 5.04
+PORTREVISION= 1
CATEGORIES= lang
MASTER_SITES= http://www.haskell.org/ghc/dist/${PORTVERSION}/
diff --git a/lang/ghc5/files/patch-ghc__includes__RtsAPI.h b/lang/ghc5/files/patch-ghc__includes__RtsAPI.h
new file mode 100644
index 000000000000..f5a9cff55523
--- /dev/null
+++ b/lang/ghc5/files/patch-ghc__includes__RtsAPI.h
@@ -0,0 +1,21 @@
+*** ghc/includes/RtsAPI.h~ Thu Jun 27 16:38:58 2002
+--- ghc/includes/RtsAPI.h Fri Jul 19 11:19:38 2002
+***************
+*** 122,129 ****
+ These are used by foreign export and foreign import "wrapper" stubs.
+ ----------------------------------------------------------------------- */
+
+! extern DLL_IMPORT const StgClosure GHCziTopHandler_runIO_closure;
+! extern DLL_IMPORT const StgClosure GHCziTopHandler_runNonIO_closure;
+ #define runIO_closure (&GHCziTopHandler_runIO_closure)
+ #define runNonIO_closure (&GHCziTopHandler_runNonIO_closure)
+
+--- 122,129 ----
+ These are used by foreign export and foreign import "wrapper" stubs.
+ ----------------------------------------------------------------------- */
+
+! extern StgClosure GHCziTopHandler_runIO_closure;
+! extern StgClosure GHCziTopHandler_runNonIO_closure;
+ #define runIO_closure (&GHCziTopHandler_runIO_closure)
+ #define runNonIO_closure (&GHCziTopHandler_runNonIO_closure)
+
diff --git a/lang/ghc5/files/patch-ghc__rts__Prelude.h b/lang/ghc5/files/patch-ghc__rts__Prelude.h
new file mode 100644
index 000000000000..e8945df6cf84
--- /dev/null
+++ b/lang/ghc5/files/patch-ghc__rts__Prelude.h
@@ -0,0 +1,43 @@
+*** ghc/rts/Prelude.h~ Thu Jun 27 16:38:58 2002
+--- ghc/rts/Prelude.h Fri Jul 19 11:20:52 2002
+***************
+*** 14,32 ****
+ * modules these names are defined in.
+ */
+
+! extern DLL_IMPORT const StgClosure GHCziBase_True_closure;
+! extern DLL_IMPORT const StgClosure GHCziBase_False_closure;
+! extern DLL_IMPORT const StgClosure GHCziPack_unpackCString_closure;
+! extern DLL_IMPORT const StgClosure GHCziWeak_runFinalizzerBatch_closure;
+! extern const StgClosure Main_zdmain_closure;
+! extern DLL_IMPORT const StgClosure GHCziTopHandler_runIO_closure;
+! extern DLL_IMPORT const StgClosure GHCziTopHandler_runNonIO_closure;
+
+! extern DLL_IMPORT const StgClosure GHCziIOBase_stackOverflow_closure;
+! extern DLL_IMPORT const StgClosure GHCziIOBase_heapOverflow_closure;
+! extern DLL_IMPORT const StgClosure GHCziIOBase_BlockedOnDeadMVar_closure;
+! extern DLL_IMPORT const StgClosure GHCziIOBase_NonTermination_closure;
+! extern DLL_IMPORT const StgClosure GHCziIOBase_Deadlock_closure;
+
+ extern DLL_IMPORT const StgInfoTable GHCziBase_Czh_static_info;
+ extern DLL_IMPORT const StgInfoTable GHCziBase_Izh_static_info;
+--- 14,32 ----
+ * modules these names are defined in.
+ */
+
+! extern DLL_IMPORT StgClosure GHCziBase_True_closure;
+! extern DLL_IMPORT StgClosure GHCziBase_False_closure;
+! extern DLL_IMPORT StgClosure GHCziPack_unpackCString_closure;
+! extern DLL_IMPORT StgClosure GHCziWeak_runFinalizzerBatch_closure;
+! extern StgClosure Main_zdmain_closure;
+! extern DLL_IMPORT StgClosure GHCziTopHandler_runIO_closure;
+! extern DLL_IMPORT StgClosure GHCziTopHandler_runNonIO_closure;
+
+! extern DLL_IMPORT StgClosure GHCziIOBase_stackOverflow_closure;
+! extern DLL_IMPORT StgClosure GHCziIOBase_heapOverflow_closure;
+! extern DLL_IMPORT StgClosure GHCziIOBase_BlockedOnDeadMVar_closure;
+! extern DLL_IMPORT StgClosure GHCziIOBase_NonTermination_closure;
+! extern DLL_IMPORT StgClosure GHCziIOBase_Deadlock_closure;
+
+ extern DLL_IMPORT const StgInfoTable GHCziBase_Czh_static_info;
+ extern DLL_IMPORT const StgInfoTable GHCziBase_Izh_static_info;