pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/erlang-fs devel/erlang-fs: return "unsupported" ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/30e88e40bfe9
branches:  trunk
changeset: 373510:30e88e40bfe9
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Wed Jan 03 20:46:55 2018 +0000

description:
devel/erlang-fs: return "unsupported" properly on SunOS.

diffstat:

 devel/erlang-fs/Makefile                      |   3 ++-
 devel/erlang-fs/distinfo                      |   3 ++-
 devel/erlang-fs/patches/patch-src_fs__sup.erl |  15 +++++++++++++++
 3 files changed, 19 insertions(+), 2 deletions(-)

diffs (44 lines):

diff -r 1c2d403d9b2e -r 30e88e40bfe9 devel/erlang-fs/Makefile
--- a/devel/erlang-fs/Makefile  Wed Jan 03 15:55:36 2018 +0000
+++ b/devel/erlang-fs/Makefile  Wed Jan 03 20:46:55 2018 +0000
@@ -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/}
 
diff -r 1c2d403d9b2e -r 30e88e40bfe9 devel/erlang-fs/distinfo
--- a/devel/erlang-fs/distinfo  Wed Jan 03 15:55:36 2018 +0000
+++ b/devel/erlang-fs/distinfo  Wed Jan 03 20:46:55 2018 +0000
@@ -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
diff -r 1c2d403d9b2e -r 30e88e40bfe9 devel/erlang-fs/patches/patch-src_fs__sup.erl
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/erlang-fs/patches/patch-src_fs__sup.erl     Wed Jan 03 20:46:55 2018 +0000
@@ -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,



Home | Main Index | Thread Index | Old Index