diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-10-10 12:34:29 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-10-10 12:34:29 +0000 |
commit | 445936955ee182517b6db29bc3baf1a42d762161 (patch) | |
tree | 80c88c92e955db9ba70db0369a9017b078b3c8a2 /package/network/services/samba36/patches/120-add_missing_ifdef.patch | |
parent | 405e21d16731b2764ab82aaaadcf36a813b105f7 (diff) | |
download | master-31e0f0ae-445936955ee182517b6db29bc3baf1a42d762161.tar.gz master-31e0f0ae-445936955ee182517b6db29bc3baf1a42d762161.tar.bz2 master-31e0f0ae-445936955ee182517b6db29bc3baf1a42d762161.zip |
samba36: move to trunk and add myself as a maintainer
SVN-Revision: 33689
Diffstat (limited to 'package/network/services/samba36/patches/120-add_missing_ifdef.patch')
-rw-r--r-- | package/network/services/samba36/patches/120-add_missing_ifdef.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/package/network/services/samba36/patches/120-add_missing_ifdef.patch b/package/network/services/samba36/patches/120-add_missing_ifdef.patch new file mode 100644 index 0000000000..dbd9adc1d7 --- /dev/null +++ b/package/network/services/samba36/patches/120-add_missing_ifdef.patch @@ -0,0 +1,26 @@ +--- a/source3/librpc/rpc/rpc_common.c ++++ b/source3/librpc/rpc/rpc_common.c +@@ -119,9 +119,11 @@ static bool initialize_interfaces(void) + if (!smb_register_ndr_interface(&ndr_table_netdfs)) { + return false; + } ++#ifdef DEVELOPER + if (!smb_register_ndr_interface(&ndr_table_rpcecho)) { + return false; + } ++#endif + if (!smb_register_ndr_interface(&ndr_table_initshutdown)) { + return false; + } +--- a/source3/rpcclient/rpcclient.c ++++ b/source3/rpcclient/rpcclient.c +@@ -628,7 +628,9 @@ static struct cmd_set *rpcclient_command + netlogon_commands, + srvsvc_commands, + dfs_commands, ++#ifdef DEVELOPER + echo_commands, ++#endif + epmapper_commands, + shutdown_commands, + test_commands, |