freebsd-ports/net/wackamole/files/patch-config_gram.y
John Marino f2aad7685c Resurrect net/wackmole and upgrade version 2.14 => 2.15
This port was removed because it's dependency "spread" was removed.
Spread has returned, and now this one returns with a new version.

  * maintainership passed to submitter (old version was not unmaintained)
  * pkg-descr rewritten, WWW updated
  * LIB_DEPENDS format updated
  * distfile mirror added
  * USES+= tar:xz used
  * patches regenerated

PR:		189403
Submitted by:	Chris Hutchison
Fixes by:	marino
2014-06-11 14:25:01 +00:00

11 lines
484 B
Text

--- config_gram.y.orig 2014-05-06 16:30:17.040722949 -0700
+++ config_gram.y 2014-05-06 16:32:22.614815187 -0700
@@ -106,7 +106,7 @@
SPIT("Setting Group: %s\n", Spread_group); }
| W_LOG W_EQUALS W_STRING
| W_CONTROL W_EQUALS W_STRING
- { snprintf(control_socket, MAXPATHLEN, $3.string); }
+ { snprintf(control_socket, MAXPATHLEN, "%s", $3.string); }
| W_MATURE W_EQUALS W_TIMEINTERVAL
{ Maturity_timeout.sec = $3.tv.tv_sec;
Maturity_timeout.usec = 0;