svn commit: r497567 - in head/sysutils/cbsd: . files
Kirill Ponomarev
krion at FreeBSD.org
Tue Apr 2 17:13:24 UTC 2019
Author: krion
Date: Tue Apr 2 17:13:23 2019
New Revision: 497567
URL: https://svnweb.freebsd.org/changeset/ports/497567
Log:
Add fix for cbsd taskd args
PR: 236968
Submitted by: maintainer
Added:
head/sysutils/cbsd/files/patch-nc.subr (contents, props changed)
Modified:
head/sysutils/cbsd/Makefile
Modified: head/sysutils/cbsd/Makefile
==============================================================================
--- head/sysutils/cbsd/Makefile Tue Apr 2 16:30:29 2019 (r497566)
+++ head/sysutils/cbsd/Makefile Tue Apr 2 17:13:23 2019 (r497567)
@@ -2,6 +2,7 @@
PORTNAME= cbsd
DISTVERSION= 12.0.8
+PORTREVISION= 1
CATEGORIES= sysutils
MAINTAINER= olevole at olevole.ru
Added: head/sysutils/cbsd/files/patch-nc.subr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/cbsd/files/patch-nc.subr Tue Apr 2 17:13:23 2019 (r497567)
@@ -0,0 +1,15 @@
+--- nc.subr.orig 2019-04-01 20:14:44 UTC
++++ nc.subr
+@@ -139,9 +139,10 @@ init() {
+ VAL=$( substr --pos=$(( ${_pos} +2 )) --len=${_pref} --str="${1}" )
+ IFS=" "
+ VAL=$( echo ${VAL} | /usr/bin/tr -d '"' ) # strip extra quotes
+- if [ ${double_args} -eq 0 -a -n "${VAL}" ]; then
++ if [ ${double_args} -eq 0 ]; then
+ shift
+- continue # value already set, skip
++ eval T="\$$ARG"
++ [ -n "${T}" ] && continue # value already set, skip
+ fi
+ i=$(( i + 1 ))
+ eval "${ARG}='${VAL}'";
More information about the svn-ports-all
mailing list