diff options
author | nia <nia@pkgsrc.org> | 2022-07-07 05:30:56 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2022-07-07 05:30:56 +0000 |
commit | 556dfb05d0c1127d7b714d6f6d1a126cf77ed21d (patch) | |
tree | 9ad09f076c08a2600f3a3b6fb0765e16380b1124 | |
parent | 70dd8e5321d08957f0a18edca56891c8e46068fa (diff) | |
download | pkgsrc-556dfb05d0c1127d7b714d6f6d1a126cf77ed21d.tar.gz |
feh: update to 3.9
* Release v3.9
* Fix compilation on macOS by defining _DARWIN_C_SOURCE for
mkdtemp and mkstemps. (Patch by Ryan Schmidt)
* Remove magic byte check before passing an image to Imlib2.
This check was introduced in feh 3.6 to work around an issue with
Imlib2 being slow to determine image loadability in some cases
<https://phab.enlightenment.org/T8739>. By now, an Imlib2 version without
this issue should be available in all recent distributions, so the check
in feh is no longer required. For a slight speed-up, or to use feh with
an affected Imlib2 version (1.6.x or 1.7.0), compile feh with 'magic=1'.
In this case, feh will use libmagic to determine whether a file is an
image, and only pass images to Imlib2.
* Fix crash (segmentation fault due to null pointer dereference) when
toggling fullscreen mode while moving the cursor.
* Note that feh no longer supplies its own getopt_long function.
getopt_long is provided by a wide range of libc implementations, so
there is no need for feh to duplicate it. (Patch by Guilherme Janczak)
-rw-r--r-- | graphics/feh/Makefile | 4 | ||||
-rw-r--r-- | graphics/feh/distinfo | 9 | ||||
-rw-r--r-- | graphics/feh/patches/patch-src_getopt.c | 14 |
3 files changed, 6 insertions, 21 deletions
diff --git a/graphics/feh/Makefile b/graphics/feh/Makefile index d76976f8a52..fd127619800 100644 --- a/graphics/feh/Makefile +++ b/graphics/feh/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.120 2022/01/11 10:30:56 nia Exp $ +# $NetBSD: Makefile,v 1.121 2022/07/07 05:30:56 nia Exp $ -DISTNAME= feh-3.8 +DISTNAME= feh-3.9 CATEGORIES= graphics MASTER_SITES= https://feh.finalrewind.org/ EXTRACT_SUFX= .tar.bz2 diff --git a/graphics/feh/distinfo b/graphics/feh/distinfo index 5190c82507f..4b5762270dd 100644 --- a/graphics/feh/distinfo +++ b/graphics/feh/distinfo @@ -1,10 +1,9 @@ -$NetBSD: distinfo,v 1.65 2022/01/11 10:30:56 nia Exp $ +$NetBSD: distinfo,v 1.66 2022/07/07 05:30:56 nia Exp $ -BLAKE2s (feh-3.8.tar.bz2) = b69e2bd41fe0288b5a4cacb5eaa5b01051392d8b61250b4958f81621bd8b0b52 -SHA512 (feh-3.8.tar.bz2) = 99e09b4a9a02e087714d95fc8314757c52f4b0f188dcb28ed9972dc1215cec2daa2a9e2a64d0078a24cee74cbdf6fdc57ff264a3f7bb3fc00e00c827b655ca2f -Size (feh-3.8.tar.bz2) = 2122631 bytes +BLAKE2s (feh-3.9.tar.bz2) = 3d3220aabbded9acb2147e6e1e191b5480d9e9c9a79a5da0af31577453ebc305 +SHA512 (feh-3.9.tar.bz2) = 0d217bdc9f78c8a4a40684ccc798986465c46282eef39a6792791763a5683ddc9a2ca277dc10c23bfe55aa11b415f5ff66b4ded2fe2a7a946660ccd07a4edc50 +Size (feh-3.9.tar.bz2) = 2111997 bytes SHA1 (patch-config.mk) = af7990e42c4c0a351c0d40eeb8221cd619ef72fb -SHA1 (patch-src_getopt.c) = 1a91896a7bed8670fc44798308341633f818ebdc SHA1 (patch-src_gib__imlib.c) = 4f231e1bd8698e0bff796fab6b553649c31e1650 SHA1 (patch-src_imlib_c) = 925d2536b69f99acc949cb6bd67422d001335492 SHA1 (patch-src_wallpaper.c) = 8c1fcf000ef7ac7b690b0afbd64ef612e1fa3e34 diff --git a/graphics/feh/patches/patch-src_getopt.c b/graphics/feh/patches/patch-src_getopt.c deleted file mode 100644 index 524f4fcc9df..00000000000 --- a/graphics/feh/patches/patch-src_getopt.c +++ /dev/null @@ -1,14 +0,0 @@ -$NetBSD: patch-src_getopt.c,v 1.3 2020/11/23 13:10:54 nia Exp $ - -Include string.h for strlen(). - ---- src/getopt.c.orig 2020-08-29 06:50:28.000000000 +0000 -+++ src/getopt.c -@@ -97,6 +97,7 @@ - they can distinguish the relative order of options and other arguments. */ - - #include "getopt.h" -+#include <string.h> - - /* For communication from `getopt' to the caller. - When `getopt' finds an option that takes an argument, |