From 98c169e9bc82a52e2a0b6f8497c48ec72f14a02b Mon Sep 17 00:00:00 2001 From: Dirk Meyer Date: Fri, 22 May 2009 05:33:34 +0000 Subject: [PATCH] - enable support of g3 fax - fix initial display with -nolimit Reported by: Michiel Boland --- graphics/xv/Makefile | 2 +- graphics/xv/files/patch-Imakefile | 2 +- graphics/xv/files/patch-xvevent.c | 11 +++++++++++ graphics/xv/pkg-descr | 1 + 4 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 graphics/xv/files/patch-xvevent.c diff --git a/graphics/xv/Makefile b/graphics/xv/Makefile index 429ce2520bf0..edc5c4912bba 100644 --- a/graphics/xv/Makefile +++ b/graphics/xv/Makefile @@ -7,7 +7,7 @@ PORTNAME= xv PORTVERSION= 3.10a -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES+= graphics MASTER_SITES= ftp://ftp.cis.upenn.edu/pub/xv/:base \ ${MASTER_SITE_SOURCEFORGE} diff --git a/graphics/xv/files/patch-Imakefile b/graphics/xv/files/patch-Imakefile index 04c633252cd2..dfdd490eb661 100644 --- a/graphics/xv/files/patch-Imakefile +++ b/graphics/xv/files/patch-Imakefile @@ -41,7 +41,7 @@ #endif +#ifdef UseInstalledTiff -+TIFF = -DDOTIFF -DUSE_TILED_TIFF_BOTLEFT_FIX ++TIFF = -DDOTIFF -DUSE_TILED_TIFF_BOTLEFT_FIX -DOG3 +LIBTIFF = -L${LOCALBASE}/lib -ltiff +TIFFINCLUDE = -I${LOCALBASE}/include +#endif diff --git a/graphics/xv/files/patch-xvevent.c b/graphics/xv/files/patch-xvevent.c new file mode 100644 index 000000000000..5ce5d4faeec8 --- /dev/null +++ b/graphics/xv/files/patch-xvevent.c @@ -0,0 +1,11 @@ +--- xvevent.c.orig 2009-05-22 07:21:18.000000000 +0200 ++++ xvevent.c 2009-05-22 07:21:48.000000000 +0200 +@@ -814,7 +814,7 @@ + debkludge_offy = eHIGH-xwa.height+p_offy; + } + +-#if 0 ++#if 1 + /* FIXME: if we want to do this, we first have to wait for a configure + * notify to avoid a race condition because the location might be in- + * correct if the window manager does placement after managing the window. diff --git a/graphics/xv/pkg-descr b/graphics/xv/pkg-descr index 4196134e909c..accab9b6f5e5 100644 --- a/graphics/xv/pkg-descr +++ b/graphics/xv/pkg-descr @@ -18,3 +18,4 @@ for proper usage. LICENSE: shareware, free for personal use WWW: http://www.trilon.com/xv/ +WWW: http://www.gregroelofs.com/greg_xv.html