package: directfb
version: 1.2.10.0-4.2
severity: serious
from the latest armel buildd log for directfb
../../../gfxdrivers/davinci/davinci_c64x.c:1900:6: error: implicit declaration
of function 'mknod' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make[5]: *** [davinci_c64x.lo] Error 1
make[5]: Leaving directory
`/build/buildd-directfb_1.2.10.0-4.2-armel-2ONoEe/directfb-1.2.10.0/directfb-build/gfxdrivers/davinci'
I have attached a patch to fix this, just attatch it to the quilt series
(and fill in the bug number in the header)
I have also attatched a patch to debian/rules to fix incomplete cleanup
by the clean target.
Note that this is NOT a duplicate of 598976. 598976 gives a different
error and is reported against the version in experimental.
Description: fix missing include for mknod in gfxdrivers/davinci/davinci_c64x.c
Author: Peter Green <plugw...@p10link.net>
Bug-Debian: http://bugs.debian.org/?????
--- directfb-1.2.10.0.orig/gfxdrivers/davinci/davinci_c64x.c
+++ directfb-1.2.10.0/gfxdrivers/davinci/davinci_c64x.c
@@ -37,6 +37,8 @@
#include <sys/ioctl.h>
#include <sys/mman.h>
#include <sys/types.h>
+#include <sys/stat.h>
+
#include <unistd.h>
#include <directfb_util.h>
--- directfb-1.2.10.0/debian/rules 2011-07-24 17:20:04.000000000 +0000
+++ directfb-1.2.10.0.new/debian/rules 2011-10-09 00:37:30.000000000 +0000
@@ -103,7 +103,12 @@
missing mkinstalldirs depcomp install-sh compile
rm -rf $(DESTDIR_UDEB)
-
+
+ rm -f m4/libtool.m4
+ rm -f m4/ltoptions.m4
+ rm -f m4/ltsugar.m4
+ rm -f m4/ltversion.m4
+ rm -f m4/lt~obsolete.m4
dh_clean
override_dh_auto_install: