aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/teknap
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2003-07-20 21:34:52 +0800
committerarved <arved@FreeBSD.org>2003-07-20 21:34:52 +0800
commit12776aca949675b47d7464366627ee71ccfdc004 (patch)
tree2b259e2e33669e6194b5d0b94db82236c62fce35 /net-p2p/teknap
parentd132c3e5dd5d53080b56d9d365b691dd2e7bf8c8 (diff)
downloadfreebsd-ports-gnome-12776aca949675b47d7464366627ee71ccfdc004.tar.gz
freebsd-ports-gnome-12776aca949675b47d7464366627ee71ccfdc004.tar.zst
freebsd-ports-gnome-12776aca949675b47d7464366627ee71ccfdc004.zip
Fix build on CURRENT
Diffstat (limited to 'net-p2p/teknap')
-rw-r--r--net-p2p/teknap/files/patch-irchandler.c22
-rw-r--r--net-p2p/teknap/files/patch-status.c11
2 files changed, 33 insertions, 0 deletions
diff --git a/net-p2p/teknap/files/patch-irchandler.c b/net-p2p/teknap/files/patch-irchandler.c
new file mode 100644
index 000000000000..675904b694d3
--- /dev/null
+++ b/net-p2p/teknap/files/patch-irchandler.c
@@ -0,0 +1,22 @@
+--- source/irchandler.c.orig Sun Jul 20 15:08:00 2003
++++ source/irchandler.c Sun Jul 20 15:09:35 2003
+@@ -169,12 +169,6 @@
+ break;
+ case 333: /* topic time */
+ break;
+-#if 0
+-ωνω Numbered server stuff: "352 pana #opennap toasty bender.thirty4.com
+- irc.lightning.net Toasty_ H@ :2 Chad Boyda" (irc.core.com)
+- ωνω Numbered server stuff: "315 pana #opennap :End of /WHO list."
+- (irc.core.com)
+-#endif
+ case 315:
+ break;
+ case 352:
+@@ -943,4 +937,4 @@
+ }
+ from_server = ofs;
+ }
+-
+\ No newline at end of file
++
diff --git a/net-p2p/teknap/files/patch-status.c b/net-p2p/teknap/files/patch-status.c
new file mode 100644
index 000000000000..3f601fcc18f3
--- /dev/null
+++ b/net-p2p/teknap/files/patch-status.c
@@ -0,0 +1,11 @@
+--- source/status.c.orig Sun Jul 20 14:33:43 2003
++++ source/status.c Sun Jul 20 15:01:05 2003
+@@ -38,7 +38,7 @@
+ * Maximum number of "%" expressions in a status line format. If you change
+ * this number, you must manually change the sprintf() in make_status
+ */
+-#define STATUS_FUNCTION(x) static Char * ## x (Window *window, int map, int key)
++#define STATUS_FUNCTION(x) static Char * x (Window *window, int map, int key)
+ #define MAX_FUNCTIONS 40
+ #define MAX_STATUS_USER 19
+