gcc3 fixes: bad use of token pasting, incorrect "" count in #if 0 code.

This commit is contained in:
espie 2003-12-29 21:10:58 +00:00
parent 3d50ba674d
commit 0ecd0f363b
3 changed files with 29 additions and 3 deletions

View File

@ -1,6 +1,6 @@
--- Makefile.in.orig Mon Aug 28 11:58:11 2000
+++ Makefile.in Mon Aug 28 11:57:47 2000
@@ -113,7 +113,7 @@ installirc: installdirs
--- Makefile.in.orig 2001-01-22 17:05:34.000000000 +0100
+++ Makefile.in 2003-12-29 22:01:09.000000000 +0100
@@ -121,7 +121,7 @@ installirc: installdirs
@if test -f $(INSTALL_NAP).old; then $(RM) $(INSTALL_NAP).old; fi
@if test -f $(INSTALL_NAP); then $(MV) $(INSTALL_NAP) $(INSTALL_NAP).old; fi
$(RM) $(INSTALL_NAP)

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-source_irchandler_c,v 1.1 2003/12/29 21:10:58 espie Exp $
--- source/irchandler.c.orig 2003-12-29 22:04:49.000000000 +0100
+++ source/irchandler.c 2003-12-29 22:05:22.000000000 +0100
@@ -170,8 +170,8 @@ char buff[BIG_BUFFER_SIZE];
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: "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

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-source_status_c,v 1.1 2003/12/29 21:10:58 espie Exp $
--- source/status.c.orig 2003-12-29 22:02:36.000000000 +0100
+++ source/status.c 2003-12-29 22:03:00.000000000 +0100
@@ -38,7 +38,7 @@ extern char *ltoa (long);
* 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