freebsd-ports/security/openvpn20/files/patch-options.c
Matthias Andree a414753739 Clang fixes:- patch plugin Makefiles to use ${CC} rather than gcc (found by -exp run);
- silence non-literal format string warnings (non-fix, adds patch-options.c)
- fix missing prototype warning (adds patch-route.c, bumps PORTREVISION)
- Use full ${MAKE} environment from do-build, for consistency.

While here, remove MD5 checksum.
2011-06-20 21:44:47 +00:00

29 lines
631 B
C

--- ./options.c.orig 2011-06-20 23:21:51.000000000 +0200
+++ ./options.c 2011-06-20 23:22:06.000000000 +0200
@@ -3002,7 +3002,7 @@
{
if (options->inetd != -1)
{
- msg (msglevel, opterr);
+ msg (msglevel, "%s", opterr);
goto err;
}
else
@@ -3012,7 +3012,7 @@
{
if (options->inetd != -1)
{
- msg (msglevel, opterr);
+ msg (msglevel, "%s", opterr);
goto err;
}
else
@@ -3022,7 +3022,7 @@
{
if (name != NULL)
{
- msg (msglevel, opterr);
+ msg (msglevel, "%s", opterr);
goto err;
}
name = p[z];