diff options
author | Antonio Rojas | 2022-04-01 19:51:23 +0200 |
---|---|---|
committer | Antonio Rojas | 2022-04-01 19:51:23 +0200 |
commit | 6bb7673a77abe0047b359377df1a8f9d24282e2d (patch) | |
tree | a4b4cc4bb1ed7e8cd7610daf71cb0091dd4ca9d5 /60_no-const-vispluginfo-in-nastyfft.patch | |
download | aur-6bb7673a77abe0047b359377df1a8f9d24282e2d.tar.gz |
import from community
Diffstat (limited to '60_no-const-vispluginfo-in-nastyfft.patch')
-rw-r--r-- | 60_no-const-vispluginfo-in-nastyfft.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/60_no-const-vispluginfo-in-nastyfft.patch b/60_no-const-vispluginfo-in-nastyfft.patch new file mode 100644 index 000000000000..8e54e02cb338 --- /dev/null +++ b/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"), |