]> gitweb @ CieloNegro.org - pkgsrc-firefox3.git/blobdiff - patches/patch-aj
More patches
[pkgsrc-firefox3.git] / patches / patch-aj
diff --git a/patches/patch-aj b/patches/patch-aj
new file mode 100644 (file)
index 0000000..7a1cd6c
--- /dev/null
@@ -0,0 +1,31 @@
+$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);
+     }