diff options
author | wxs <wxs@FreeBSD.org> | 2013-07-06 02:46:33 +0800 |
---|---|---|
committer | wxs <wxs@FreeBSD.org> | 2013-07-06 02:46:33 +0800 |
commit | 6d3b34942ec72b3abd0928f4dc2ad30d701372e3 (patch) | |
tree | 64c6877ebabd61f7aa783c774fe480c205affca7 | |
parent | cfc87bf1a31f28db0f317008f3291bc5ba6b94b8 (diff) | |
download | freebsd-ports-gnome-6d3b34942ec72b3abd0928f4dc2ad30d701372e3.tar.gz freebsd-ports-gnome-6d3b34942ec72b3abd0928f4dc2ad30d701372e3.tar.zst freebsd-ports-gnome-6d3b34942ec72b3abd0928f4dc2ad30d701372e3.zip |
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>
-rw-r--r-- | security/sudo/Makefile | 1 | ||||
-rw-r--r-- | security/sudo/files/patch-plugins__sudoers__audit.c | 10 |
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" |