pkgsrc/chat/quirc/patches/patch-ac
minskim 24469b6b6b Update quirc to 0.9.84 and bl3ify. Switch to Tcl/Tk 8.4.
Changes sinec 0.9.82:
  - Fixes to make it compile with gcc 3.3 and Tcl/Tk 8.4.
  - Highlight a window when your nick appears in it.
  - fix for a bug that causes QuIRC to crash on nicknames longer than
    30 characters.
2004-03-12 06:07:12 +00:00

13 lines
344 B
Text

$NetBSD: patch-ac,v 1.2 2004/03/12 06:07:12 minskim Exp $
--- support.cc.orig 2004-01-12 03:06:18.000000000 -0600
+++ support.cc
@@ -78,7 +78,7 @@ extern char *chop(char *string) {
return string;
}
-#ifndef HAVE_HTONS
+#if !defined(HAVE_HTONS) && !defined(htons)
unsigned short htons(unsigned short n) {
return (n%256)*256+n/256;
}