mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-15 18:39:00 +08:00
4af63c6f3e
Fix one of https://github.com/microsoft/vcpkg/issues/32398 issue.
The following error occurs when installing
`libopnmidi[core,pmdwin-emulator,gens-emulator]:x64-linux`.
```
/mnt/vcpkg/buildtrees/libopnmidi/src/v1.5.1-f0b18d03a5.clean/src/chips/pmdwin/op.h:36:8: error: unknown type name ‘inline’
36 | static inline int16_t Limit16(int a)
```
The upstream author has fixed this issue in this
[commit](2324ff2e34
).
However, the upstream has not released a new version for the time being,
so we fixed the issue through patches.
- [X] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
- [ ] ~~SHA512s are updated for each updated download.~~
- [ ] ~~The "supports" clause reflects platforms that may be fixed by
this new version.~~
- [ ] ~~Any fixed [CI
baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt)
entries are removed from that file.~~
- [ ] ~~Any patches that are no longer applied are deleted from the
port's directory.~~
- [X] The version database is fixed by rerunning `./vcpkg x-add-version
--all` and committing the result.
- [X] Only one version is added to each modified port's versions file.
Usage test pass with following triplets:
```
x64-windows
x64-linux
```
20 lines
398 B
JSON
20 lines
398 B
JSON
{
|
|
"versions": [
|
|
{
|
|
"git-tree": "3b11c2e9b745c94c0ed9eb46044a21704dd2e94a",
|
|
"version": "1.5.1",
|
|
"port-version": 2
|
|
},
|
|
{
|
|
"git-tree": "2451642c9d81eff6810839a5174ca60053330780",
|
|
"version": "1.5.1",
|
|
"port-version": 1
|
|
},
|
|
{
|
|
"git-tree": "552bea42a6f0f15bb5564602b51d9cda0a09dfd7",
|
|
"version": "1.5.1",
|
|
"port-version": 0
|
|
}
|
|
]
|
|
}
|