From 3a4a1d6c5d35822cefd685d5541c02702c3505f6 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Fri, 16 Mar 2018 08:26:48 -0300 Subject: [PATCH] libgpg-error: fix compilation with armv*/aarch64*. Closes: #12588 [via git-merge-pr] --- srcpkgs/libgpg-error/patches/fix-armv.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 srcpkgs/libgpg-error/patches/fix-armv.patch diff --git a/srcpkgs/libgpg-error/patches/fix-armv.patch b/srcpkgs/libgpg-error/patches/fix-armv.patch new file mode 100644 index 0000000000..137df348eb --- /dev/null +++ b/srcpkgs/libgpg-error/patches/fix-armv.patch @@ -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); + } + +