Your message dated Mon, 05 Oct 2009 19:47:29 +0000
with message-id <[email protected]>
and subject line Bug#502993: fixed in libsdl1.2 1.2.13-5
has caused the Debian Bug report #502993,
regarding Altivec detection broken
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
502993: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=502993
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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-----
Index: libsdl1.2-1.2.13/configure.in
===================================================================
--- libsdl1.2-1.2.13.orig/configure.in	2008-10-21 16:19:05.000000000 +0200
+++ libsdl1.2-1.2.13/configure.in	2008-10-21 16:27:11.000000000 +0200
@@ -749,64 +749,66 @@
 AC_HELP_STRING([--enable-altivec], [use altivec assembly blitters on PPC [[default=yes]]]),
                   , enable_altivec=yes)
     if test x$enable_video = xyes -a x$enable_assembly = xyes -a x$enable_altivec = xyes; then
-        have_altivec_h_hdr=no
-        AC_CHECK_HEADER(altivec.h, have_altivec_h_hdr=yes)
-
         save_CFLAGS="$CFLAGS"
         have_gcc_altivec=no
-        AC_MSG_CHECKING(for Altivec with GCC -maltivec option)
+        have_altivec_h_hdr=no
         altivec_CFLAGS="-maltivec"
         CFLAGS="$save_CFLAGS $altivec_CFLAGS"
 
-        if test x$have_altivec_h_hdr = xyes; then
-          AC_TRY_COMPILE([
-          #include <altivec.h>
-          vector unsigned int vzero() {
-              return vec_splat_u32(0);
-          }
-          ],[
-          ],[
-          have_gcc_altivec=yes
-          ])
-          AC_MSG_RESULT($have_gcc_altivec)
-        else
-          AC_TRY_COMPILE([
-          vector unsigned int vzero() {
-              return vec_splat_u32(0);
-          }
-          ],[
-          ],[
-          have_gcc_altivec=yes
-          ])
-          AC_MSG_RESULT($have_gcc_altivec)
+        AC_MSG_CHECKING(for Altivec with GCC altivec.h and -maltivec option)
+        AC_TRY_COMPILE([
+        #include <altivec.h>
+        vector unsigned int vzero() {
+            return vec_splat_u32(0);
+        }
+        ],[
+        ],[
+        have_gcc_altivec=yes
+        have_altivec_h_hdr=yes
+        ])
+        AC_MSG_RESULT($have_gcc_altivec)
+
+        if test x$have_gcc_altivec = xno; then
+            AC_MSG_CHECKING(for Altivec with GCC -maltivec option)
+            AC_TRY_COMPILE([
+            vector unsigned int vzero() {
+                return vec_splat_u32(0);
+            }
+            ],[
+            ],[
+            have_gcc_altivec=yes
+            ])
+            AC_MSG_RESULT($have_gcc_altivec)
         fi
 
         if test x$have_gcc_altivec = xno; then
-            AC_MSG_CHECKING(for Altivec with GCC -faltivec option)
+            AC_MSG_CHECKING(for Altivec with GCC altivec.h and -faltivec option)
             altivec_CFLAGS="-faltivec"
             CFLAGS="$save_CFLAGS $altivec_CFLAGS"
-            if test x$have_altivec_h_hdr = xyes; then
-              AC_TRY_COMPILE([
-              #include <altivec.h>
-              vector unsigned int vzero() {
-                  return vec_splat_u32(0);
-              }
-              ],[
-              ],[
-              have_gcc_altivec=yes
-              ])
-              AC_MSG_RESULT($have_gcc_altivec)
-            else
-              AC_TRY_COMPILE([
-              vector unsigned int vzero() {
-                  return vec_splat_u32(0);
-              }
-              ],[
-              ],[
-              have_gcc_altivec=yes
-              ])
-              AC_MSG_RESULT($have_gcc_altivec)
-            fi
+            AC_TRY_COMPILE([
+            #include <altivec.h>
+            vector unsigned int vzero() {
+                return vec_splat_u32(0);
+            }
+            ],[
+            ],[
+            have_gcc_altivec=yes
+            have_altivec_h_hdr=yes
+            ])
+            AC_MSG_RESULT($have_gcc_altivec)
+	fi
+
+        if test x$have_gcc_altivec = xno; then
+            AC_MSG_CHECKING(for Altivec with GCC -faltivec option)
+            AC_TRY_COMPILE([
+            vector unsigned int vzero() {
+                return vec_splat_u32(0);
+            }
+            ],[
+            ],[
+            have_gcc_altivec=yes
+            ])
+            AC_MSG_RESULT($have_gcc_altivec)
         fi
         CFLAGS="$save_CFLAGS"
 

--- End Message ---
--- Begin Message ---
Source: libsdl1.2
Source-Version: 1.2.13-5

We believe that the bug you reported is fixed in the latest version of
libsdl1.2, which is due to be installed in the Debian FTP archive:

libsdl1.2-dev_1.2.13-5_i386.deb
  to pool/main/libs/libsdl1.2/libsdl1.2-dev_1.2.13-5_i386.deb
libsdl1.2_1.2.13-5.diff.gz
  to pool/main/libs/libsdl1.2/libsdl1.2_1.2.13-5.diff.gz
libsdl1.2_1.2.13-5.dsc
  to pool/main/libs/libsdl1.2/libsdl1.2_1.2.13-5.dsc
libsdl1.2debian-all_1.2.13-5_i386.deb
  to pool/main/libs/libsdl1.2/libsdl1.2debian-all_1.2.13-5_i386.deb
libsdl1.2debian-alsa_1.2.13-5_i386.deb
  to pool/main/libs/libsdl1.2/libsdl1.2debian-alsa_1.2.13-5_i386.deb
libsdl1.2debian-arts_1.2.13-5_i386.deb
  to pool/main/libs/libsdl1.2/libsdl1.2debian-arts_1.2.13-5_i386.deb
libsdl1.2debian-esd_1.2.13-5_i386.deb
  to pool/main/libs/libsdl1.2/libsdl1.2debian-esd_1.2.13-5_i386.deb
libsdl1.2debian-nas_1.2.13-5_i386.deb
  to pool/main/libs/libsdl1.2/libsdl1.2debian-nas_1.2.13-5_i386.deb
libsdl1.2debian-oss_1.2.13-5_i386.deb
  to pool/main/libs/libsdl1.2/libsdl1.2debian-oss_1.2.13-5_i386.deb
libsdl1.2debian-pulseaudio_1.2.13-5_i386.deb
  to pool/main/libs/libsdl1.2/libsdl1.2debian-pulseaudio_1.2.13-5_i386.deb
libsdl1.2debian-udeb_1.2.13-5_i386.udeb
  to pool/main/libs/libsdl1.2/libsdl1.2debian-udeb_1.2.13-5_i386.udeb
libsdl1.2debian_1.2.13-5_i386.deb
  to pool/main/libs/libsdl1.2/libsdl1.2debian_1.2.13-5_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Barry deFreese <[email protected]> (supplier of updated libsdl1.2 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


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

Format: 1.8
Date: Thu, 01 Oct 2009 16:45:49 -0400
Source: libsdl1.2
Binary: libsdl1.2debian libsdl1.2debian-all libsdl1.2debian-alsa 
libsdl1.2debian-oss libsdl1.2debian-esd libsdl1.2debian-arts 
libsdl1.2debian-nas libsdl1.2debian-pulseaudio libsdl1.2debian-udeb 
libsdl1.2-dev
Architecture: source i386
Version: 1.2.13-5
Distribution: unstable
Urgency: low
Maintainer: Debian SDL packages maintainers 
<[email protected]>
Changed-By: Barry deFreese <[email protected]>
Description: 
 libsdl1.2-dev - Simple DirectMedia Layer development files
 libsdl1.2debian - Simple DirectMedia Layer
 libsdl1.2debian-all - Simple DirectMedia Layer (with all available options)
 libsdl1.2debian-alsa - Simple DirectMedia Layer (with X11 and ALSA options)
 libsdl1.2debian-arts - Simple DirectMedia Layer (with X11 and aRts options)
 libsdl1.2debian-esd - Simple DirectMedia Layer (with X11 and esound options)
 libsdl1.2debian-nas - Simple DirectMedia Layer (with X11 and NAS options)
 libsdl1.2debian-oss - Simple DirectMedia Layer (with X11 and OSS options)
 libsdl1.2debian-pulseaudio - Simple DirectMedia Layer (with X11 and PulseAudio 
options)
 libsdl1.2debian-udeb - Simple DirectMedia Layer (with directfb graphics and no 
sound) (udeb)
Closes: 438915 450689 502993 541365 549240
Changes: 
 libsdl1.2 (1.2.13-5) unstable; urgency=low
 .
   [ Barry deFreese ]
   * Add myself to uploaders.
   * Add watch file.
   * Add Homepage: field to source stanza.
   * Fix Vcs-Browser path.
   * 310_segfault_noGLX.diff - Don't segfault when no GLX. (Closes: 541365).
     + Thanks to Gonéri Le Bouder for the fix.
   * 050_altivec_detection.diff - Detect Altivec machines. (Closes: #502993).
     + Update 100_libtoolize.diff.
   * 320_activate_xrandr_on_default.diff - Enable xrandr. (Closes: #450689).
     + Thanks to Kai Wasserbäch for the patch.
   * 221_check_SDL_NOKBD_environment_variable.diff. (Closes: #438915).
     + Thanks to Bernhard Kauer for the patch.
   * Remove manpage from libsdl1.2-dev.install, installed by dh_installman.
   * Remove duplicate sections from binary packages.
   * Bump debhelper build-dep version and compat to 5.
   * Bump Standards Version to 3.8.3
 .
   [ Aurelien Jarno ]
   * 100_config_update.diff: update config.guess/sub. (Closes: #549240).
Checksums-Sha1: 
 cc5039a1058315c2626bf8b1ee6f65bef83b0a9c 1967 libsdl1.2_1.2.13-5.dsc
 180e009c66240a8edb2facd493c6e596ac2284b5 518741 libsdl1.2_1.2.13-5.diff.gz
 74e5ae4e237adec8381795d3f87891618d463cdd 20010 
libsdl1.2debian_1.2.13-5_i386.deb
 9775f553a525fffbda144159a96c0e473268bf02 224198 
libsdl1.2debian-all_1.2.13-5_i386.deb
 448c3ac05ded7112ffcea2ca5544d092eb4569c1 213814 
libsdl1.2debian-alsa_1.2.13-5_i386.deb
 b3ee898379a001db89d12940436570342706f2ce 214514 
libsdl1.2debian-oss_1.2.13-5_i386.deb
 8af661cf344845828d1db56a0db3aaa1e49a6d98 212878 
libsdl1.2debian-esd_1.2.13-5_i386.deb
 247a987aae0561cd274b8219e7074582e1fd3aaf 212896 
libsdl1.2debian-arts_1.2.13-5_i386.deb
 f5eb4c818466d539b9bdf780b12c4d13fb597135 213082 
libsdl1.2debian-nas_1.2.13-5_i386.deb
 4f3b55440148335e6177a95aad314865188a99d8 212862 
libsdl1.2debian-pulseaudio_1.2.13-5_i386.deb
 f4592857e5f817bbf6f31a760ed6b59b7e87409c 121148 
libsdl1.2debian-udeb_1.2.13-5_i386.udeb
 9198e16a5e9bf10fc523b7f881e7e1d1753d6dd6 853520 libsdl1.2-dev_1.2.13-5_i386.deb
Checksums-Sha256: 
 4fcde80ba26b39b18ba0219a98a3e64388b0ab933b3a8c7978fa138c4aeae5d6 1967 
libsdl1.2_1.2.13-5.dsc
 6994e6114fa6c2e6d36b3b30013f4d32b100f948a275e0e603dff8232213ab33 518741 
libsdl1.2_1.2.13-5.diff.gz
 c8acdb56e8cde5b1461598e5d3286cd4f763397c0af625d57a80a204308d3592 20010 
libsdl1.2debian_1.2.13-5_i386.deb
 2ceba917da7e2920cd3f8959f7009ce7d1972f4b9aaeed08c44f0e41cdbbff52 224198 
libsdl1.2debian-all_1.2.13-5_i386.deb
 65bb48f4e610ac9b3ab1e89fbc57798752bf3cada6cd5d12c4f195d7bdad100a 213814 
libsdl1.2debian-alsa_1.2.13-5_i386.deb
 f0f9f4f03e53c15f5d9e34f8a6f2bcab5b5c5ffada8745ba3103dca62ddd5047 214514 
libsdl1.2debian-oss_1.2.13-5_i386.deb
 8b6faa8503ad0840a3bc5d5ca6db061449c8df777d6b855123fcc9dab991b859 212878 
libsdl1.2debian-esd_1.2.13-5_i386.deb
 994f61a3bbff3177fb1c66eab6b5dbd392e3daa0ce2856cbda71860ca9da7988 212896 
libsdl1.2debian-arts_1.2.13-5_i386.deb
 2b23ed0a234e03e9f9267c044b3aa7b70b8ef33d234ee5ace6facae6b8d69f2e 213082 
libsdl1.2debian-nas_1.2.13-5_i386.deb
 24a31ea73a090eeca41e1659c08a954aca41c2993ae7e8777ac02f743f36a817 212862 
libsdl1.2debian-pulseaudio_1.2.13-5_i386.deb
 d80bc874d6c621348693fcc088576f6c987f4e35b4029e228c5e04d8c1f37325 121148 
libsdl1.2debian-udeb_1.2.13-5_i386.udeb
 b57e490862686c999092623464ce022597707dfb79647c3d6205c8c15c9b2e34 853520 
libsdl1.2-dev_1.2.13-5_i386.deb
Files: 
 d9527cc722152396dfd41e2413135fe0 1967 libs optional libsdl1.2_1.2.13-5.dsc
 6ff2b61889c9fd73c465144f6a1c392b 518741 libs optional 
libsdl1.2_1.2.13-5.diff.gz
 b70c05a14f5f0fd780a1502c3442bc43 20010 libs optional 
libsdl1.2debian_1.2.13-5_i386.deb
 d181e3950b8b79169017e565fc7aa3fe 224198 libs optional 
libsdl1.2debian-all_1.2.13-5_i386.deb
 58e81899edd344155076fe6468a7befc 213814 libs extra 
libsdl1.2debian-alsa_1.2.13-5_i386.deb
 b3b75ac4e94df09c2b0dad58e346617e 214514 libs extra 
libsdl1.2debian-oss_1.2.13-5_i386.deb
 5af94a309180855bd4e393bd0f75ae8e 212878 libs extra 
libsdl1.2debian-esd_1.2.13-5_i386.deb
 40a0197f39a55b2d2b180bfca40eea7d 212896 libs extra 
libsdl1.2debian-arts_1.2.13-5_i386.deb
 d639180cc3ff6e8f8c93c124cbec2b53 213082 libs extra 
libsdl1.2debian-nas_1.2.13-5_i386.deb
 b0c8f4ee919bc977904f05502e0691be 212862 libs extra 
libsdl1.2debian-pulseaudio_1.2.13-5_i386.deb
 d294cade1ab2a95d8efa86c2acb97111 121148 debian-installer extra 
libsdl1.2debian-udeb_1.2.13-5_i386.udeb
 67e562036665e02b475aaa4d50354a19 853520 libdevel optional 
libsdl1.2-dev_1.2.13-5_i386.deb
Package-Type: udeb

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

iEYEARECAAYFAkrKS0sACgkQ5ItltUs5T368jACglT/1aim1AnWYCHDV9wReN7OX
LfAAnRS8rKxCDysEbdoNLURPTFwLqZwj
=ABOW
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to