Package: lirc-modules-source
Version: 0.7.1pre1-2
Severity: grave
Tags: patch

Makefiles defines serial_CFLAGS (also sir and parallel)
but uses SERIAL_CFLAGS, this make modules compile fails
if using serial/parallel/sir

here a patch to solve it:

--- Makefile.orig       2005-01-25 22:12:45.000000000 +0100
+++ Makefile    2005-02-11 06:17:14.000000000 +0100
@@ -2,13 +2,13 @@
 
 # An space should be left at the end of each CFLAGS variable for the
 # sanity-check to work.
-serial_CFLAGS  := $(subst ",,$(LIRC_SERIAL_CFLAGS) \
+SERIAL_CFLAGS  := $(subst ",,$(LIRC_SERIAL_CFLAGS) \
                                -DLIRC_PORT=$(LIRC_SERIAL_PORT) \
                                -DLIRC_IRQ=$(LIRC_SERIAL_IRQ) ) 
-sir_CFLAGS     := $(subst ",,$(LIRC_SIR_CFLAGS) \
+SIR_CFLAGS     := $(subst ",,$(LIRC_SIR_CFLAGS) \
                                -DLIRC_PORT=$(LIRC_SIR_PORT) \
                                -DLIRC_IRQ=$(LIRC_SIR_IRQ) )
-parallel_CFLAGS        := $(subst ",,-DLIRC_PORT=$(LIRC_PARALLEL_PORT) \
+PARALLEL_CFLAGS        := $(subst ",,-DLIRC_PORT=$(LIRC_PARALLEL_PORT) \
                                -DLIRC_TIMER=$(LIRC_PARALLEL_TIMER) \
                                -DLIRC_IRQ=$(LIRC_PARALLEL_IRQ) )
 


Also consider bug #294174 as closed for next release.
Bye

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.21
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages lirc-modules-source depends on:
ii  debconf [debconf-2.0]         1.4.45     Debian configuration management sy
ii  debhelper                     4.2.30     helper programs for debian/rules
ii  debianutils                   2.11.2     Miscellaneous utilities specific t


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

Reply via email to