From 4c6d632238386ecd682d308d3778c339b8948e66 Mon Sep 17 00:00:00 2001 From: olgeni Date: Sun, 21 Jul 2002 16:57:23 +0000 Subject: I forgot to add 2 new patchfiles :( --- lang/ghc/Makefile | 1 + lang/ghc/files/patch-ghc__includes__RtsAPI.h | 21 +++++++++++++ lang/ghc/files/patch-ghc__rts__Prelude.h | 43 +++++++++++++++++++++++++++ lang/ghc5/Makefile | 1 + lang/ghc5/files/patch-ghc__includes__RtsAPI.h | 21 +++++++++++++ lang/ghc5/files/patch-ghc__rts__Prelude.h | 43 +++++++++++++++++++++++++++ lang/ghc6/Makefile | 1 + lang/ghc6/files/patch-ghc__includes__RtsAPI.h | 21 +++++++++++++ lang/ghc6/files/patch-ghc__rts__Prelude.h | 43 +++++++++++++++++++++++++++ 9 files changed, 195 insertions(+) create mode 100644 lang/ghc/files/patch-ghc__includes__RtsAPI.h create mode 100644 lang/ghc/files/patch-ghc__rts__Prelude.h create mode 100644 lang/ghc5/files/patch-ghc__includes__RtsAPI.h create mode 100644 lang/ghc5/files/patch-ghc__rts__Prelude.h create mode 100644 lang/ghc6/files/patch-ghc__includes__RtsAPI.h create mode 100644 lang/ghc6/files/patch-ghc__rts__Prelude.h diff --git a/lang/ghc/Makefile b/lang/ghc/Makefile index 08c4e59573d7..cb90772e5cdc 100644 --- a/lang/ghc/Makefile +++ b/lang/ghc/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/ghc/files/patch-ghc__includes__RtsAPI.h b/lang/ghc/files/patch-ghc__includes__RtsAPI.h new file mode 100644 index 000000000000..f5a9cff55523 --- /dev/null +++ b/lang/ghc/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/ghc/files/patch-ghc__rts__Prelude.h b/lang/ghc/files/patch-ghc__rts__Prelude.h new file mode 100644 index 000000000000..e8945df6cf84 --- /dev/null +++ b/lang/ghc/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; 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; diff --git a/lang/ghc6/Makefile b/lang/ghc6/Makefile index 08c4e59573d7..cb90772e5cdc 100644 --- a/lang/ghc6/Makefile +++ b/lang/ghc6/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/ghc6/files/patch-ghc__includes__RtsAPI.h b/lang/ghc6/files/patch-ghc__includes__RtsAPI.h new file mode 100644 index 000000000000..f5a9cff55523 --- /dev/null +++ b/lang/ghc6/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/ghc6/files/patch-ghc__rts__Prelude.h b/lang/ghc6/files/patch-ghc__rts__Prelude.h new file mode 100644 index 000000000000..e8945df6cf84 --- /dev/null +++ b/lang/ghc6/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; -- cgit