summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@embeddedalley.com>2008-08-19 16:01:18 +0000
committerShane Volpe <shanevolpe@gmail.com>2008-08-19 16:01:18 +0000
commit54beaa86faeb1611bf3358807a87e54bd2ef620d (patch)
tree6073f1ff0f93ff6ba1d9fc22abac6e2958f990e2
parentf74ee82f7efe5d442dee0025dfe49013fdd62f91 (diff)
fusionsound: Fix compile error with linux-libc-headers >= 2.6.23
*BUG: 4071 *Added patch to use <limits.h>
-rw-r--r--packages/directfb/files/use_limits_h.patch10
-rw-r--r--packages/directfb/fusionsound_1.1.0+git20070709.bb3
2 files changed, 12 insertions, 1 deletions
diff --git a/packages/directfb/files/use_limits_h.patch b/packages/directfb/files/use_limits_h.patch
new file mode 100644
index 0000000000..327cd7a163
--- /dev/null
+++ b/packages/directfb/files/use_limits_h.patch
@@ -0,0 +1,10 @@
+--- FusionSound-1.0.0.orig/interfaces/IFusionSoundMusicProvider/ifusionsoundmusicprovider_cdda.c
++++ FusionSound-1.0.0/interfaces/IFusionSoundMusicProvider/ifusionsoundmusicprovider_cdda.c
+@@ -109,6 +109,7 @@ typedef struct {
+
+ #if defined(__linux__)
+
++#include <limits.h>
+ #include <linux/cdrom.h>
+
+ static DFBResult
diff --git a/packages/directfb/fusionsound_1.1.0+git20070709.bb b/packages/directfb/fusionsound_1.1.0+git20070709.bb
index 54e2ba211f..358cfa8a9b 100644
--- a/packages/directfb/fusionsound_1.1.0+git20070709.bb
+++ b/packages/directfb/fusionsound_1.1.0+git20070709.bb
@@ -2,9 +2,10 @@ DESCRIPTION = "FusionSound for DirectFB"
DEPENDS = "directfb"
SECTION = "libs"
LICENSE = "LGPL"
-PR = "r0"
+PR = "r1"
SRC_URI = "git://git.directfb.org/git/directfb/core/FusionSound;protocol=git;tag=0b2162b570c8314fd1240b08d6ab4a8d074ccf37 \
+ file://fix-pkgconfig-cflags.patch;patch=1 \
"
S = "${WORKDIR}/git"