0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-27 06:18:57 +00:00
termux-packages/x11-packages/ardour/dynamic_pointer_cast.patch
2022-12-07 06:37:56 +00:00

30 lines
738 B
Diff

See https://github.com/android/ndk/issues/533
--- a/libs/ardour/ardour/port_engine.h
+++ b/libs/ardour/ardour/port_engine.h
@@ -78,7 +78,7 @@
class LIBARDOUR_API ProtoPort {
public:
ProtoPort() {}
- virtual ~ProtoPort () {}
+ virtual ~ProtoPort ();
};
class LIBARDOUR_API PortEngine
--- a/libs/ardour/port_engine.cc
+++ b/libs/ardour/port_engine.cc
@@ -0,0 +1,3 @@
+#include "ardour/port_engine.h"
+using namespace ARDOUR;
+ProtoPort::~ProtoPort() {}
--- a/libs/ardour/wscript
+++ b/libs/ardour/wscript
@@ -186,6 +186,7 @@
'plugin_scan_result.cc',
'polarity_processor.cc',
'port.cc',
+ 'port_engine.cc',
'port_engine_shared.cc',
'port_insert.cc',
'port_manager.cc',