Description: Fix Architecture in Debian packages for x86_64.
 Debian packages for the x86_64 architecture should have the Architecture
 set to "amd64" not "x86_64".  This patch fixes that.
Bug-Debian: http://bugs.debian.org/573433
Author: Jeff Licquia <licquia@debian.org>
Last-Update: 2011-02-19

--- a/deb.c
+++ b/deb.c
@@ -284,6 +284,8 @@ make_subpackage(const char *prodname,
 #endif
     else if (!strcmp(platform->machine, "ppc"))
         fputs("Architecture: powerpc\n", fp);
+    else if (!strcmp(platform->machine, "x86_64"))
+        fputs("Architecture: amd64\n", fp);
     else
         fprintf(fp, "Architecture: %s\n", platform->machine);
 
