[vlc-commits] [Git][videolan/vlc][master] svg: fix build on armhf.
Steve Lhomme (@robUx4)
gitlab at videolan.org
Mon Sep 28 14:36:54 UTC 2026
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
202418af by Gianfranco Costamagna at 2026-09-28T14:26:37+00:00
svg: fix build on armhf.
Add missing include of math.h, fixing build failure due to missing reference to ceil function added in 9fa049c5fe2f7110733930bed2f863c90229ef3b
- - - - -
2 changed files:
- modules/text_renderer/Makefile.am
- modules/text_renderer/svg.c
Changes:
=====================================
modules/text_renderer/Makefile.am
=====================================
@@ -69,7 +69,7 @@ endif
libsvg_plugin_la_SOURCES = text_renderer/svg.c
libsvg_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) $(SVG_CFLAGS)
libsvg_plugin_la_LDFLAGS = $(AM_LDFLAGS) $(text_RPATH)
-libsvg_plugin_la_LIBADD = $(SVG_LIBS)
+libsvg_plugin_la_LIBADD = $(SVG_LIBS) $(LIBM)
EXTRA_LTLIBRARIES += libsvg_plugin.la
text_PLUGINS += $(LTLIBsvg)
=====================================
modules/text_renderer/svg.c
=====================================
@@ -36,6 +36,7 @@
#include <vlc_strings.h>
#include <sys/types.h>
+#include <math.h>
#include <unistd.h>
#include <glib.h>
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/202418af536421985ad645f9fa5f02579721977f
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/202418af536421985ad645f9fa5f02579721977f
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help
More information about the vlc-commits
mailing list