From 301a33a8d504b02ddf99f76ec62688412187a293 Mon Sep 17 00:00:00 2001 From: kristerw Date: Sat, 25 Oct 2003 23:37:26 +0000 Subject: Make this compile with gcc 3.3. Solves PR pkg/23169. --- chat/quirc/distinfo | 3 ++- chat/quirc/patches/patch-ae | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 chat/quirc/patches/patch-ae (limited to 'chat/quirc') diff --git a/chat/quirc/distinfo b/chat/quirc/distinfo index 08b3ba42726..89bdfe4cf2a 100644 --- a/chat/quirc/distinfo +++ b/chat/quirc/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.2 2003/03/01 11:08:35 jmc Exp $ +$NetBSD: distinfo,v 1.3 2003/10/25 23:37:26 kristerw Exp $ SHA1 (quirc-0.9.82.tar.gz) = edb4e3acc8daf9d3451b91c3f98aed4a931b8c07 Size (quirc-0.9.82.tar.gz) = 296135 bytes @@ -6,3 +6,4 @@ SHA1 (patch-aa) = 997938094af7ff493ad31248b13e428e393aa2a1 SHA1 (patch-ab) = 4e37d9e64f55a5f587d513ac97dd284751c72e69 SHA1 (patch-ac) = 5b147d7cfcd52264de43d501a159ee5dd150349b SHA1 (patch-ad) = a396c5a5ecbebae7b723cda1726866b474c79143 +SHA1 (patch-ae) = 557579457517a43fee5fe0356bd697dc6c9fbc25 diff --git a/chat/quirc/patches/patch-ae b/chat/quirc/patches/patch-ae new file mode 100644 index 00000000000..0e046c935d0 --- /dev/null +++ b/chat/quirc/patches/patch-ae @@ -0,0 +1,15 @@ +$NetBSD: patch-ae,v 1.1 2003/10/25 23:37:26 kristerw Exp $ + +--- tcltk.h.in.orig Sun Oct 26 01:25:54 2003 ++++ tcltk.h.in Sun Oct 26 01:26:20 2003 +@@ -12,8 +12,8 @@ + #define TT_ARGS TT_Interp,__FILE__,__LINE__ + #define TT_PROC_ARGS ClientData clientData, Tcl_Interp *interp, int argc, char *argv[] + #define TT_PROC_OBJS ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[] +-#define TT_Install_Command(x) Tcl_CreateCommand(TT_Interp,TT_Fix_Name(#x),TT_Proc_##x##,0,0); free(TT_Temp) +-#define TT_Install_ObjCommand(x) Tcl_CreateObjCommand(TT_Interp,TT_Fix_Name(#x),TT_Proc_##x##,0,0); free(TT_Temp) ++#define TT_Install_Command(x) Tcl_CreateCommand(TT_Interp,TT_Fix_Name(#x),TT_Proc_##x,0,0); free(TT_Temp) ++#define TT_Install_ObjCommand(x) Tcl_CreateObjCommand(TT_Interp,TT_Fix_Name(#x),TT_Proc_##x,0,0); free(TT_Temp) + #define ARGV(x) Tcl_GetStringFromObj(objv[x],NULL) + + char *TT_Fix_Name(char *name); -- cgit v1.2.3