File: 07_compile_fixes.patch

package info (click to toggle)
mxml 4.0.4-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,672 kB
  • sloc: ansic: 4,246; sh: 3,389; makefile: 522; cpp: 178; xml: 56
file content (26 lines) | stat: -rw-r--r-- 683 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Description: Insert defines or compilation will break after autotools adjusts headers
Author: Alastair McKinstry <mckinstry@debian.org>
Last-Updated: 2019-08-22
Forwarded: no

--- a/mxml.h
+++ b/mxml.h
@@ -18,6 +18,7 @@
 #  include <string.h>
 #  include <ctype.h>
 #  include <errno.h>
+#  include <stdarg.h>
 #  include <limits.h>
 #  ifdef __cplusplus
 extern "C" {
--- a/mxml-private.h
+++ b/mxml-private.h
@@ -134,4 +134,8 @@
 extern char		*_mxml_strcopy(const char *s);
 extern void		_mxml_strfree(char *s);
 
+char *_mxml_vstrdupf(const char *format, va_list ap);
+char *_mxml_strdup(const char *s);
+char *_mxml_strdupf(const char *format, ...);
+
 #endif // !MXML_PRIVATE_H