Package: kqemu-source
Version: 1.3.0~pre11-7
Severity: grave
Tags: patch

--- Please enter the report below this line. ---
hi,

the attached patch fixes an FTBFS while using module-assistant to build
the kqemu-kernel module.

i also attached module-assistant's log file of the failed build.

cheers - fuddl


--- System information. ---
Architecture: amd64
Kernel:       Linux 2.6.24-1-amd64

Debian Release: lenny/sid
  500 unstable        www.debian-multimedia.org 
  500 unstable        ftp.de.debian.org 
    1 experimental    ftp.de.debian.org 

--- Package information. ---
Depends               (Version) | Installed
===============================-+-===========
bzip2                           | 1.0.4-2
debhelper                (>= 5) | 6.0.5
dpatch                          | 2.0.29
make                            | 3.81-3
module-assistant                | 0.10.11.0


=== modified file 'kqemu-1.3.0~pre11/debian/patches/00list'
--- kqemu-1.3.0~pre11/debian/patches/00list	2008-02-03 08:52:51 +0000
+++ kqemu-1.3.0~pre11/debian/patches/00list	2008-02-03 09:51:58 +0000
@@ -1,3 +1,3 @@
 01-configure.dpatch
 03-2.6.22.dpatch
-04-nonfree-object.dpatch
+05-2.6.24.dpatch

=== added file 'kqemu-1.3.0~pre11/debian/patches/05-2.6.24.dpatch'
--- kqemu-1.3.0~pre11/debian/patches/05-2.6.24.dpatch	1970-01-01 00:00:00 +0000
+++ kqemu-1.3.0~pre11/debian/patches/05-2.6.24.dpatch	2008-02-03 09:52:43 +0000
@@ -0,0 +1,33 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 05-2.6.24.dpatch by  <[EMAIL PROTECTED]>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Avoid ARCH-variable. It appears to me modified by the kernel's
+## build-magic.
+
[EMAIL PROTECTED]@
+diff -urNad kqemu-1.3.0~pre11~/Makefile kqemu-1.3.0~pre11/Makefile
+--- kqemu-1.3.0~pre11~/Makefile	2008-02-03 10:37:12.000000000 +0100
++++ kqemu-1.3.0~pre11/Makefile	2008-02-03 10:49:07.076098906 +0100
+@@ -92,7 +92,7 @@
+ obj-m:= kqemu.o
+ kqemu-objs:= kqemu-linux.o kqemu-mod.o
+ 
+-$(obj)/kqemu-mod.o: $(src)/kqemu-mod-$(ARCH).o
+-	cp $< $@
++$(obj)/kqemu-mod.o:
++	$(MAKE) -C $(obj)/common
+ endif
+ endif # PATCHLEVEL
+diff -urNad kqemu-1.3.0~pre11~/common/Makefile kqemu-1.3.0~pre11/common/Makefile
+--- kqemu-1.3.0~pre11~/common/Makefile	2007-02-06 22:02:00.000000000 +0100
++++ kqemu-1.3.0~pre11/common/Makefile	2008-02-03 10:51:00.152668185 +0100
+@@ -35,7 +35,7 @@
+ CC=i386-mingw32-gcc
+ LD=i386-mingw32-ld
+ else
+-TARGET=../kqemu-mod-$(ARCH).o
++TARGET=../kqemu-mod.o
+ CC=gcc
+ LD=ld
+ endif

Attachment: kqemu-source.buildlog.2.6.24-1-amd64.1202033491
Description: Binary data

Attachment: signature.asc
Description: PGP signature

Reply via email to