Received: by mail.netbsd.org (Postfix, from userid 605) id E229784F11; Wed, 3 Jan 2018 20:46:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 58BF084F0F for ; Wed, 3 Jan 2018 20:46:56 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id wqw5KGQ-Hnl5 for ; Wed, 3 Jan 2018 20:46:55 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id D517F84F0B for ; Wed, 3 Jan 2018 20:46:55 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id D361AFBDE; Wed, 3 Jan 2018 20:46:55 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_151501241594900" MIME-Version: 1.0 Date: Wed, 3 Jan 2018 20:46:55 +0000 From: "Filip Hajny" Subject: CVS commit: pkgsrc/devel/erlang-fs To: pkgsrc-changes@NetBSD.org Reply-To: fhajny@netbsd.org X-Mailer: log_accum Message-Id: <20180103204655.D361AFBDE@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_151501241594900 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: fhajny Date: Wed Jan 3 20:46:55 UTC 2018 Modified Files: pkgsrc/devel/erlang-fs: Makefile distinfo Added Files: pkgsrc/devel/erlang-fs/patches: patch-src_fs__sup.erl Log Message: devel/erlang-fs: return "unsupported" properly on SunOS. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/erlang-fs/Makefile \ pkgsrc/devel/erlang-fs/distinfo cvs rdiff -u -r0 -r1.1 pkgsrc/devel/erlang-fs/patches/patch-src_fs__sup.erl Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_151501241594900 Content-Disposition: inline Content-Length: 2186 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/erlang-fs/Makefile diff -u pkgsrc/devel/erlang-fs/Makefile:1.1 pkgsrc/devel/erlang-fs/Makefile:1.2 --- pkgsrc/devel/erlang-fs/Makefile:1.1 Thu Dec 14 20:58:26 2017 +++ pkgsrc/devel/erlang-fs/Makefile Wed Jan 3 20:46:55 2018 @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.1 2017/12/14 20:58:26 fhajny Exp $ +# $NetBSD: Makefile,v 1.2 2018/01/03 20:46:55 fhajny Exp $ DISTNAME= fs-2.12.0 PKGNAME= erlang-${DISTNAME} +PKGREVISION= 1 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GITHUB:=synrc/} Index: pkgsrc/devel/erlang-fs/distinfo diff -u pkgsrc/devel/erlang-fs/distinfo:1.1 pkgsrc/devel/erlang-fs/distinfo:1.2 --- pkgsrc/devel/erlang-fs/distinfo:1.1 Thu Dec 14 20:58:26 2017 +++ pkgsrc/devel/erlang-fs/distinfo Wed Jan 3 20:46:55 2018 @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.1 2017/12/14 20:58:26 fhajny Exp $ +$NetBSD: distinfo,v 1.2 2018/01/03 20:46:55 fhajny Exp $ SHA1 (fs-2.12.0.tar.gz) = b3ee68a48f0f3ae26b236a24e35308c729825042 RMD160 (fs-2.12.0.tar.gz) = f5fbced99b7e8f9af6b532174f540d1352ccc219 SHA512 (fs-2.12.0.tar.gz) = a5a708a9570417359bd4d3d34c26925c09453108fc4fdc8a9f8fbb59a5fa7e0dd4c60a30ebf4c4a2289a2b25a289cb731990600f78eedc4fb8a66ee9bfe2e221 Size (fs-2.12.0.tar.gz) = 21410 bytes +SHA1 (patch-src_fs__sup.erl) = 468aadce60bd9beaaa47aff3942006527b127908 Added files: Index: pkgsrc/devel/erlang-fs/patches/patch-src_fs__sup.erl diff -u /dev/null pkgsrc/devel/erlang-fs/patches/patch-src_fs__sup.erl:1.1 --- /dev/null Wed Jan 3 20:46:55 2018 +++ pkgsrc/devel/erlang-fs/patches/patch-src_fs__sup.erl Wed Jan 3 20:46:55 2018 @@ -0,0 +1,15 @@ +$NetBSD: patch-src_fs__sup.erl,v 1.1 2018/01/03 20:46:55 fhajny Exp $ + +Properly return "unsupported" on SunOS platforms. +Merged upstream via https://github.com/synrc/fs/pull/54 + +--- src/fs_sup.erl.orig 2016-12-20 00:10:23.000000000 +0000 ++++ src/fs_sup.erl +@@ -10,6 +10,7 @@ init([EventHandler, FileHandler, Path]) + Backend = case os:type() of + {unix, darwin} -> fsevents; + {unix, linux} -> inotifywait; ++ {unix, sunos} -> undefined; + {unix, _} -> kqueue; + {win32, nt} -> inotifywait_win32; + _ -> undefined end, --_----------=_151501241594900--