Package: epm
Version: 3.7-0.1
Severity: important
Tags: patch

Hi,

as talked about on debconf, sorry for the late report.

epm adds Architecture: ppc to generated debs which of course is wrong on
Debian where the Architecture is named powerpc.

The following patch taken from OOo upstrem fixes this:

--- epm-3.7.orig/deb.c
+++ epm-3.7/deb.c
@@ -108,8 +108,10 @@
   * (which we change in get_platform to a common name)
   */
 
-  if (strcmp(platform->machine, "intel") == 0)
+  if (strcmp(platform->machine, "intel"))
     fputs("Architecture: i386\n", fp);
+  else if (!strcmp(platform->machine, "ppc"))
+    fputs("Architecture: powerpc\n", fp);
   else
     fprintf(fp, "Architecture: %s\n", platform->machine);
 

Regards,

Rene

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (700, 'unstable'), (600, 'experimental')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12.1
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages epm depends on:
ii  libc6                     2.3.2.ds1-22   GNU C Library: Shared libraries an
ii  libgcc1                   1:4.0.1-2      GCC support library
ii  libstdc++6                4.0.1-2        The GNU Standard C++ Library v3
ii  libx11-6                  6.8.2.dfsg.1-4 X Window System protocol client li
ii  libxext6                  6.8.2.dfsg.1-4 X Window System miscellaneous exte
ii  libxft2                   2.1.7-1        FreeType-based font drawing librar
ii  xlibs                     6.8.2.dfsg.1-4 X Window System client libraries m

epm recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to