wok-6.x diff poppler/stuff/fix_cairo.patch @ rev 16253

nettle, vte: fix bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 04 07:39:36 2014 +0000 (2014-04-04)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/poppler/stuff/fix_cairo.patch	Fri Apr 04 07:39:36 2014 +0000
     1.3 @@ -0,0 +1,19 @@
     1.4 +From 66ab373365b8f9060ff3d117bb677520e32c7e8e Mon Sep 17 00:00:00 2001
     1.5 +From: Adrian Johnson <ajohnson@redneon.com>
     1.6 +Date: Wed, 28 Sep 2011 11:50:23 +0000
     1.7 +Subject: cairo: fix crash when using poppler_page_get_image()
     1.8 +
     1.9 +---
    1.10 +diff --git a/poppler/CairoOutputDev.h b/poppler/CairoOutputDev.h
    1.11 +index effa9dd..0f202a5 100644
    1.12 +--- a/poppler/CairoOutputDev.h
    1.13 ++++ b/poppler/CairoOutputDev.h
    1.14 +@@ -434,6 +434,7 @@ public:
    1.15 +   virtual void stroke(GfxState *state) { }
    1.16 +   virtual void fill(GfxState *state) { }
    1.17 +   virtual void eoFill(GfxState *state) { }
    1.18 ++  virtual void clipToStrokePath(GfxState *state) { }
    1.19 +   virtual GBool tilingPatternFill(GfxState *state, Catalog *cat, Object *str,
    1.20 + 				  double *pmat, int paintType, int tilingType, Dict *resDict,
    1.21 + 				  double *mat, double *bbox,
    1.22 +