aboutsummaryrefslogtreecommitdiff
path: root/graphics/xli/files
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
parent7d0ed49196e5083cf2cc2b6fdbadadfeeb4e1abe (diff)
downloadports-f7e80325c69c7b92c9a00ee589d4f2fd8057d3ed.tar.gz
ports-f7e80325c69c7b92c9a00ee589d4f2fd8057d3ed.zip
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')
-rw-r--r--graphics/xli/files/patch-aa26
-rw-r--r--graphics/xli/files/patch-ab13
2 files changed, 35 insertions, 4 deletions
diff --git a/graphics/xli/files/patch-aa b/graphics/xli/files/patch-aa
index ef60087f53fa..2ea0ca5ec1dc 100644
--- a/graphics/xli/files/patch-aa
+++ b/graphics/xli/files/patch-aa
@@ -1,13 +1,31 @@
---- Imakefile-- Wed Feb 9 09:23:32 2000
-+++ Imakefile Thu Apr 13 00:59:16 2000
+--- Imakefile-- Mon Mar 26 11:31:28 2001
++++ Imakefile Mon Mar 26 11:32:04 2001
@@ -12,8 +12,8 @@
CCOPTIONS = -Aa -D_HPUX_SOURCE
#endif
-JPEG_INCLUDES =
-JPEG_LDFLAGS =
-+JPEG_INCLUDES = -I%%LOCALBASE%%/include
-+JPEG_LDFLAGS = -L%%LOCALBASE%%/lib
++JPEG_INCLUDES = -I/usr/local/include
++JPEG_LDFLAGS = -L/usr/local/lib
PNG_INCLUDES =
PNG_LDFLAGS =
+@@ -22,7 +22,7 @@
+ DEPLIBS = $(DEPXLIB)
+ LOCAL_LIBRARIES = $(XLIB) $(JPEG_LDFLAGS) $(PNG_LDFLAGS) -ljpeg -lpng -lz
+ SYS_LIBRARIES = -lm
+-DEFINES = -DHAS_MEMCPY
++DEFINES = -DHAS_MEMCPY -DHAVE_GUNZIP
+ EXTRA_INCLUDES = $(JPEG_INCLUDES) $(PNG_INCLUDES)
+
+ SRCS1 = bright.c clip.c cmuwmrast.c compress.c dither.c faces.c fbm.c fill.c g3.c gif.c halftone.c imagetypes.c img.c mac.c mcidas.c mc_tables.c merge.c misc.c new.c options.c path.c pbm.c pcx.c reduce.c jpeg.c rle.c rlelib.c root.c rotate.c send.c smooth.c sunraster.c value.c window.c xbitmap.c xli.c xpixmap.c xwd.c zio.c zoom.c ddxli.c tga.c bmp.c pcd.c png.c
+@@ -47,7 +47,7 @@
+ @echo "*** it for your site. See the xloadimage manual page for"
+ @echo "*** details on the contents of this file."
+ cp /dev/null $(SYSPATHFILE)
+- echo "path=$(INCDIR)/bitmaps $(INCDIR)/images" \
++ echo "path=$(INCDIR)/X11/bitmaps $(INCDIR)/X11/pixmaps" \
+ >> $(SYSPATHFILE)
+ echo "extension=.gif .jpg .rle .csun .msun .sun .face .xbm .bm" \
+ >>$(SYSPATHFILE)
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,