commit: 47232d8d59d2120aeeb88cfd553e6642198ee3c1 Author: Matt Jolly <kangie <AT> gentoo <DOT> org> AuthorDate: Mon Jun 3 00:59:53 2024 +0000 Commit: Matt Jolly <kangie <AT> gentoo <DOT> org> CommitDate: Mon Jun 3 00:59:53 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47232d8d
www-client/dillo: 3.1.0 - fix compilation with USE=debug Closes: https://bugs.gentoo.org/933361 Signed-off-by: Matt Jolly <kangie <AT> gentoo.org> www-client/dillo/dillo-3.1.0.ebuild | 4 ++++ .../dillo/files/dillo-3.1.0-remove-floatref.patch | 24 ++++++++++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/www-client/dillo/dillo-3.1.0.ebuild b/www-client/dillo/dillo-3.1.0.ebuild index b0a46b7df935..22187108639d 100644 --- a/www-client/dillo/dillo-3.1.0.ebuild +++ b/www-client/dillo/dillo-3.1.0.ebuild @@ -52,6 +52,10 @@ BDEPEND=" DOCS="AUTHORS ChangeLog README NEWS doc/*.txt doc/README" +PATCHES=( + "${FILESDIR}"/${P}-remove-floatref.patch +) + src_prepare() { default if use test; then diff --git a/www-client/dillo/files/dillo-3.1.0-remove-floatref.patch b/www-client/dillo/files/dillo-3.1.0-remove-floatref.patch new file mode 100644 index 000000000000..a88e579835de --- /dev/null +++ b/www-client/dillo/files/dillo-3.1.0-remove-floatref.patch @@ -0,0 +1,24 @@ +https://github.com/dillo-browser/dillo/commit/8c4f55260d0715935e2ed59c2a88f0715bb9661d.patch +From: Rodrigo Arias Mallo <[email protected]> +Date: Sun, 2 Jun 2024 19:58:50 +0200 +Subject: [PATCH] Remove undefined floatRef debug line in RTFL + +Fixes: https://bugs.gentoo.org/933361 +--- a/dw/ooffloatsmgr.cc ++++ b/dw/ooffloatsmgr.cc +@@ -2,6 +2,7 @@ + * Dillo Widget + * + * Copyright 2013-2014 Sebastian Geerken <[email protected]> ++ * Copyright 2024 Rodrigo Arias Mallo <[email protected]> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by +@@ -963,7 +964,6 @@ void OOFFloatsMgr::getSize (Requisition *cbReq, int *oofWidth, int *oofHeight) + max (oofHeightLeft, oofHeightRight) + container->boxRestHeight (); + + SizeChanged = true; +- DBG_OBJ_SET_NUM ("floatRef", floatRef); + + DBG_OBJ_MSGF ("resize.oofm", 1, + "=> (l: %d, r: %d => %d) * (l: %d, r: %d => %d)",
