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

Index: epm-4.2/deb.c
===================================================================
--- epm-4.2.orig/deb.c	2011-02-20 10:29:24.000000000 -0500
+++ epm-4.2/deb.c	2011-02-20 10:30:50.000000000 -0500
@@ -246,6 +246,8 @@
     fputs("Architecture: i386\n", fp);
   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);
 
