summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaleb Tennis <caleb@gentoo.org>2003-09-28 17:39:28 +0000
committerCaleb Tennis <caleb@gentoo.org>2003-09-28 17:39:28 +0000
commit6552e8b8d933630e1e50a8aa61c0064061ae979b (patch)
treef0605acb2f238239156829129554a1a1f51a2c84 /kde-base/arts/files
parentFixed for amd64 support. (diff)
downloadhistorical-6552e8b8d933630e1e50a8aa61c0064061ae979b.tar.gz
historical-6552e8b8d933630e1e50a8aa61c0064061ae979b.tar.bz2
historical-6552e8b8d933630e1e50a8aa61c0064061ae979b.zip
amd64 compilation patch
Diffstat (limited to 'kde-base/arts/files')
-rw-r--r--kde-base/arts/files/arts-1.1.4-amd64.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/kde-base/arts/files/arts-1.1.4-amd64.patch b/kde-base/arts/files/arts-1.1.4-amd64.patch
new file mode 100644
index 000000000000..61fe8f9c06e8
--- /dev/null
+++ b/kde-base/arts/files/arts-1.1.4-amd64.patch
@@ -0,0 +1,12 @@
+--- flow/gsl/gslglib.h 2003-07-13 15:33:38.000000000 -0400
++++ flow/gsl/gslglib.h 2003-09-27 18:12:04.368204936 -0400
+@@ -507,6 +507,9 @@
+ #if !defined (G_VA_COPY)
+ # if defined (__GNUC__) && ( defined (__PPC__) || defined (__s390__) ) && (defined (_CALL_SYSV) || defined (_WIN32) || defined (__s390__) )
+ # define G_VA_COPY(ap1, ap2) (*(ap1) = *(ap2))
++# elif defined (__x86_64__)
++# include <stdarg.h>
++# define G_VA_COPY(ap1, ap2) __va_copy((ap1), (ap2))
+ # elif defined (G_VA_COPY_AS_ARRAY)
+ # define G_VA_COPY(ap1, ap2) g_memmove ((ap1), (ap2), sizeof (va_list))
+ # else /* va_list is a pointer */