diff options
author | Jimmy Olgeni <olgeni@FreeBSD.org> | 2002-07-21 16:57:23 +0000 |
---|---|---|
committer | Jimmy Olgeni <olgeni@FreeBSD.org> | 2002-07-21 16:57:23 +0000 |
commit | 98202bd0759386120038ee64c49a2a3ce429986c (patch) | |
tree | 0449d2cfbca4630eae7f96f1db5be59b31a6a69d /lang/ghc | |
parent | fix buffer overflow problem (diff) |
I forgot to add 2 new patchfiles :(
Notes
Notes:
svn path=/head/; revision=63315
Diffstat (limited to 'lang/ghc')
-rw-r--r-- | lang/ghc/Makefile | 1 | ||||
-rw-r--r-- | lang/ghc/files/patch-ghc__includes__RtsAPI.h | 21 | ||||
-rw-r--r-- | lang/ghc/files/patch-ghc__rts__Prelude.h | 43 |
3 files changed, 65 insertions, 0 deletions
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; |