Closes: https://github.com/gentoo/gentoo/pull/9197
---- src/ui-util.c 2007-11-16 22:08:01.000000000 +0100
-+++ src/ui-util.c.new 2009-05-09 11:34:59.000000000 +0200
+--- a/src/ui-util.c 2007-11-16 22:08:01.000000000 +0100
++++ b/src/ui-util.c 2009-05-09 11:34:59.000000000 +0200
@@ -18,6 +18,7 @@
#include "ui-util.h"
--- /dev/null
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+DESCRIPTION="A disk consumption analyzing tool"
+HOMEPAGE="http://treesize.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}-src.tbz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="x11-libs/gtk+:2"
+DEPEND="${RDEPEND}"
+
+PATCHES=( "${FILESDIR}/${PV}-amd64.patch" )
+
+src_prepare() {
+ default
+ eautoreconf
+}