Hi, this diff updates graphics/feh to version 1.9. OK?
Ciao, David Index: Makefile =================================================================== RCS file: /cvs/ports/graphics/feh/Makefile,v retrieving revision 1.11 diff -u -p -r1.11 Makefile --- Makefile 11 Jul 2010 14:46:13 -0000 1.11 +++ Makefile 10 Sep 2010 14:23:19 -0000 @@ -2,7 +2,7 @@ COMMENT= lightweight image viewer -DISTNAME= feh-1.8 +DISTNAME= feh-1.9 EXTRACT_SUFX= .tar.bz2 CATEGORIES= graphics Index: distinfo =================================================================== RCS file: /cvs/ports/graphics/feh/distinfo,v retrieving revision 1.8 diff -u -p -r1.8 distinfo --- distinfo 11 Jul 2010 14:46:13 -0000 1.8 +++ distinfo 10 Sep 2010 14:23:19 -0000 @@ -1,5 +1,5 @@ -MD5 (feh-1.8.tar.bz2) = /oEzSAX02ptfHjW0XERKGg== -RMD160 (feh-1.8.tar.bz2) = H2xQ+a8iYykIgUHSaSeQcUTsyNY= -SHA1 (feh-1.8.tar.bz2) = FHtWCCgbgb6NH3z5RP12HouGrgY= -SHA256 (feh-1.8.tar.bz2) = nuPw2dG5cErgExo7UcgiDnAevj0EV64hEicz+ukVsKw= -SIZE (feh-1.8.tar.bz2) = 358172 +MD5 (feh-1.9.tar.bz2) = d2my+8tmEX8VnM5MPz39iw== +RMD160 (feh-1.9.tar.bz2) = LgvTGpT9nFSez6n8QUESRIPYCIs= +SHA1 (feh-1.9.tar.bz2) = ZDtboIXtG383+25IKTd5+QVvym4= +SHA256 (feh-1.9.tar.bz2) = /IJUZyZPX7/6XIykBDh4TpN30wsNzbg+ZIwXhvtsDEU= +SIZE (feh-1.9.tar.bz2) = 336047 Index: patches/patch-src_imlib_c =================================================================== RCS file: /cvs/ports/graphics/feh/patches/patch-src_imlib_c,v retrieving revision 1.1 diff -u -p -r1.1 patch-src_imlib_c --- patches/patch-src_imlib_c 11 Jul 2010 14:46:13 -0000 1.1 +++ patches/patch-src_imlib_c 10 Sep 2010 14:23:19 -0000 @@ -1,6 +1,6 @@ $OpenBSD: patch-src_imlib_c,v 1.1 2010/07/11 14:46:13 dcoppa Exp $ ---- src/imlib.c.orig Fri Jun 25 17:13:11 2010 -+++ src/imlib.c Wed Jul 7 12:12:42 2010 +--- src/imlib.c.orig Fri Sep 10 16:00:01 2010 ++++ src/imlib.c Fri Sep 10 16:03:36 2010 @@ -435,6 +435,7 @@ char *feh_http_load_image(char *url) close(sockno); fclose(fp); @@ -19,16 +19,16 @@ $OpenBSD: patch-src_imlib_c,v 1.1 2010/0 - quiet = estrdup("-q"); - - execlp("wget", "wget", "--cache=off", "-O", tmpname, url, quiet, NULL); -- eprintf("url: exec failed: wget:"); -+ if (!opt.verbose) { -+ if ((fd = open("/dev/null", O_WRONLY)) != -1) { +- eprintf("url: Is 'wget' installed? Failed to exec wget:"); ++ if (!opt.verbose) { ++ if ((fd = open("/dev/null", O_WRONLY)) != -1) { + dup2(fd, fileno(stdout)); + dup2(fd, fileno(stderr)); + } + if (fd > 2) close(fd); + } + execlp("ftp", "ftp", "-o", tmpname, url, (char *)NULL); -+ eprintf("url: exec failed: ftp:"); ++ eprintf("url: Is 'ftp' installed? Failed to exec ftp:"); } else { waitpid(pid, &status, 0); @@ -45,5 +45,5 @@ $OpenBSD: patch-src_imlib_c,v 1.1 2010/0 - rotate_str, "-outfile", file_str, file_str, NULL); + rotate_str, "-outfile", file_str, file_str, (char *)NULL); - eprintf("lossless rotate: exec failed: jpegtran:"); + eprintf("lossless rotate: Is 'jpegtran' installed? Failed to exec:"); } else { Index: patches/patch-src_keyevents_c =================================================================== RCS file: patches/patch-src_keyevents_c diff -N patches/patch-src_keyevents_c --- patches/patch-src_keyevents_c 11 Jul 2010 14:46:13 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,17 +0,0 @@ -$OpenBSD: patch-src_keyevents_c,v 1.1 2010/07/11 14:46:13 dcoppa Exp $ ---- src/keyevents.c.orig Mon Jul 5 08:53:35 2010 -+++ src/keyevents.c Mon Jul 5 08:54:09 2010 -@@ -261,11 +261,13 @@ void feh_event_handle_keypress(XEvent * ev) - /* erroneously recognized as '+' in the *kbuf switch. Work around this. */ - len = 0; - winwid->zoom = winwid->zoom * 1.25; -+ winwidget_sanitise_offsets(winwid); - winwidget_render_image(winwid, 0, 0); - break; - case XK_KP_Subtract: - len = 0; - winwid->zoom = winwid->zoom * 0.75; -+ winwidget_sanitise_offsets(winwid); - winwidget_render_image(winwid, 0, 0); - break; - case XK_KP_Multiply: Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/graphics/feh/pkg/PLIST,v retrieving revision 1.3 diff -u -p -r1.3 PLIST --- pkg/PLIST 11 Jul 2010 14:46:13 -0000 1.3 +++ pkg/PLIST 10 Sep 2010 14:23:19 -0000 @@ -21,8 +21,5 @@ share/feh/images/menubg_aluminium.png share/feh/images/menubg_aqua.png share/feh/images/menubg_black.png share/feh/images/menubg_brushed.png -share/feh/images/menubg_chrome.png share/feh/images/menubg_default.png -share/feh/images/menubg_pastel.png share/feh/images/menubg_sky.png -share/feh/images/menubg_wood.png