From ef41e9e97db2c42f46e2ba7c2bb2ed774d92443e Mon Sep 17 00:00:00 2001 From: "vladimir%pobox.com" Date: Thu, 16 Feb 2006 01:08:28 +0000 Subject: [PATCH] Linux cairo build bandaid fix take 2 --- gfx/src/Makefile.in | 5 +---- gfx/src/nsRenderingContextImpl.h | 5 +++++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/gfx/src/Makefile.in b/gfx/src/Makefile.in index e07c8f2ccd0a..4f558cf3a1bb 100644 --- a/gfx/src/Makefile.in +++ b/gfx/src/Makefile.in @@ -68,10 +68,7 @@ DIRS += freetype endif ifdef MOZ_ENABLE_POSTSCRIPT -DIRS += psshared -ifndef MOZ_ENABLE_CAIRO_GFX -DIRS += ps -endif +DIRS += psshared ps endif ifeq ($(MOZ_GFX_TOOLKIT),cocoa) diff --git a/gfx/src/nsRenderingContextImpl.h b/gfx/src/nsRenderingContextImpl.h index 5041d1af2ef8..10a8bc5cffa5 100644 --- a/gfx/src/nsRenderingContextImpl.h +++ b/gfx/src/nsRenderingContextImpl.h @@ -130,6 +130,11 @@ public: NS_IMETHOD RenderEPS(const nsRect& aRect, FILE *aDataFile); +#ifdef MOZ_CAIRO_GFX + NS_IMETHOD Init(nsIDeviceContext* aContext, gfxASurface* aThebesSurface) { return NS_ERROR_NOT_IMPLEMENTED; } + NS_IMETHOD Init(nsIDeviceContext* aContext, gfxContext* aThebesContext) { return NS_ERROR_NOT_IMPLEMENTED; } +#endif + protected: virtual ~nsRenderingContextImpl();