--- /dev/null
+$NetBSD$
+
+--- gfx/thebes/src/gfxASurface.cpp.orig 2009-02-04 01:54:07.000000000 +0900
++++ gfx/thebes/src/gfxASurface.cpp
+@@ -50,11 +50,6 @@
+ #include "gfxXlibSurface.h"
+ #endif
+
+-#ifdef CAIRO_HAS_QUARTZ_SURFACE
+-#include "gfxQuartzSurface.h"
+-#include "gfxQuartzImageSurface.h"
+-#endif
+-
+ #include <stdio.h>
+ #include <limits.h>
+
+@@ -155,14 +150,6 @@ gfxASurface::Wrap (cairo_surface_t *csur
+ result = new gfxXlibSurface(csurf);
+ }
+ #endif
+-#ifdef CAIRO_HAS_QUARTZ_SURFACE
+- else if (stype == CAIRO_SURFACE_TYPE_QUARTZ) {
+- result = new gfxQuartzSurface(csurf);
+- }
+- else if (stype == CAIRO_SURFACE_TYPE_QUARTZ_IMAGE) {
+- result = new gfxQuartzImageSurface(csurf);
+- }
+-#endif
+ else {
+ result = new gfxUnknownSurface(csurf);
+ }