mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-09 20:29:10 +02:00
Add a workaround for compilation with Wine 5.7+
This commit is contained in:
@@ -14,6 +14,11 @@ Versioning](https://semver.org/spec/v2.0.0.html).
|
|||||||
initialization process without telling the host. This fixes the Roland Cloud
|
initialization process without telling the host. This fixes the Roland Cloud
|
||||||
plugins.
|
plugins.
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Added a workaround for the compilation issues under Wine 5.7 and above as
|
||||||
|
caused by [Wine bug 49138](https://bugs.winehq.org/show_bug.cgi?id=49138).
|
||||||
|
|
||||||
## [1.1.2] - 2020-05-09
|
## [1.1.2] - 2020-05-09
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|||||||
@@ -204,13 +204,10 @@ To compile yabridge, you'll need [Meson](https://mesonbuild.com/index.html) and
|
|||||||
the following dependencies:
|
the following dependencies:
|
||||||
|
|
||||||
- gcc (tested using GCC 9.2)
|
- gcc (tested using GCC 9.2)
|
||||||
- A Wine installation with `winegcc` and the development headers. At the moment
|
- A Wine installation with `winegcc` and the development headers. The latest
|
||||||
there's a regression in **Wine 5.7+** causing compiled winelib applications to
|
commits contain a workaround for a winelib [compilation
|
||||||
break. I've created an issue for this on WineHQ's [bug
|
issue](https://bugs.winehq.org/show_bug.cgi?id=49138) with Wine 5.7+.
|
||||||
tracker](https://bugs.winehq.org/show_bug.cgi?id=49138). You'll have to
|
- Boost with at least `libboost_filesystem.a`
|
||||||
temporarily downgrade to an earlier version of Wine if you've got Wine 5.7
|
|
||||||
installed and you're trying to compile yabridge.
|
|
||||||
- Boost
|
|
||||||
- xcb
|
- xcb
|
||||||
|
|
||||||
The following dependencies are included in the repository as a Meson wrap:
|
The following dependencies are included in the repository as a Meson wrap:
|
||||||
|
|||||||
@@ -22,7 +22,10 @@
|
|||||||
|
|
||||||
#include "wine-bridge.h"
|
#include "wine-bridge.h"
|
||||||
|
|
||||||
int main(int argc, char* argv[]) {
|
// This explicit calling convention is needed to work around a bug introduced in
|
||||||
|
// Wine 5.7
|
||||||
|
// https://bugs.winehq.org/show_bug.cgi?id=49138
|
||||||
|
int __cdecl main(int argc, char* argv[]) {
|
||||||
// We pass the name of the VST plugin .dll file to load and the Unix domain
|
// We pass the name of the VST plugin .dll file to load and the Unix domain
|
||||||
// socket to connect to in plugin/bridge.cpp as the first two arguments of
|
// socket to connect to in plugin/bridge.cpp as the first two arguments of
|
||||||
// this process.
|
// this process.
|
||||||
|
|||||||
Reference in New Issue
Block a user