Package: ogle
Severity: serious
Tags: patch

The configure check for the libasound version is broken and so with
libasound >= 1.0.0 the package is wrongly build without alsa support.
After fixing that I found another gcc 4.0 caused FTBFS, which is also fixed
in the attached patch. After applying the patch one needs to run autoconf
to regenerate configure, obviously.

What I didn't find out yet is why the package also looses its dependency on
libxml2, therefor I didn't uploaded it...

diff -Naur ogle-0.9.2.bak/configure.in ogle-0.9.2/configure.in
--- ogle-0.9.2.bak/configure.in 2005-09-04 01:23:14.856884008 +0200
+++ ogle-0.9.2/configure.in     2005-09-04 01:41:21.641667608 +0200
@@ -495,7 +495,7 @@
           [ 
 #include <sys/asoundlib.h>
 #if defined(SND_LIB_MAJOR) && defined(SND_LIB_MINOR)
-#if SND_LIB_MAJOR>0 || (SND_LIB_MAJOR==0 && SND_LIB_MINOR==5)
+#if SND_LIB_MAJOR==0 && SND_LIB_MINOR==5
 AP_maGiC_VALUE
 #endif
 #endif
diff -Naur ogle-0.9.2.bak/libogleao/alsa_audio.c 
ogle-0.9.2/libogleao/alsa_audio.c
--- ogle-0.9.2.bak/libogleao/alsa_audio.c       2003-10-19 02:38:30.000000000 
+0200
+++ ogle-0.9.2/libogleao/alsa_audio.c   2005-09-04 01:45:58.643556920 +0200
@@ -251,6 +251,7 @@
     snd_ctl_close(ctl_handle);
   
   __diga_end:
+    ;
   }
   
   return 0;

Gruesse,
        Frank Lichtenheld 

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-2-k7
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)


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

Reply via email to