Bug#684361: libhdf4: FTBFS on powerpc64

Aurelien Jarno aurel32 at debian.org
Thu Aug 9 07:27:49 UTC 2012


Source: libhdf4
Version: 4.2r4-13
Severity: normal
Tags: patch

libhdf4 FTBFS on powerpc64 due to the fact hdfi.h is patched to add a
definition for powerpc. Unfortunately, the way it is written it matches
both powerpc and powerpc64, and conflicts with the powerpc64 definition
present a bit later in this file.

The patch below fixes the problem. Would it be possible to apply it in 
the next upload? Thanks in advance.


diff -u libhdf4-4.2r4/debian/patches/hdfi.h libhdf4-4.2r4/debian/patches/hdfi.h
--- libhdf4-4.2r4/debian/patches/hdfi.h
+++ libhdf4-4.2r4/debian/patches/hdfi.h
@@ -181,7 +181,7 @@
 +
 +#endif /* Linux/Sparc */
 +
-+#if defined (__linux__) && defined (__powerpc__)
++#if defined (__linux__) && defined (__powerpc__) && !defined(__powerpc64__)
 +
 +#ifdef GOT_MACHINE
 +If you get an error on this line more than one machine type has been defined.


-- System Information:
Debian Release: wheezy/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: ppc64

Kernel: Linux 3.2.0-3-powerpc64 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



More information about the Pkg-grass-devel mailing list