Fix missing include.

This was causing the "Undefined symbol '_'" message when hitting ^C or
entering an incorect command.

PR:		ports/180262
Submitted by:	Christophe Juniet <c.juniet@gmail.com>
This commit is contained in:
Wesley Shields 2013-07-05 18:46:33 +00:00
parent 86631287d8
commit 5256e84afb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=322347
2 changed files with 11 additions and 0 deletions

View file

@ -3,6 +3,7 @@
PORTNAME= sudo
DISTVERSION= 1.8.7
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_SUDO}

View file

@ -0,0 +1,10 @@
--- ./plugins/sudoers/audit.c.orig 2013-06-04 11:48:28.000000000 +0200
+++ ./plugins/sudoers/audit.c 2013-07-05 13:10:01.000000000 +0200
@@ -39,6 +39,7 @@
#ifdef HAVE_BSM_AUDIT
# include "bsm_audit.h"
+# include "gettext.h"
#endif
#ifdef HAVE_LINUX_AUDIT
# include "linux_audit.h"