pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/erlang-fs



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.

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,



Home | Main Index | Thread Index | Old Index