diff options
author | James Meyer <james.meyer@operamail.com> | 2009-03-14 04:14:54 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2009-03-14 04:14:54 (GMT) |
commit | ee7d8d75c14ed0ae36cc0e34ae150012c97e197d (patch) | |
tree | 46556f5e4898da764cc831aa760d908c2ccc9961 /abs/core-testing/libvisual-plugins/60_no-const-vispluginfo-in-nastyfft.patch | |
parent | c2941a012cbea19073e72af561b37a1255a1fe6c (diff) | |
download | linhes_pkgbuild-ee7d8d75c14ed0ae36cc0e34ae150012c97e197d.zip linhes_pkgbuild-ee7d8d75c14ed0ae36cc0e34ae150012c97e197d.tar.gz linhes_pkgbuild-ee7d8d75c14ed0ae36cc0e34ae150012c97e197d.tar.bz2 |
Moving mjpeg , libvisual* and transcode to core.
There are pkg's in core that depend on them.
Diffstat (limited to 'abs/core-testing/libvisual-plugins/60_no-const-vispluginfo-in-nastyfft.patch')
-rw-r--r-- | abs/core-testing/libvisual-plugins/60_no-const-vispluginfo-in-nastyfft.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/abs/core-testing/libvisual-plugins/60_no-const-vispluginfo-in-nastyfft.patch b/abs/core-testing/libvisual-plugins/60_no-const-vispluginfo-in-nastyfft.patch new file mode 100644 index 0000000..8e54e02 --- /dev/null +++ b/abs/core-testing/libvisual-plugins/60_no-const-vispluginfo-in-nastyfft.patch @@ -0,0 +1,18 @@ +The static VisPluginInfo in nastyfft was declared as const, but libvisual write +to its refcount when it visual_object_unref()s it (nasty!). This is broken at +various levels: libvisual shouldn't be writing to this static plugin which is +allocated by a dlopen()ed plugin, and it should also honor the "const +VisPluginInfo" API... Anyway, nastyfft was the only occurrence and this fixes +the crash for now; LP: #287448. + +--- libvisual-plugins-0.4.0.dfsg.1.orig/plugins/actor/nastyfft/actor_nastyfft.c ++++ libvisual-plugins-0.4.0.dfsg.1/plugins/actor/nastyfft/actor_nastyfft.c +@@ -80,7 +80,7 @@ + .vidoptions.depth = VISUAL_VIDEO_DEPTH_GL + }}; + +- static const VisPluginInfo info[] = {{ ++ static VisPluginInfo info[] = {{ + .type = VISUAL_PLUGIN_TYPE_ACTOR, + + .plugname = N_("nastyfft"), |