I've forked your project and made some modifications to get it to compile, but I'm not familiar enough with Dart to figure these out. I know it's been several months since you've updated it, but I hope you'll consider giving it a refresh.
This is where it's failing after my very slight modifications.
src/mod_dart.c: In function 'bool IsolateCreate(const char_, const char_, void_, char__)':
src/mod_dart.c:63:50: error: cannot convert 'Builtin::BuiltinLibraryId' to 'Dart_Handle {aka Dart_Handle}' for argument '1' to 'Dart_Handle* Dart_SetNativeResolver(Dart_Handle, Dart_NativeEntryResolver)'
src/mod_dart.c:64:45: error: cannot convert 'Builtin::BuiltinLibraryId' to 'Dart_Handle {aka Dart_Handle}' for argument '1' to 'Dart_Handle Dart_SetNativeResolver(Dart_Handle, Dart_NativeEntryResolver)'
src/mod_dart.c: In function 'void dart_child_init(apr_pool_t, server_rec_)':
src/mod_dart.c:248:98: error: too few arguments to function 'bool Dart_Initialize(Dart_IsolateCreateCallback, Dart_IsolateInterruptCallback, Dart_IsolateShutdownCallback)'
/home/michael/dart/dart-repo/dart/runtime/include/dart_api.h:631:18: note: declared here
src/mod_dart.c: In function 'int dart_snapshots(apr_pool_t_, apr_pool_t_, apr_pool_t_, server_rec_)':
src/mod_dart.c:347:96: error: too few arguments to function 'bool Dart_Initialize(Dart_IsolateCreateCallback, Dart_IsolateInterruptCallback, Dart_IsolateShutdownCallback)'
/home/michael/dart/dart-repo/dart/runtime/include/dart_api.h:631:18: note: declared here
apxs:Error: Command failed with rc=65536
I've forked your project and made some modifications to get it to compile, but I'm not familiar enough with Dart to figure these out. I know it's been several months since you've updated it, but I hope you'll consider giving it a refresh.
This is where it's failing after my very slight modifications.
src/mod_dart.c: In function 'bool IsolateCreate(const char_, const char_, void_, char__)':
src/mod_dart.c:63:50: error: cannot convert 'Builtin::BuiltinLibraryId' to 'Dart_Handle {aka Dart_Handle}' for argument '1' to 'Dart_Handle* Dart_SetNativeResolver(Dart_Handle, Dart_NativeEntryResolver)'
src/mod_dart.c:64:45: error: cannot convert 'Builtin::BuiltinLibraryId' to 'Dart_Handle {aka Dart_Handle}' for argument '1' to 'Dart_Handle Dart_SetNativeResolver(Dart_Handle, Dart_NativeEntryResolver)'
src/mod_dart.c: In function 'void dart_child_init(apr_pool_t, server_rec_)':
src/mod_dart.c:248:98: error: too few arguments to function 'bool Dart_Initialize(Dart_IsolateCreateCallback, Dart_IsolateInterruptCallback, Dart_IsolateShutdownCallback)'
/home/michael/dart/dart-repo/dart/runtime/include/dart_api.h:631:18: note: declared here
src/mod_dart.c: In function 'int dart_snapshots(apr_pool_t_, apr_pool_t_, apr_pool_t_, server_rec_)':
src/mod_dart.c:347:96: error: too few arguments to function 'bool Dart_Initialize(Dart_IsolateCreateCallback, Dart_IsolateInterruptCallback, Dart_IsolateShutdownCallback)'
/home/michael/dart/dart-repo/dart/runtime/include/dart_api.h:631:18: note: declared here
apxs:Error: Command failed with rc=65536