openbsd-ports/devel/c2hs/patches/patch-c2hs_c_CAttrs_hs
dons d1011d2804 Import C->Haskell (c2hs)
C->Haskell is an interface generator that simplifies the development
of Haskell bindings to C libraries.  The tool processes existing C
header files that determine data layout and function signatures on the
C side, in conjunction with Haskell modules that specify Haskell-side
type signatures and marshaling details. Hooks embedded in the Haskell
code signal access to C structures and functions; they are expanded by
the interfacing tool in conjunction with information in the
corresponding C header file. 

ok pvalchev@
2004-05-08 07:21:03 +00:00

16 lines
507 B
Plaintext

$OpenBSD: patch-c2hs_c_CAttrs_hs,v 1.1.1.1 2004/05/08 07:21:03 dons Exp $
Extra comma
--- c2hs/c/CAttrs.hs.orig 2004-05-06 16:27:44.000000000 +1000
+++ c2hs/c/CAttrs.hs 2004-05-06 16:27:54.000000000 +1000
@@ -144,7 +144,7 @@ leaveRangeC ac = ac {
--
leaveObjRangeC :: AttrC -> AttrC
leaveObjRangeC ac = ac {
- defObjsAC = fst . leaveRange . defObjsAC $ ac,
+ defObjsAC = fst . leaveRange . defObjsAC $ ac
}
-- add another definitions to the object name space (EXPORTED)