File ghostscript-8.60-bbox.dif of Package ghostscript-library
--- base/gdevbbox.c
+++ base/gdevbbox.c 2007-09-28 15:39:08.830606487 +0200
@@ -218,7 +218,7 @@ bbox_copy_params(gx_device_bbox * bdev,
if (tdev != 0)
gx_device_copy_params((gx_device *)bdev, tdev);
- if (remap_colors) {
+ if (remap_colors && bdev->is_open) {
bdev->black = gx_device_black((gx_device *)bdev);
bdev->white = gx_device_white((gx_device *)bdev);
bdev->transparent =