Index: head/sysutils/bsdisks/Makefile =================================================================== --- head/sysutils/bsdisks/Makefile (revision 516287) +++ head/sysutils/bsdisks/Makefile (revision 516288) @@ -1,17 +1,18 @@ # $FreeBSD$ PORTNAME= bsdisks DISTVERSION= 0.9 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= https://bitbucket.org/arrowd/bsdisks/downloads/ MAINTAINER= arrowd@FreeBSD.org COMMENT= UDisks2 service implementation for FreeBSD LICENSE= BSD3CLAUSE USES= cmake compiler:c++11-lang qt:5 USE_QT= qmake_build buildtools_build core dbus .include Index: head/sysutils/bsdisks/files/patch-camcontrol.c =================================================================== --- head/sysutils/bsdisks/files/patch-camcontrol.c (nonexistent) +++ head/sysutils/bsdisks/files/patch-camcontrol.c (revision 516288) @@ -0,0 +1,16 @@ +--- camcontrol.c.orig 2019-09-08 10:38:26 UTC ++++ camcontrol.c +@@ -166,9 +166,11 @@ int cam_is_removable(const char* device_path) + int timeout = 0, retry_count = 1; + int unit = 0; + +- if (cam_get_device(device_path, name, sizeof name, &unit) +- == -1) ++ if (cam_get_device(device_path, name, sizeof name, &unit) == -1) ++ { + errx(1, "%s", cam_errbuf); ++ return (-1); ++ } + + if ((cam_dev = cam_open_spec_device(device,unit,O_RDWR,NULL)) + == NULL) Property changes on: head/sysutils/bsdisks/files/patch-camcontrol.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property