diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/vlc/APKBUILD | 4 | ||||
-rw-r--r-- | main/vlc/vlc-dlclose-workaround.patch | 20 |
2 files changed, 23 insertions, 1 deletions
diff --git a/main/vlc/APKBUILD b/main/vlc/APKBUILD index 5b37bcd6c0..4af30281fe 100644 --- a/main/vlc/APKBUILD +++ b/main/vlc/APKBUILD @@ -3,7 +3,7 @@ pkgname=vlc pkgver=2.0.3 _pkgver=${pkgver/_/-} -pkgrel=1 +pkgrel=2 pkgdesc="A multi-platform MPEG, VCD/DVD, and DivX player" pkgusers="vlc" pkggroups="vlc" @@ -74,6 +74,7 @@ source="http://download.videolan.org/pub/videolan/$pkgname/$_pkgver/$pkgname-$_p uclibc-inhibit-spawn.patch uclibc-no-xscreensaver.patch uclibc3.patch + vlc-dlclose-workaround.patch vlc.trigger " # uclibc-libcompat.patch @@ -234,4 +235,5 @@ md5sums="a7e79565e3df07dcf9abc6cad3ac26bb vlc-2.0.3.tar.xz 28349b8239fdd6987fbe0ca2c758517f uclibc-inhibit-spawn.patch b84c5a9121440b6a1dcf28792d783eb8 uclibc-no-xscreensaver.patch 94f11ec8394775018222781a0c875444 uclibc3.patch +5aa45c7966b915801a0e449f56b6c454 vlc-dlclose-workaround.patch 350b30698eb784def7d19446eb1d6c81 vlc.trigger" diff --git a/main/vlc/vlc-dlclose-workaround.patch b/main/vlc/vlc-dlclose-workaround.patch new file mode 100644 index 0000000000..44001c8c84 --- /dev/null +++ b/main/vlc/vlc-dlclose-workaround.patch @@ -0,0 +1,20 @@ +We have an issue with dlclose on uclibc on x86_64. +For now we work around it by simply not dlcose our plugins. + + +--- ./src/modules/bank.c.orig ++++ ./src/modules/bank.c +@@ -484,11 +484,13 @@ + assert (module->next == NULL); + + /* Unload plugin until we really need it */ ++#if 0 + if (module->b_loaded && module->b_unloadable) + { + module_Unload (module->handle); + module->b_loaded = false; + } ++#endif + + /* For now we force loading if the module's config contains + * callbacks or actions. |