Upgrade to the 2005-09-04 snapshot.

PR:		ports/86537
Submitted by:	Rostislav Krasny <rosti.bsd@gmail.com>
This commit is contained in:
Joseph Koshy 2005-09-25 11:20:42 +00:00
parent 88454ce547
commit 0ac143df1f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=143518
3 changed files with 6 additions and 17 deletions

View file

@ -7,7 +7,7 @@
PORTNAME= xli
PORTVERSION= 1.17.0
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= graphics
MASTER_SITES= http://pantransit.reptiles.org/prog/xli/ \
${MASTER_SITE_XCONTRIB}
@ -26,8 +26,10 @@ USE_XLIB= yes
USE_IMAKE= yes
USE_PERL5_BUILD=yes
MAN1= xli.1 xlito.1
MAN_LINKS= xli.1 xview.1 \
xli.1 xsetbg.1
XLI_SNAPVER= 2005-02-27
XLI_SNAPVER= 2005-09-04
post-patch:
@${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/Imakefile

View file

@ -1,2 +1,2 @@
MD5 (xli-2005-02-27.tar.gz) = db470da53500017fd6969457c12c98f7
SIZE (xli-2005-02-27.tar.gz) = 201011
MD5 (xli-2005-09-04.tar.gz) = 26894838a3e69a1e12f3c5b6b1bf7977
SIZE (xli-2005-09-04.tar.gz) = 201219

View file

@ -1,13 +0,0 @@
--- 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,