Package: src:libhdf4
Version: 4.2r4-13

In debian/patches/hdfi.h, for mips

+typedef long int          int32;
+typedef unsigned long int uint32;
+typedef int               hdf_pint_t;

Make it ftbfs on mips64(el), while if changed to

+typedef int          int32;
+typedef unsigned int uint32;
+typedef long               hdf_pint_t;

it builds successfully.
This modification should keep ABI compatible for current mips/mipsel,
While I am not very sure about ABI status.

For mips ABIs

O32:
    int -> 32bit
    long -> 32bit
    void * -> 32bit
    short -> 16bit
    long long -> 64bit

N32:
    int -> 32bit
    long -> 32bit
    void * -> 32bit
    short -> 16bit
    long long -> 64bit


N64:
    int -> 32bit
    long -> 64bit
    void * -> 64bit
    short -> 16bit
    long long -> 64bit

-- 
Yunqiang Su


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

Reply via email to