aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2020-08-27 17:23:10 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2020-08-27 17:23:10 +0000
commit16602fb28dbcd916d0a02dddcc16379d650c84e6 (patch)
treee81bcff2067cec1f31ccd0a2ca697cd7bd3bfc13
parent4c2d8c6c77d22d0dfc8197512ee942786a4e4190 (diff)
downloadports-16602fb28dbcd916d0a02dddcc16379d650c84e6.tar.gz
ports-16602fb28dbcd916d0a02dddcc16379d650c84e6.zip
sysutils/adtool: fix build on recent current
Notes
Notes: svn path=/head/; revision=546373
-rw-r--r--sysutils/adtool/files/patch-src_lib_active__directory.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/sysutils/adtool/files/patch-src_lib_active__directory.h b/sysutils/adtool/files/patch-src_lib_active__directory.h
new file mode 100644
index 000000000000..dee46a283e2b
--- /dev/null
+++ b/sysutils/adtool/files/patch-src_lib_active__directory.h
@@ -0,0 +1,19 @@
+--- src/lib/active_directory.h.orig 2020-08-27 17:21:27 UTC
++++ src/lib/active_directory.h
+@@ -28,11 +28,11 @@ searchbase ou=users,dc=example,dc=com
+ | if there is a problem reading the config file, or
+ | AD_SERVER_CONNECT_FAILURE if a connection can't be made.
+ */
+-char *system_config_file;
+-char *uri;
+-char *binddn;
+-char *bindpw;
+-char *search_base;
++extern char *system_config_file;
++extern char *uri;
++extern char *binddn;
++extern char *bindpw;
++extern char *search_base;
+
+ /* ad_get_error() returns a pointer to a string containing an
+ | explanation of the last error that occured.