git: b500f4e0fd56 - main - x11/lavalauncher: unbreak build with librsvg >= 2.52

Jan Beich jbeich at FreeBSD.org
Mon Sep 27 17:09:26 UTC 2021


The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b500f4e0fd5602b66b48738f04b72834460ce1f6

commit b500f4e0fd5602b66b48738f04b72834460ce1f6
Author:     Jan Beich <jbeich at FreeBSD.org>
AuthorDate: 2021-09-27 16:21:18 +0000
Commit:     Jan Beich <jbeich at FreeBSD.org>
CommitDate: 2021-09-27 17:09:05 +0000

    x11/lavalauncher: unbreak build with librsvg >= 2.52
    
    src/types/image_t.c:214:4: error: 'rsvg_handle_render_cairo' is deprecated: Use 'rsvg_handle_render_document' instead [-Werror,-Wdeprecated-declarations]
                            rsvg_handle_render_cairo(image->rsvg_handle, cairo);
                            ^
    /usr/local/include/librsvg-2.0/librsvg/rsvg-cairo.h:94:1: note: 'rsvg_handle_render_cairo' has been explicitly marked deprecated here
    RSVG_DEPRECATED_FOR(rsvg_handle_render_document)
    ^
    /usr/local/include/librsvg-2.0/librsvg/rsvg.h:50:32: note: expanded from macro 'RSVG_DEPRECATED_FOR'
                                   ^
    /usr/local/include/glib-2.0/glib/gmacros.h:1112:44: note: expanded from macro 'G_DEPRECATED_FOR'
                                               ^
    
    Reported by:    antoine (via bug 258561 exp-run)
---
 x11/lavalauncher/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/x11/lavalauncher/Makefile b/x11/lavalauncher/Makefile
index 3bd3a9f9db22..bf68202f4f27 100644
--- a/x11/lavalauncher/Makefile
+++ b/x11/lavalauncher/Makefile
@@ -18,6 +18,7 @@ LIB_DEPENDS=	libwayland-client.so:graphics/wayland \
 USES=		compiler:c11 gnome meson pkgconfig
 USE_GNOME=	cairo
 PLIST_FILES=	bin/${PORTNAME}
+MESON_ARGS=	-Dwerror=false # https://lists.sr.ht/~leon_plickat/lavalauncher/%3Cilyo-li28-wny%40FreeBSD.org%3E
 
 OPTIONS_DEFINE=	EPOLL INOTIFY LIBRSVG2 MANPAGES
 OPTIONS_DEFAULT=EPOLL INOTIFY LIBRSVG2 MANPAGES


More information about the dev-commits-ports-main mailing list