From edcd5572f7610dc99b4574ea15e9ffd4700c60d9 Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Mon, 9 Feb 2015 19:06:57 +0000 Subject: [PATCH] libaacs: bump version --- ...aacs-0.7.1.recipe => libaacs-0.8.0.recipe} | 8 +++-- .../libaacs/patches/libaacs-0.8.0.patchset | 31 +++++++++++++++++++ 2 files changed, 36 insertions(+), 3 deletions(-) rename media-libs/libaacs/{libaacs-0.7.1.recipe => libaacs-0.8.0.recipe} (88%) create mode 100644 media-libs/libaacs/patches/libaacs-0.8.0.patchset diff --git a/media-libs/libaacs/libaacs-0.7.1.recipe b/media-libs/libaacs/libaacs-0.8.0.recipe similarity index 88% rename from media-libs/libaacs/libaacs-0.7.1.recipe rename to media-libs/libaacs/libaacs-0.8.0.recipe index e6511a764..16adc968c 100644 --- a/media-libs/libaacs/libaacs-0.7.1.recipe +++ b/media-libs/libaacs/libaacs-0.8.0.recipe @@ -15,7 +15,7 @@ COPYRIGHT=" " LICENSE="GNU LGPL v2.1" SRC_URI="http://downloads.videolan.org/pub/videolan/libaacs/$portVersion/libaacs-$portVersion.tar.bz2" -CHECKSUM_SHA256="ecc49a22ae2a645cfb5b8e732b51fe0e2684e6488a68debc5edd6e07edadb2b0" +CHECKSUM_SHA256="5e44545c7c4cb48bea49ff6b19d148416663593d6125ac8734776df21154ba94" REVISION="1" ARCHITECTURES="x86 x86_64" if [ $effectiveTargetArchitecture != x86_gcc2 ]; then @@ -25,10 +25,12 @@ if [ $effectiveTargetArchitecture != x86_gcc2 ]; then fi SECONDARY_ARCHITECTURES="x86" +PATCHES="libaacs-$portVersion.patchset" + PROVIDES=" libaacs$secondaryArchSuffix = $portVersion compat >= 0 cmd:aacs_info${secondaryArchSuffix} - lib:libaacs$secondaryArchSuffix = 0.4.1 compat >= 0 + lib:libaacs$secondaryArchSuffix = 0.5.0 compat >= 0 " REQUIRES=" haiku$secondaryArchSuffix @@ -75,7 +77,7 @@ INSTALL() PROVIDES_devel=" libaacs${secondaryArchSuffix}_devel = $portVersion compat >= 0 - devel:libaacs$secondaryArchSuffix = 0.4.1 compat >= 0 + devel:libaacs$secondaryArchSuffix = 0.5.0 compat >= 0 " REQUIRES_devel=" libaacs$secondaryArchSuffix == $portVersion base diff --git a/media-libs/libaacs/patches/libaacs-0.8.0.patchset b/media-libs/libaacs/patches/libaacs-0.8.0.patchset new file mode 100644 index 000000000..9e45d5226 --- /dev/null +++ b/media-libs/libaacs/patches/libaacs-0.8.0.patchset @@ -0,0 +1,31 @@ +From 211cd0ae2564544fab867c89d8e5edfd86fa16a5 Mon Sep 17 00:00:00 2001 +From: Jerome Duval +Date: Mon, 9 Feb 2015 18:53:59 +0000 +Subject: haiku fixes + + +diff --git a/src/file/mmc_device_linux.c b/src/file/mmc_device_linux.c +index 90aaf90..e98a6f0 100644 +--- a/src/file/mmc_device_linux.c ++++ b/src/file/mmc_device_linux.c +@@ -31,6 +31,7 @@ + #include "util/macro.h" + #include "util/strutl.h" + ++#include + #include + #include + #include +@@ -180,8 +181,8 @@ MMCDEV *device_open(const char *path) + } else { + BD_DEBUG(DBG_MMC | DBG_CRIT, "Error opening /proc/mounts\n"); + } +-#endif + } ++#endif + + if (fd >= 0) { + dev = calloc(1, sizeof(MMCDEV)); +-- +1.8.3.4 +