From 54beaa86faeb1611bf3358807a87e54bd2ef620d Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Tue, 19 Aug 2008 16:01:18 +0000 Subject: fusionsound: Fix compile error with linux-libc-headers >= 2.6.23 *BUG: 4071 *Added patch to use --- packages/directfb/files/use_limits_h.patch | 10 ++++++++++ packages/directfb/fusionsound_1.1.0+git20070709.bb | 3 ++- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 packages/directfb/files/use_limits_h.patch (limited to 'packages') 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 + #include + + 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" -- cgit v1.2.3 From f21e80fb9d9f9b62c27e33cafd49ca929dff80d9 Mon Sep 17 00:00:00 2001 From: Shane Volpe Date: Tue, 19 Aug 2008 16:22:50 +0000 Subject: fusionsound: fixed pkgconfig issues --- .../fusionsound-1.1.0+git20070709/.mtn2git_empty | 0 .../fix-pkgconfig-cflags.patch | 23 ++++++++++++++++++++++ packages/directfb/fusionsound_1.1.0+git20070709.bb | 3 ++- 3 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 packages/directfb/fusionsound-1.1.0+git20070709/.mtn2git_empty create mode 100644 packages/directfb/fusionsound-1.1.0+git20070709/fix-pkgconfig-cflags.patch (limited to 'packages') diff --git a/packages/directfb/fusionsound-1.1.0+git20070709/.mtn2git_empty b/packages/directfb/fusionsound-1.1.0+git20070709/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/directfb/fusionsound-1.1.0+git20070709/fix-pkgconfig-cflags.patch b/packages/directfb/fusionsound-1.1.0+git20070709/fix-pkgconfig-cflags.patch new file mode 100644 index 0000000000..0eb4c7519a --- /dev/null +++ b/packages/directfb/fusionsound-1.1.0+git20070709/fix-pkgconfig-cflags.patch @@ -0,0 +1,23 @@ +--- git/fusionsound.pc.in~org 2008-08-19 11:04:27.000000000 -0400 ++++ git/fusionsound.pc.in 2008-08-19 11:06:20.000000000 -0400 +@@ -8,4 +8,4 @@ + Description: Multi application sound streaming and mixing + Version: @VERSION@ + Libs: -L${libdir} -lfusionsound +-Cflags: -I@INCLUDEDIR@ ++Cflags: -I${includedir}/fusionsound +--- git/fusionsound-internal.pc.in~org 2008-08-19 11:11:57.000000000 -0400 ++++ git/fusionsound-internal.pc.in 2008-08-19 11:08:31.000000000 -0400 +@@ -1,10 +1,10 @@ + prefix=@prefix@ + exec_prefix=@exec_prefix@ + moduledir=@MODULEDIR@ +-includedir=@INTERNALINCLUDEDIR@ ++includedir=@includedir@ + + Name: FusionSound-Internal + Description: Third party module support package for FusionSound. + Version: @VERSION@ + Requires: fusionsound = @VERSION@ +-Cflags: -I@INTERNALINCLUDEDIR@ ++Cflags: -I${includedir}/fusionsound -I${includedir} diff --git a/packages/directfb/fusionsound_1.1.0+git20070709.bb b/packages/directfb/fusionsound_1.1.0+git20070709.bb index 358cfa8a9b..dda1de5333 100644 --- a/packages/directfb/fusionsound_1.1.0+git20070709.bb +++ b/packages/directfb/fusionsound_1.1.0+git20070709.bb @@ -2,10 +2,11 @@ DESCRIPTION = "FusionSound for DirectFB" DEPENDS = "directfb" SECTION = "libs" LICENSE = "LGPL" -PR = "r1" +PR = "r2" SRC_URI = "git://git.directfb.org/git/directfb/core/FusionSound;protocol=git;tag=0b2162b570c8314fd1240b08d6ab4a8d074ccf37 \ file://fix-pkgconfig-cflags.patch;patch=1 \ + file://use_limits_h.patch;patch=1 \ " S = "${WORKDIR}/git" -- cgit v1.2.3