slackware-current/source/l/libvisual-plugins/60_no-const-vispluginfo-in-nastyfft.patch
Patrick J Volkerding a36b32349b Wed Jul 17 21:57:16 UTC 2019
ap/moc-2.5.2-x86_64-5.txz:  Rebuilt.
  Patched and recompiled against ffmpeg-4.1.4. Thanks to Heinz Wiesinger.
ap/vim-8.1.1710-x86_64-1.txz:  Upgraded.
d/cmake-3.15.0-x86_64-1.txz:  Upgraded.
e/emacs-26.2-x86_64-2.txz:  Rebuilt.
  Patched package.el to obey buffer-file-coding-system (bug #35739), fixing
  bad signature from GNU ELPA for archive-contents.
  Thanks to Stefan Monnier and Eric Lindblad.
kde/k3b-2.0.3-x86_64-5.txz:  Rebuilt.
  Recompiled against ffmpeg-4.1.4.
kde/kfilemetadata-4.14.3-x86_64-5.txz:  Rebuilt.
  Recompiled against ffmpeg-4.1.4.
kde/nepomuk-core-4.14.3-x86_64-5.txz:  Rebuilt.
  Recompiled against ffmpeg-4.1.4.
l/alsa-plugins-1.1.9-x86_64-2.txz:  Rebuilt.
  Recompiled against ffmpeg-4.1.4.
l/ffmpeg-4.1.4-x86_64-1.txz:  Upgraded.
  Shared library .so-version bump.
l/gegl-0.4.16-x86_64-2.txz:  Rebuilt.
  Recompiled against ffmpeg-4.1.4.
l/gst-plugins-libav-1.16.0-x86_64-2.txz:  Rebuilt.
  Recompiled against ffmpeg-4.1.4.
l/gvfs-1.40.2-x86_64-1.txz:  Upgraded.
l/imagemagick-6.9.10_54-x86_64-1.txz:  Upgraded.
l/libvisual-plugins-0.4.0-x86_64-4.txz:  Rebuilt.
  Patched to fix a segmentation fault while loading plugin file.
  Thanks to alienBOB.
l/libvpx-1.8.1-x86_64-1.txz:  Upgraded.
n/curl-7.65.2-x86_64-1.txz:  Upgraded.
xap/MPlayer-20190717-x86_64-1.txz:  Upgraded.
  Compiled against ffmpeg-4.1.4.
xap/audacious-plugins-3.10.1-x86_64-3.txz:  Rebuilt.
  Recompiled against ffmpeg-4.1.4.
xap/vim-gvim-8.1.1710-x86_64-1.txz:  Upgraded.
xap/xine-lib-1.2.9-x86_64-5.txz:  Rebuilt.
  Recompiled against ffmpeg-4.1.4.
extra/pure-alsa-system/MPlayer-20190717-x86_64-1_alsa.txz:  Upgraded.
  Compiled against ffmpeg-4.1.4.
extra/pure-alsa-system/alsa-plugins-1.1.9-x86_64-2_alsa.txz:  Rebuilt.
  Recompiled against ffmpeg-4.1.4.
extra/pure-alsa-system/audacious-plugins-3.10.1-x86_64-3_alsa.txz:  Rebuilt.
  Recompiled against ffmpeg-4.1.4.
extra/pure-alsa-system/ffmpeg-4.1.4-x86_64-1_alsa.txz:  Upgraded.
  Shared library .so-version bump.
extra/pure-alsa-system/xine-lib-1.2.9-x86_64-5_alsa.txz:  Rebuilt.
  Recompiled against ffmpeg-4.1.4.
2019-07-18 08:59:47 +02:00

18 lines
791 B
Diff

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"),