summaryrefslogtreecommitdiff
path: root/print/ghostscript-gpl/files/patch-src:zmedia2.c
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2007-03-27 19:59:21 +0000
committerRong-En Fan <rafan@FreeBSD.org>2007-03-27 19:59:21 +0000
commit20352fa29823ad73e4f06d086dc9598d1a274ab8 (patch)
tree8dca0c9c79381ab1af57f988e6007e2e7b2e40fa /print/ghostscript-gpl/files/patch-src:zmedia2.c
parentClean up CXXFLAGS. Fix compilation with gcc-4.1.x. (diff)
- Update to 8.56
- Switch to GTK 2.x - SWitch to ship-in jasper which contains some fixes for gs PR: ports/110818 Submitted by: KATO Tsuguru <tkato432 at yahoo.com>
Notes
Notes: svn path=/head/; revision=188581
Diffstat (limited to 'print/ghostscript-gpl/files/patch-src:zmedia2.c')
-rw-r--r--print/ghostscript-gpl/files/patch-src:zmedia2.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/print/ghostscript-gpl/files/patch-src:zmedia2.c b/print/ghostscript-gpl/files/patch-src:zmedia2.c
deleted file mode 100644
index 9033a4388085..000000000000
--- a/print/ghostscript-gpl/files/patch-src:zmedia2.c
+++ /dev/null
@@ -1,25 +0,0 @@
---- src/zmedia2.c.orig Fri Apr 27 02:57:41 2001
-+++ src/zmedia2.c Fri Nov 2 04:08:16 2001
-@@ -429,11 +429,17 @@
-
- rx = ry, ry = temp;
- }
-- /* Adjust the medium size if flexible. */
-- if (medium->p.x < MIN_MEDIA_SIZE && mx > rx)
-- mx = rx;
-- if (medium->p.y < MIN_MEDIA_SIZE && my > ry)
-- my = ry;
-+ /* If 'medium' is flexible, adjust 'mx' and 'my' towards 'rx' and 'ry',
-+ respectively. Note that 'mx' and 'my' have just acquired the largest
-+ permissible value, medium->q. */
-+ if (medium->p.x < mx) /* non-empty width range */
-+ if (rx < medium->p.x) mx = medium->p.x; /* minimum */
-+ else if (mx > rx) mx = rx; /* fits */
-+ /* else use medium->q.x, i.e., the maximum */
-+ if (medium->p.y < my) /* non-empty height range */
-+ if (ry < medium->p.y) my = medium->p.y; /* minimum */
-+ else if (my > ry) my = ry; /* fits */
-+ /* else use medium->q.y, i.e., the maximum */
-
- /* Translate to align the centers. */
- gs_make_translation(mx / 2, my / 2, pmat);