gnu: whois: Update to 5.2.13.
[jackhill/guix/guix.git] / gnu / packages / patches / weex-vacopy.patch
CommitLineData
8cc91fa0
AE
1Taken from the Debian 2.8.0 package.
2
3--- weex-2.6.1.5/src/strlib.c 2003-08-18 11:52:38.000000000 +0200
4+++ weex-2.8.0/src/strlib.c 2007-12-04 14:22:02.000000000 +0100
5@@ -42,6 +42,8 @@
6 # define G_VA_COPY(ap1, ap2) (*(ap1) = *(ap2))
7 # elif defined (G_VA_COPY_AS_ARRAY)
8 # define G_VA_COPY(ap1, ap2) g_memmove ((ap1), (ap2), sizeof (va_list))
9+# elif defined (__x86_64__)
10+# define G_VA_COPY(ap1, ap2) memmove ((ap1), (ap2), sizeof (va_list))
11 # else /* va_list is a pointer */
12 # define G_VA_COPY(ap1, ap2) ((ap1) = (ap2))
13 # endif /* va_list is a pointer */