- fix an implicit declaration
This commit is contained in:
parent
0ddf737853
commit
791f5dabdf
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.18 2013/03/21 15:52:08 jasper Exp $
|
||||
# $OpenBSD: Makefile,v 1.19 2013/03/21 16:22:51 jasper Exp $
|
||||
|
||||
# m68k - needs ELF and serious tinkering
|
||||
# m88k - missing code
|
||||
@ -8,7 +8,7 @@ NOT_FOR_ARCHS= m68k m88k vax
|
||||
COMMENT= Foreign Function Interface
|
||||
|
||||
DISTNAME= libffi-3.0.9
|
||||
REVISION= 0
|
||||
REVISION= 1
|
||||
SHARED_LIBS += ffi 0.0 # .5.9
|
||||
CATEGORIES= devel
|
||||
|
||||
|
15
devel/libffi/patches/patch-src_arm_ffi_c
Normal file
15
devel/libffi/patches/patch-src_arm_ffi_c
Normal file
@ -0,0 +1,15 @@
|
||||
$OpenBSD: patch-src_arm_ffi_c,v 1.1 2013/03/21 16:22:51 jasper Exp $
|
||||
|
||||
warning: implicit declaration of function '__clear_cache'
|
||||
|
||||
--- src/arm/ffi.c.orig Thu Mar 21 17:15:53 2013
|
||||
+++ src/arm/ffi.c Thu Mar 21 17:16:12 2013
|
||||
@@ -37,6 +37,8 @@
|
||||
static int vfp_type_p (ffi_type *);
|
||||
static void layout_vfp_args (ffi_cif *);
|
||||
|
||||
+extern void __clear_cache(char *beg, char *end);
|
||||
+
|
||||
/* ffi_prep_args is called by the assembly routine once stack space
|
||||
has been allocated for the function's arguments
|
||||
|
Loading…
Reference in New Issue
Block a user