Hi, On 19/04/18 21:32, Manuel A. Fernandez Montecelo wrote: > Source: mpg123 > Version: 1.25.10-1 > Severity: normal > Tags: patch > User: debian-ri...@lists.debian.org > Usertags: riscv64 > > Hi, > > We are in the process of bootstrapping a Debian port for the riscv64 > architecture (https://wiki.debian.org/RISC-V). > > The symbols need to be updated for this arch, please see the patch attached. > > We would appreciate if you could upload a version soonish to unstable > including > this fix, to keep the delta as small as possible.
Is it possible to do this more intelligently to cope with the most common cases, and handle new architectures (at least the ones which follow the same rules)? These symbols are present iff the default (without LFS) size of off_t is 32-bits. My scouring of the glibc source tells me: on kfreebsd sizeof(off_t) == 8 on hurd sizeof(off_t) == sizeof(long) on linux sizeof(off_t) == sizeof(long) with the sole exception of x32, where sizeof(off_t) == 8 Maybe this is a better restriction (requires dpkg-dev 1.18)? (arch-bits=32|arch=!kfreebsd-any !x32) Thanks, James
signature.asc
Description: OpenPGP digital signature