diff options
-rw-r--r-- | sysutils/file/distinfo | 4 | ||||
-rw-r--r-- | sysutils/file/patches/patch-magic_myfile | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sysutils/file/distinfo b/sysutils/file/distinfo index 6a8be1f0da8..d2075c4451e 100644 --- a/sysutils/file/distinfo +++ b/sysutils/file/distinfo @@ -1,9 +1,9 @@ -$NetBSD: distinfo,v 1.41 2021/12/27 23:25:08 schmonz Exp $ +$NetBSD: distinfo,v 1.42 2022/01/29 13:06:25 schmonz Exp $ BLAKE2s (file-5.40.tar.gz) = 81709bb3abd39d4eea0e8d93966f162496d89e5bfc7f9e88d6be31b86dd5ed75 SHA512 (file-5.40.tar.gz) = 3b70df75fa4c9050d55b1ffdc28e5f3c8b8ef7d4efd1a06bf53f113b676d81114a85aae56e0897d32b53716662d64ad18ab251ca8c92c6405c69eb758bb99afb Size (file-5.40.tar.gz) = 1004214 bytes SHA1 (patch-aa) = df1206c65ebbffca766ad77f7d98f8caa26a8b1c SHA1 (patch-magic_Makefile.in) = 7870ab84573b2d2ce4b774083f073c620ba6f5d1 -SHA1 (patch-magic_myfile) = a977950ad98fd633aae6dec8357353a5b5ceee9d +SHA1 (patch-magic_myfile) = a7c4621a661b3bf423d350641f052318c489c4bc SHA1 (patch-src_fsmagic.c) = f862c5335bc3c6b0d39dfcdfd79e2d99407e40f5 diff --git a/sysutils/file/patches/patch-magic_myfile b/sysutils/file/patches/patch-magic_myfile index 7126d24549e..53f0033a779 100644 --- a/sysutils/file/patches/patch-magic_myfile +++ b/sysutils/file/patches/patch-magic_myfile @@ -1,8 +1,8 @@ -$NetBSD: patch-magic_myfile,v 1.1 2021/12/27 23:25:08 schmonz Exp $ +$NetBSD: patch-magic_myfile,v 1.2 2022/01/29 13:06:26 schmonz Exp $ Use the just-built libmagic, not whatever might be already installed. ---- magic/myfile.orig 2021-12-27 21:10:43.590323858 +0000 +--- magic/myfile.orig 2022-01-29 13:08:32.000000000 +0000 +++ magic/myfile @@ -0,0 +1,8 @@ +#!@SH@ @@ -11,5 +11,5 @@ Use the just-built libmagic, not whatever might be already installed. + +magicdir=$(pwd) +cd ../src/.libs -+LD_PRELOAD=./libmagic.so.1 ./file -C -m "${magicdir}/$1" ++DYLD_LIBRARY_PATH=. LD_PRELOAD=./libmagic.so.1 ./file -C -m "${magicdir}/$1" +cp magic.mgc ${magicdir} |