void-packages/srcpkgs/cbang/patches/va_copy.patch
Jürgen Buchmüller 576470cb3a New package: cbang-1.3.3
Prerequisite for building fah-viewer of Folding@Home.
2020-04-06 09:11:50 +02:00

11 lines
331 B
Diff

--- src/cbang/String.cpp 2020-01-20 01:56:06.000000000 +0100
+++ src/cbang/String.cpp 2020-04-06 08:56:17.307708533 +0200
@@ -116,7 +116,7 @@
string String::vprintf(const char *format, va_list ap) {
va_list copy;
- __va_copy(copy, ap);
+ va_copy(copy, ap);
int length = vsnprintf(0, 0, format, copy);
va_end(copy);