Allow header to work with C++.
Request by chris@ for an upcoming port. ok chris@
This commit is contained in:
parent
7a7711347d
commit
5c904bb59f
@ -1,10 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.3 2019/07/12 20:44:37 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.4 2021/06/07 01:00:45 bcallah Exp $
|
||||
|
||||
# Only used by lang/flang; only supported on amd64 and arm64
|
||||
ONLY_FOR_ARCHS = amd64 arm64
|
||||
|
||||
COMMENT = port of POSIX asynchronous I/O routines from DragonFly BSD
|
||||
DISTNAME = libaio_compat-5.2.2
|
||||
REVISION = 0
|
||||
CATEGORIES = devel
|
||||
|
||||
SHARED_LIBS += aio_compat 0.0 # 0.0
|
||||
|
14
devel/libaio_compat/patches/patch-aio_compat_h
Normal file
14
devel/libaio_compat/patches/patch-aio_compat_h
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-aio_compat_h,v 1.1 2021/06/07 01:00:45 bcallah Exp $
|
||||
|
||||
Index: aio_compat.h
|
||||
--- aio_compat.h.orig
|
||||
+++ aio_compat.h
|
||||
@@ -128,7 +128,7 @@ int aio_write(struct aiocb *);
|
||||
* "acb_list" is an array of "nacb_listent" I/O control blocks.
|
||||
* when all I/Os are complete, the optional signal "sig" is sent.
|
||||
*/
|
||||
-int lio_listio(int, struct aiocb * __restrict const[__restrict_arr], int,
|
||||
+int lio_listio(int, struct aiocb * __restrict const[], int,
|
||||
struct sigevent * __restrict);
|
||||
|
||||
/*
|
Loading…
Reference in New Issue
Block a user