depot/third_party/nixpkgs/pkgs/development/tools/build-managers/build2/remove-const-void-param.patch
Default email d2947cfef0 Project import generated by Copybara.
GitOrigin-RevId: 598f83ebeb2235435189cf84d844b8b73e858e0f
2022-10-06 20:32:54 +02:00

11 lines
445 B
Diff

--- build2-0.14.0_/libbuild2/cc/pkgconfig.cxx 2022-10-04 14:18:24.864604892 -0400
+++ build2-0.14.0/libbuild2/cc/pkgconfig.cxx 2022-10-04 14:20:58.153254961 -0400
@@ -186,7 +186,7 @@
;
static bool
- pkgconf_error_handler (const char* msg, const pkgconf_client_t*, const void*)
+ pkgconf_error_handler (const char* msg, const pkgconf_client_t*, void*)
{
error << runtime_error (msg); // Sanitize the message.
return true;