mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-26 02:42:58 +02:00
directfb: Fix build with GCC 4.4.
This commit is contained in:
26
src/patches/directfb-1.1.1-fix-mknod.patch
Normal file
26
src/patches/directfb-1.1.1-fix-mknod.patch
Normal file
@@ -0,0 +1,26 @@
|
||||
Description: directfb ftbfs on armel. Implicit declaration error
|
||||
Fix for ARM builds failing on:
|
||||
../../../gfxdrivers/davinci/davinci_c64x.c: In function 'davinci_c64x_open':
|
||||
../../../gfxdrivers/davinci/davinci_c64x.c:1900:6: error: implicit declaration of function 'mknod' [-Werror=implicit-function-declaration]
|
||||
cc1: some warnings being treated as errors
|
||||
.
|
||||
directfb (1.2.10.0-4.3) unstable; urgency=low
|
||||
.
|
||||
* Non-maintainer upload.
|
||||
* Fix "directfb ftbfs on armel. Implicit declaration error"
|
||||
- Thanks Peter Green for bug report and patch (Closes: #644782)
|
||||
* Remove m4 macros when calling clean target
|
||||
Author: Hector Oron <zumbi@debian.org>
|
||||
Bug-Debian: http://bugs.debian.org/644782
|
||||
|
||||
--- 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>
|
||||
Reference in New Issue
Block a user