diff --git a/x11/gnome/at-spi/Makefile b/x11/gnome/at-spi/Makefile
index 586ed9a1141..5789d6c6115 100644
--- a/x11/gnome/at-spi/Makefile
+++ b/x11/gnome/at-spi/Makefile
@@ -1,9 +1,10 @@
-# $OpenBSD: Makefile,v 1.7 2008/11/21 17:01:34 jasper Exp $
+# $OpenBSD: Makefile,v 1.8 2008/11/23 12:45:47 jasper Exp $
 
 COMMENT=		GNOME accessibility interface
 
 GNOME_PROJECT=		at-spi
 GNOME_VERSION=		1.24.0
+PKGNAME=		${DISTNAME}p0
 SHARED_LIBS +=	spi                  0.0      # .10.11
 SHARED_LIBS +=	loginhelper          0.0      # .0.0
 SHARED_LIBS +=	cspi                 0.0      # .10.11
diff --git a/x11/gnome/at-spi/patches/patch-registryd_registry_c b/x11/gnome/at-spi/patches/patch-registryd_registry_c
new file mode 100644
index 00000000000..0226b2285b5
--- /dev/null
+++ b/x11/gnome/at-spi/patches/patch-registryd_registry_c
@@ -0,0 +1,12 @@
+$OpenBSD: patch-registryd_registry_c,v 1.1 2008/11/23 12:45:47 jasper Exp $
+--- registryd/registry.c.orig	Sun Nov 23 13:43:06 2008
++++ registryd/registry.c	Sun Nov 23 13:44:23 2008
+@@ -36,6 +36,8 @@
+ #include "../libspi/spi-private.h"
+ #include "registry.h"
+ 
++#include <gdk/gdk.h>
++
+ /* Our parent GObject type  */
+ #define PARENT_TYPE SPI_LISTENER_TYPE
+