forked from Lainports/freebsd-ports
Fix upstream bug.
PR: 188147 Submitted by: skreuzer
This commit is contained in:
parent
b9a8f319b3
commit
ca638ecf66
2 changed files with 11 additions and 1 deletions
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
PORTNAME= cfengine
|
||||
PORTVERSION= 3.5.3
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= http://cfengine.com/source-code/download?file=
|
||||
|
||||
|
|
|
|||
10
sysutils/cfengine35/files/patch-libpromises-expand.c
Normal file
10
sysutils/cfengine35/files/patch-libpromises-expand.c
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
--- libpromises/expand.c.orig 2014-03-31 18:24:39.000000000 +0000
|
||||
+++ libpromises/expand.c 2014-03-31 18:25:10.000000000 +0000
|
||||
@@ -787,6 +787,7 @@
|
||||
ScopeNewSpecial(ctx, "this", "promise_linenumber", number, DATA_TYPE_STRING);
|
||||
}
|
||||
|
||||
+ ScopeNewSpecial(ctx, "this", "promiser", pp->promiser, DATA_TYPE_STRING);
|
||||
snprintf(v, CF_MAXVARSIZE, "%d", (int) getuid());
|
||||
ScopeNewSpecial(ctx, "this", "promiser_uid", v, DATA_TYPE_INT);
|
||||
snprintf(v, CF_MAXVARSIZE, "%d", (int) getgid());
|
||||
Loading…
Add table
Reference in a new issue