libgpg-error: fix compilation with armv*/aarch64*.
Closes: #12588 [via git-merge-pr]
This commit is contained in:
parent
d4c861fb54
commit
3a4a1d6c5d
1 changed files with 19 additions and 0 deletions
19
srcpkgs/libgpg-error/patches/fix-armv.patch
Normal file
19
srcpkgs/libgpg-error/patches/fix-armv.patch
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
--- src/logging.c
|
||||||
|
+++ src/logging.c
|
||||||
|
@@ -1142,6 +1142,7 @@ _gpgrt_log_printhex (const void *buffer, size_t length,
|
||||||
|
const char *fmt, ...)
|
||||||
|
{
|
||||||
|
va_list arg_ptr;
|
||||||
|
+ va_list empty_va_list;
|
||||||
|
|
||||||
|
if (fmt)
|
||||||
|
{
|
||||||
|
@@ -1150,7 +1151,7 @@ _gpgrt_log_printhex (const void *buffer, size_t length,
|
||||||
|
va_end (arg_ptr);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
- _gpgrt_logv_printhex (buffer, length, NULL, NULL);
|
||||||
|
+ _gpgrt_logv_printhex (buffer, length, NULL, empty_va_list);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue