summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gs/src/gdevpdfi.c2
-rw-r--r--gs/src/gxclpath.c1
-rw-r--r--gs/src/gxclrast.c1
-rw-r--r--gs/src/gxclrect.c2
-rw-r--r--gs/src/gxshade6.c4
-rw-r--r--gs/src/lib.mak2
6 files changed, 7 insertions, 5 deletions
diff --git a/gs/src/gdevpdfi.c b/gs/src/gdevpdfi.c
index e77bc993f..055ea9b82 100644
--- a/gs/src/gdevpdfi.c
+++ b/gs/src/gdevpdfi.c
@@ -1392,6 +1392,8 @@ gdev_pdf_pattern_manage(gx_device *pdev1, gx_bitmap_id id,
return 0;
case pattern_manage__shfill_doesnt_need_path:
return 0; /* gdev_pdf_fill_path still does need a path. */
+ case pattern_manage__handles_clip_path:
+ return 1;
}
return_error(gs_error_unregistered);
}
diff --git a/gs/src/gxclpath.c b/gs/src/gxclpath.c
index f5c05526a..0ed01e05b 100644
--- a/gs/src/gxclpath.c
+++ b/gs/src/gxclpath.c
@@ -18,6 +18,7 @@
#include "gx.h"
#include "gpcheck.h"
#include "gserrors.h"
+#include "gsptype2.h"
#include "gxdevice.h"
#include "gxdevmem.h" /* must precede gxcldev.h */
#include "gxcldev.h"
diff --git a/gs/src/gxclrast.c b/gs/src/gxclrast.c
index f0167b7fb..e40e6e7a7 100644
--- a/gs/src/gxclrast.c
+++ b/gs/src/gxclrast.c
@@ -1415,7 +1415,6 @@ idata: data_size = 0;
break;
case cmd_opv_fill_trapezoid:
{
- gx_cmd_rect rl, rr;
gs_fixed_edge left, right;
fixed ybot, ytop;
int options, swap_axes, wh;
diff --git a/gs/src/gxclrect.c b/gs/src/gxclrect.c
index 41166289f..63ca18a8b 100644
--- a/gs/src/gxclrect.c
+++ b/gs/src/gxclrect.c
@@ -211,7 +211,7 @@ cmd_write_trapezoid_cmd(gx_device_clist_writer * cldev, gx_clist_state * pcls,
cmd_putw(ybot, dp);
cmd_putw(ytop, dp);
cmd_putw(options, dp);
- if_debug6('L', " t%ld:%ld,%ld,%ld,%ld %ld\n",
+ if_debug6('L', " t%d:%ld,%ld,%ld,%ld %ld\n",
rcsize - 1, left->start.x, left->start.y, left->end.x, left->end.y, ybot);
if_debug6('L', " t%ld,%ld,%ld,%ld %ld o=%d\n",
right->start.x, right->start.y, right->end.x, right->end.y, ytop, options);
diff --git a/gs/src/gxshade6.c b/gs/src/gxshade6.c
index fb1d39249..04dda2eaa 100644
--- a/gs/src/gxshade6.c
+++ b/gs/src/gxshade6.c
@@ -27,8 +27,8 @@
#include "gxdcolor.h"
#include "gxistate.h"
#include "gxshade.h"
-#include "gxshade4.h"
#include "gxdevcli.h"
+#include "gxshade4.h"
#include "gxarith.h"
#include "gzpath.h"
#include "stdint_.h"
@@ -226,7 +226,7 @@ init_patch_fill_state(patch_fill_state_t *pfs)
/* Warning : pfs->Function must be set in advance. */
const gs_color_space *pcs = pfs->direct_space;
gs_client_color fcc0, fcc1;
- int i, code;
+ int i;
for (i = 0; i < pfs->num_components; i++) {
fcc0.paint.values[i] = -1000000;
diff --git a/gs/src/lib.mak b/gs/src/lib.mak
index f7187ad70..68595e4b0 100644
--- a/gs/src/lib.mak
+++ b/gs/src/lib.mak
@@ -1703,7 +1703,7 @@ $(GLOBJ)gxclimag.$(OBJ) : $(GLSRC)gxclimag.c $(GXERR) $(math__h) $(memory__h)\
$(GLCC) $(GLO_)gxclimag.$(OBJ) $(C_) $(GLSRC)gxclimag.c
$(GLOBJ)gxclpath.$(OBJ) : $(GLSRC)gxclpath.c $(GXERR)\
- $(math__h) $(memory__h) $(gpcheck_h)\
+ $(math__h) $(memory__h) $(gpcheck_h) $(gptype2_h)\
$(gxcldev_h) $(gxclpath_h) $(gxcolor2_h)\
$(gxdcolor_h) $(gxpaint_h)\
$(gzpath_h) $(gzcpath_h) $(stream_h) $(gsserial_h)