diff options
author | Alexis Ballier <aballier@gentoo.org> | 2007-11-18 09:47:28 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2007-11-18 09:47:28 +0000 |
commit | c4ada3a31ba46d7519efbd5c2d532e9e66dec4f4 (patch) | |
tree | e76e1ee394e8bdcbadbddd81c5c44d866d046236 /media-libs | |
parent | Redigest. (diff) | |
download | gentoo-2-c4ada3a31ba46d7519efbd5c2d532e9e66dec4f4.tar.gz gentoo-2-c4ada3a31ba46d7519efbd5c2d532e9e66dec4f4.tar.bz2 gentoo-2-c4ada3a31ba46d7519efbd5c2d532e9e66dec4f4.zip |
fix a small bug that prevented directory searching
(Portage version: 2.1.3.19)
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/vamp-plugin-sdk/ChangeLog | 9 | ||||
-rw-r--r-- | media-libs/vamp-plugin-sdk/files/digest-vamp-plugin-sdk-1.1b-r1 (renamed from media-libs/vamp-plugin-sdk/files/digest-vamp-plugin-sdk-1.1b) | 0 | ||||
-rw-r--r-- | media-libs/vamp-plugin-sdk/files/vamp-plugin-sdk-1.1b-dirsearch.patch | 13 | ||||
-rw-r--r-- | media-libs/vamp-plugin-sdk/vamp-plugin-sdk-1.1b-r1.ebuild (renamed from media-libs/vamp-plugin-sdk/vamp-plugin-sdk-1.1b.ebuild) | 3 |
4 files changed, 23 insertions, 2 deletions
diff --git a/media-libs/vamp-plugin-sdk/ChangeLog b/media-libs/vamp-plugin-sdk/ChangeLog index 9ec7cf598e47..4f9a4464140d 100644 --- a/media-libs/vamp-plugin-sdk/ChangeLog +++ b/media-libs/vamp-plugin-sdk/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-libs/vamp-plugin-sdk # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/vamp-plugin-sdk/ChangeLog,v 1.1 2007/11/17 16:07:24 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/vamp-plugin-sdk/ChangeLog,v 1.2 2007/11/18 09:47:28 aballier Exp $ + +*vamp-plugin-sdk-1.1b-r1 (18 Nov 2007) + + 18 Nov 2007; Alexis Ballier <aballier@gentoo.org> + +files/vamp-plugin-sdk-1.1b-dirsearch.patch, -vamp-plugin-sdk-1.1b.ebuild, + +vamp-plugin-sdk-1.1b-r1.ebuild: + fix a small bug that prevented directory searching *vamp-plugin-sdk-1.1b (17 Nov 2007) diff --git a/media-libs/vamp-plugin-sdk/files/digest-vamp-plugin-sdk-1.1b b/media-libs/vamp-plugin-sdk/files/digest-vamp-plugin-sdk-1.1b-r1 index 2d19e23fec36..2d19e23fec36 100644 --- a/media-libs/vamp-plugin-sdk/files/digest-vamp-plugin-sdk-1.1b +++ b/media-libs/vamp-plugin-sdk/files/digest-vamp-plugin-sdk-1.1b-r1 diff --git a/media-libs/vamp-plugin-sdk/files/vamp-plugin-sdk-1.1b-dirsearch.patch b/media-libs/vamp-plugin-sdk/files/vamp-plugin-sdk-1.1b-dirsearch.patch new file mode 100644 index 000000000000..e93ec6c74f2d --- /dev/null +++ b/media-libs/vamp-plugin-sdk/files/vamp-plugin-sdk-1.1b-dirsearch.patch @@ -0,0 +1,13 @@ +Index: vamp-plugin-sdk-v1.1b/vamp-sdk/hostext/PluginLoader.cpp +=================================================================== +--- vamp-plugin-sdk-v1.1b.orig/vamp-sdk/hostext/PluginLoader.cpp ++++ vamp-plugin-sdk-v1.1b/vamp-sdk/hostext/PluginLoader.cpp +@@ -550,7 +550,7 @@ PluginLoader::Impl::listFiles(string dir + struct dirent *e = 0; + while ((e = readdir(d))) { + +- if (!(e->d_type & DT_REG) || !e->d_name) continue; ++ if ((!(e->d_type & DT_REG) && (e->d_type != DT_UNKNOWN)) || !e->d_name) continue; + + size_t len = strlen(e->d_name); + if (len < extlen + 2 || diff --git a/media-libs/vamp-plugin-sdk/vamp-plugin-sdk-1.1b.ebuild b/media-libs/vamp-plugin-sdk/vamp-plugin-sdk-1.1b-r1.ebuild index cee32abaf5e4..2cc2460d7ab5 100644 --- a/media-libs/vamp-plugin-sdk/vamp-plugin-sdk-1.1b.ebuild +++ b/media-libs/vamp-plugin-sdk/vamp-plugin-sdk-1.1b-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/vamp-plugin-sdk/vamp-plugin-sdk-1.1b.ebuild,v 1.1 2007/11/17 16:07:24 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/vamp-plugin-sdk/vamp-plugin-sdk-1.1b-r1.ebuild,v 1.1 2007/11/18 09:47:28 aballier Exp $ inherit toolchain-funcs eutils multilib @@ -24,6 +24,7 @@ src_unpack() { cd "${S}" epatch "${FILESDIR}/${P}-destdir.patch" + epatch "${FILESDIR}/${P}-dirsearch.patch" # multilib for default search paths sed -i -e "s:/usr/lib/vamp:/usr/$(get_libdir)/vamp:" vamp-sdk/PluginHostAdapter.cpp } |