diff options
author | Carsten Schoenert <c.schoenert@gmail.com> | 2013-05-02 09:54:08 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2013-05-02 23:11:39 +0200 |
commit | de341929676b6a1537de5e6140d6ab3c50482bac (patch) | |
tree | 5f293d0ad70eaa9eb4e0108d6438439b471d0837 /package/directfb/directfb-imlib2-config.patch | |
parent | 8867c892ae8079ca78c64f8570ba65d6a730e8a4 (diff) | |
download | buildroot-novena-de341929676b6a1537de5e6140d6ab3c50482bac.tar.gz buildroot-novena-de341929676b6a1537de5e6140d6ab3c50482bac.zip |
directfb: fix error in *SetRegion* datatypes
DirectFB comes with incorrect declarations for *SetRegion* datatypes,
this breaks the build for some GFX Drivers. Also there are some headers
missend in the archive, this breaks some other modules of directfb that
not covered yet by the autobuilders.
And at least the configure script doesn't use a variable for the
imlib2-config script. That breaks crossbuilds of directfb in most cases.
Fixes:
http://autobuild.buildroot.net/results/03465f0e14accc8d8f8fc2640b7a0dd8bec594e4
Signed-off-by: Carsten Schoenert <c.schoenert@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/directfb/directfb-imlib2-config.patch')
-rw-r--r-- | package/directfb/directfb-imlib2-config.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/package/directfb/directfb-imlib2-config.patch b/package/directfb/directfb-imlib2-config.patch new file mode 100644 index 000000000..1203475b3 --- /dev/null +++ b/package/directfb/directfb-imlib2-config.patch @@ -0,0 +1,21 @@ +Call the imlib2-conf variable that are set by ac_cv_path_IMLIB2_CONFIG +with the absolute path because the imlib2-config file is not covered +by the PATH variable. +This is important for cross compiler that need to get the staging settings +instead of the host settings. + +Signed-off-by: Carsten Schoenert <c.schoenert@gmail.com> + +--- directfb-1.6.3/configure.orig 2013-03-31 13:18:22.837560379 +0200 ++++ directfb-1.6.3/configure 2013-03-31 13:23:40.177541099 +0200 +@@ -19816,8 +19816,8 @@ fi + $as_echo "$as_me: WARNING: *** Imlib2 library not found, building without Imlib2 support ***" >&2;} + imlib2="no" + else +- IMLIB2_CFLAGS=`imlib2-config --cflags` +- IMLIB2_LIBS=`imlib2-config --libs` ++ IMLIB2_CFLAGS=`$IMLIB2_CONFIG --cflags` ++ IMLIB2_LIBS=`$IMLIB2_CONFIG --libs` + imlib2="yes" + fi + fi |