vcpkg/ports/libsercomm/dev-SER_END_DECL-fix.patch
StillGreen-san db19a19ba8
[libsercomm] fix C++ compatibility macro usage (#37179)
this fixes a typo in sercomm/dev.h that results in errors when included
in C++

- [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.

why a patch?
[upstream](https://github.com/ingeniamc/sercomm) seems to be
unmaintained, an [issue](https://github.com/ingeniamc/sercomm/issues/2)
& a [pull request](https://github.com/ingeniamc/sercomm/pull/3)
regarding this issue have existed for years/months respectively
2024-03-08 12:35:16 -08:00

11 lines
213 B
Diff

--- a/include/public/sercomm/dev.h
+++ b/include/public/sercomm/dev.h
@@ -137,6 +137,6 @@ SER_EXPORT void ser_dev_monitor_stop(ser_dev_mon_t *mon);
/** @} */
-SER_BEGIN_DECL
+SER_END_DECL
#endif