aboutsummaryrefslogtreecommitdiff
path: root/devel/gaul/files
diff options
context:
space:
mode:
Diffstat (limited to 'devel/gaul/files')
-rw-r--r--devel/gaul/files/patch-util::str_util.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/devel/gaul/files/patch-util::str_util.c b/devel/gaul/files/patch-util::str_util.c
new file mode 100644
index 000000000000..f841ceea18af
--- /dev/null
+++ b/devel/gaul/files/patch-util::str_util.c
@@ -0,0 +1,14 @@
+--- util/str_util.c.orig Wed Jul 16 23:56:06 2003
++++ util/str_util.c Sat Feb 7 22:19:51 2004
+@@ -1103,7 +1103,11 @@
+ /*
+ * Determine required size for destination buffer.
+ */
++ #if defined(__amd64__)
++ va_copy(orig_ap, ap);
++ #else
+ orig_ap = ap;
++ #endif
+ len = strlen(str);
+
+ while ( (sp = va_arg(ap, char *))!=NULL ) len += strlen(sp);