File: fix-va-define-s390x.patch

package info (click to toggle)
emboss 6.6.0%2Bdfsg-18
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 572,632 kB
  • sloc: ansic: 460,579; java: 29,383; perl: 13,573; sh: 12,753; makefile: 3,293; csh: 706; asm: 351; xml: 239; pascal: 237; modula3: 8
file content (16 lines) | stat: -rw-r--r-- 556 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Check for s390x arch when defining VALIST items in ajfmt.c
Author: Lena Voytek <lena.voytek@canonical.com>
Last-Update: 2025-03-19
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/ajax/core/ajfmt.c
+++ b/ajax/core/ajfmt.c
@@ -80,7 +80,7 @@
 #define EVF_BUF 128
 
 #if defined(__x86_64__) || defined(__amd64__) || defined(__EM64T__) ||  \
-    defined(__PPC__) && defined(_CALL_SYSV)
+    defined(__s390x__) || defined(__PPC__) && defined(_CALL_SYSV)
 #define VALIST va_list
 #define VA_P(x) (x)
 #define VA_V(x) (x)