Package: zbar
Version: 0.10+doc-2
Severity: normal
Tags: patch

Hello,

zbar FTBFS on hurd-i386 because of the Linuxish video support. Instead
of blacklisting only kfreebsd, zbar should rather just whitelist Linux,
as the attached patch does.

Samuel

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.34 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

-- 
Samuel Thibault <samuel.thiba...@fnac.net>
Running Windows on a Pentium is like having a brand new Porsche but only
be able to drive backwards with the handbrake on.
(Unknown source)
diff -ur zbar-0.10+doc.orig/debian/rules zbar-0.10+doc/debian/rules
--- zbar-0.10+doc.orig/debian/rules     2010-06-08 22:49:49.000000000 +0200
+++ zbar-0.10+doc/debian/rules  2010-06-08 22:49:39.000000000 +0200
@@ -17,7 +17,7 @@
 
 SRCDIR := $(CURDIR)
 CONFIGURE = $(SRCDIR)/configure $(CROSS) --prefix=/usr --mandir=/usr/share/man 
CFLAGS="$(CFLAGS)"
-ifneq (,$(findstring kfreebsd,$(DEB_HOST_ARCH_OS)))
+ifeq (,$(findstring linux,$(DEB_HOST_ARCH_OS)))
   CONFIGURE += --disable-video
 endif
 

Reply via email to