-diff -Naur src/wmgeneral.orig/list.c src/wmgeneral/list.c
---- src/wmgeneral.orig/list.c 2016-01-04 13:03:23.206828813 +0100
-+++ src/wmgeneral/list.c 2016-01-04 13:03:32.358832037 +0100
+diff -Naur wmmsg-1.0.1/src/wmgeneral.orig/list.c wmmsg-1.0.1/src/wmgeneral/list.c
+--- wmmsg-1.0.1/src/wmgeneral.orig/list.c 2016-01-04 13:03:23.206828813 +0100
++++ wmmsg-1.0.1/src/wmgeneral/list.c 2016-01-04 13:03:32.358832037 +0100
@@ -38,7 +38,7 @@
/* Return a cons cell produced from (head . tail) */
{
while (list)
{
-diff -Naur src/wmgeneral.orig/list.h src/wmgeneral/list.h
---- src/wmgeneral.orig/list.h 2016-01-04 13:03:23.206828813 +0100
-+++ src/wmgeneral/list.h 2016-01-04 13:03:46.741837100 +0100
+diff -Naur wmmsg-1.0.1/src/wmgeneral.orig/list.h wmmsg-1.0.1/src/wmgeneral/list.h
+--- wmmsg-1.0.1/src/wmgeneral.orig/list.h 2016-01-04 13:03:23.206828813 +0100
++++ wmmsg-1.0.1/src/wmgeneral/list.h 2016-01-04 13:03:46.741837100 +0100
@@ -29,12 +29,6 @@
#ifndef __LIST_H_
#define __LIST_H_
--- /dev/null
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit autotools
+
+DESCRIPTION="universal visual notification dockapp"
+HOMEPAGE="http://swapspace.net/~matt/wmmsg"
+SRC_URI="http://swapspace.net/~matt/wmmsg/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/gtk+:2
+ media-libs/imlib2[X]
+ x11-libs/libXpm
+ x11-libs/libXext
+ x11-libs/libX11"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ x11-libs/libXt"
+
+DOCS=( AUTHORS ChangeLog README wmmsgrc )
+PATCHES=(
+ "${FILESDIR}"/${P}-use_gtk2.patch
+ "${FILESDIR}"/${P}-alt-desktop.patch
+ "${FILESDIR}"/${P}-list.patch
+ )
+
+src_prepare() {
+ default
+
+ eautoreconf
+}