Bug#502993: Altivec detection broken

Michel Dänzer daenzer at debian.org
Tue Oct 21 15:43:00 UTC 2008


Package: libsdl1.2
Version: 1.2.13-4
Severity: normal
Tags: patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


The configure script incorrectly concludes that no Altivec code can be compiled
because just #including altivec.h throws an #error without specifying -maltivec
as well (and possibly vice versa). The attached patch fixes this by just trying
the four combinations of -maltivec or -faltivec with or without #including
altivec.h.

(Of course, debian/patches/100_relibtoolize.diff needs to be updated as
well to propagate the fix to the actual configure script)


- -- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (102, 'experimental')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.26.6
Locale: LANG=de_CH.UTF-8, LC_CTYPE=de_CH.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFI/fh+WoGvjmrbsgARApLgAJ982jlidX4aTcTiDhN+a/IsF1jECACfcC6l
lB6d+iAjbab8jutBpvqPVfQ=
=c8CK
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 099_altivec_detection.diff
Type: text/x-diff
Size: 3900 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-sdl-maintainers/attachments/20081021/22f1a33d/attachment.diff 


More information about the Pkg-sdl-maintainers mailing list