summaryrefslogtreecommitdiff
path: root/graphics/xli/files/patch-ab
diff options
context:
space:
mode:
authorJoseph Koshy <jkoshy@FreeBSD.org>2001-03-26 06:11:19 +0000
committerJoseph Koshy <jkoshy@FreeBSD.org>2001-03-26 06:11:19 +0000
commitf7e80325c69c7b92c9a00ee589d4f2fd8057d3ed (patch)
treedf6c11aeda73791cd38c3639b649e0b3887c12b8 /graphics/xli/files/patch-ab
parentadd cgicc (diff)
1. Fix man page installation error; this port installs to MANN not MAN1
2. Fix buglet in clipping zoomed images. PR: ports/26075 Submitted by: Yoshihiko Sarumaru <mistral@imasy.or.jp> 3. Enable handling Gzip'ped images. 4. Better default image path. PORTREVISION incremented to `1'.
Notes
Notes: svn path=/head/; revision=40389
Diffstat (limited to 'graphics/xli/files/patch-ab')
-rw-r--r--graphics/xli/files/patch-ab13
1 files changed, 13 insertions, 0 deletions
diff --git a/graphics/xli/files/patch-ab b/graphics/xli/files/patch-ab
new file mode 100644
index 000000000000..20a416e7bbeb
--- /dev/null
+++ b/graphics/xli/files/patch-ab
@@ -0,0 +1,13 @@
+--- xli.c.orig Wed Feb 9 14:53:35 2000
++++ xli.c Mon Mar 26 10:37:35 2001
+@@ -369,8 +369,8 @@
+ winheight = globals.dinfo.height;
+
+ if (!images[0].ats) {
+- atx = (winwidth - inew->width) / 2;
+- aty = (winheight - inew->height) / 2;
++ atx = (int)(winwidth - inew->width) / 2;
++ aty = (int)(winheight - inew->height) / 2;
+ }
+ /* use clip to put border around image */
+ itmp = clip(inew, -atx, -aty, winwidth, winheight,