--- /dev/null
+Index: gnet/examples/Makefile.am
+===================================================================
+--- gnet.orig/examples/Makefile.am
++++ gnet/examples/Makefile.am
+@@ -2,7 +2,7 @@
+
+ @SET_MAKE@
+
+-SUBDIRS = xmlrpc
++SUBDIRS =
+
+ if OS_WIN32
+ noinst_PROGRAMS = echoclient echoserver \
+++ /dev/null
-DESCRIPTION = "GNet is a simple network library. It is written in C, object-oriented, and built upon GLib."
-LICENSE = "LGPL"
-HOMEPAGE = "http://www.gnetlibrary.org/"
-
-SRC_URI = "http://www.gnetlibrary.org/src/gnet-2.0.7.tar.gz"
-DEPENDS = "glib-2.0"
-
-EXTRA_OECONF = "--disable-pthreads"
-
-inherit pkgconfig autotools
--- /dev/null
+DESCRIPTION = "GNet is a simple network library. It is written in C, object-oriented, and built upon GLib."
+LICENSE = "LGPL"
+SECTION = "libs/network"
+HOMEPAGE = "http://www.gnetlibrary.org"
+DEPENDS = "glib-2.0"
+PV = "2.0.7+cvs${SRCDATE}"
+
+SRC_URI = "cvs://anonymous@anoncvs.gnome.org/cvs/gnome;module=gnet \
+ file://buildfix.patch;patch=1"
+S = "${WORKDIR}/gnet"
+
+EXTRA_OECONF = "--disable-pthreads"
+
+inherit autotools pkgconfig