From 73357897ce1c988545fd14c8f2ad4a604e84690f Mon Sep 17 00:00:00 2001 From: jwise Date: Thu, 8 May 2003 18:08:38 +0000 Subject: Add patch from lha@netbsd.org to fix build when KERBEROS == 5. --- security/sudo/distinfo | 3 ++- security/sudo/patches/patch-ab | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 security/sudo/patches/patch-ab (limited to 'security') diff --git a/security/sudo/distinfo b/security/sudo/distinfo index bcb3e6a6734..e607a0eaeb8 100644 --- a/security/sudo/distinfo +++ b/security/sudo/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.16 2003/05/03 18:27:46 jmmv Exp $ +$NetBSD: distinfo,v 1.17 2003/05/08 18:08:38 jwise Exp $ SHA1 (sudo-1.6.7p4.tar.gz) = e8feb075f09c48ee0d7b5d9e7d5f67f068a5b690 Size (sudo-1.6.7p4.tar.gz) = 349533 bytes SHA1 (patch-aa) = 23c35edd2aad78cc94881a8b03e2ade66dc7c993 +SHA1 (patch-ab) = 08cd6169b90b58474226561916343e37e5989ef7 SHA1 (patch-af) = 33ed24f6c812f3a2fc5fead32352d0dbf199b248 SHA1 (patch-ag) = 40b6a5a97f6bed16248cb2c1d94ce7f42aba9b2a diff --git a/security/sudo/patches/patch-ab b/security/sudo/patches/patch-ab new file mode 100644 index 00000000000..fcb69ee949a --- /dev/null +++ b/security/sudo/patches/patch-ab @@ -0,0 +1,15 @@ +$NetBSD: patch-ab,v 1.7 2003/05/08 18:08:38 jwise Exp $ + +Broken macro + +--- auth/kerb5.c.old 2003-05-08 19:49:33.000000000 +0200 ++++ auth/kerb5.c 2003-05-08 19:49:39.000000000 +0200 +@@ -73,7 +73,7 @@ + #endif /* lint */ + + #ifdef HAVE_HEIMDAL +-# define extract_name(c, p) krb5_principal_get_comp_string(c, p, 0); ++# define extract_name(c, p) krb5_principal_get_comp_string(c, p, 0) + # define krb5_free_data_contents(c, d) krb5_data_free(d) + # define ENCTYPE_DES_CBC_MD5 ETYPE_DES_CBC_MD5 /* XXX */ + #else -- cgit v1.2.3