summaryrefslogtreecommitdiff
path: root/irc/nefarious/files/patch-ircd_m__help.c
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2014-07-05 21:23:51 +0000
committerJohn Marino <marino@FreeBSD.org>2014-07-05 21:23:51 +0000
commit907704416b43aecee5b2fdf49bfa0d12acac33ec (patch)
tree401b7bb1c95ddcfcf9c80434783101e6bb541fb9 /irc/nefarious/files/patch-ircd_m__help.c
parent- New LIB_DEPENDS syntax (diff)
irc/nefarious: stage, unbreak on F10+ and more
* Add stage support * Fix build for clang * convert USE_BZIP2 * Bring in DragonFly support patch * convert USE_OPENSSL and USE_CHROOT knobs to options * rename DOMAIN knob to NEFARIOUS_DOMAIN knob * rename INSTALL_PREFIX knob to NEFARIOUS_INSTALL_PREFIX knob * Make bash dependency work in non-standard location * Tweak pre-configure message accordingly, remove sleep command
Notes
Notes: svn path=/head/; revision=360820
Diffstat (limited to 'irc/nefarious/files/patch-ircd_m__help.c')
-rw-r--r--irc/nefarious/files/patch-ircd_m__help.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/irc/nefarious/files/patch-ircd_m__help.c b/irc/nefarious/files/patch-ircd_m__help.c
new file mode 100644
index 000000000000..88365ba776bd
--- /dev/null
+++ b/irc/nefarious/files/patch-ircd_m__help.c
@@ -0,0 +1,19 @@
+--- ircd/m_help.c.orig 2008-08-04 02:55:42.000000000 +0000
++++ ircd/m_help.c
+@@ -243,6 +243,7 @@ sendhelpfile(struct Client *sptr, const
+ send_reply(sptr, RPL_ENDOFHELP, topic);
+ }
+
++void
+ dohelp(struct Client *sptr, const char *hpath, char *topic)
+ {
+ char path[PATH_MAX + 1];
+@@ -291,7 +292,7 @@ dohelp(struct Client *sptr, const char *
+ sendhelpfile(sptr, path, topic);
+ }
+
+-int m_help(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
++void m_help(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
+ {
+ static time_t last_used = 0;
+