summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWesley Shields <wxs@FreeBSD.org>2013-07-05 18:46:33 +0000
committerWesley Shields <wxs@FreeBSD.org>2013-07-05 18:46:33 +0000
commit5256e84afb58f00331d832d45fae4a8bc33ac5fd (patch)
tree64c6877ebabd61f7aa783c774fe480c205affca7
parent- Remove broken mirror and add two new ones. (diff)
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>
Notes
Notes: svn path=/head/; revision=322347
-rw-r--r--security/sudo/Makefile1
-rw-r--r--security/sudo/files/patch-plugins__sudoers__audit.c10
2 files changed, 11 insertions, 0 deletions
diff --git a/security/sudo/Makefile b/security/sudo/Makefile
index 3841f6993439..6fc81798d556 100644
--- a/security/sudo/Makefile
+++ b/security/sudo/Makefile
@@ -3,6 +3,7 @@
PORTNAME= sudo
DISTVERSION= 1.8.7
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_SUDO}
diff --git a/security/sudo/files/patch-plugins__sudoers__audit.c b/security/sudo/files/patch-plugins__sudoers__audit.c
new file mode 100644
index 000000000000..43e2ebd32cc1
--- /dev/null
+++ b/security/sudo/files/patch-plugins__sudoers__audit.c
@@ -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"