From f681664782e1f85df67b612d09298d73937aed3c Mon Sep 17 00:00:00 2001 From: minskim Date: Sat, 10 Jun 2006 20:06:56 +0000 Subject: Make this package build with gcc-4. --- www/ap-rivet/distinfo | 3 ++- www/ap-rivet/patches/patch-aa | 13 +++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 www/ap-rivet/patches/patch-aa diff --git a/www/ap-rivet/distinfo b/www/ap-rivet/distinfo index 6f2e8c73df7..299454b965a 100644 --- a/www/ap-rivet/distinfo +++ b/www/ap-rivet/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.2 2005/02/24 14:08:28 wiz Exp $ +$NetBSD: distinfo,v 1.3 2006/06/10 20:06:56 minskim Exp $ SHA1 (rivet_0.4.0-1.tar.gz) = 3d542afcc203c6d3d20ab3456c63c7c549ef0008 RMD160 (rivet_0.4.0-1.tar.gz) = d72dc6afed2972d6527b3746771388e7375423d0 Size (rivet_0.4.0-1.tar.gz) = 547851 bytes +SHA1 (patch-aa) = 63fd2544995a5cf4a0245a8c42d9af9ab4dfa8be diff --git a/www/ap-rivet/patches/patch-aa b/www/ap-rivet/patches/patch-aa new file mode 100644 index 00000000000..07352fb8b72 --- /dev/null +++ b/www/ap-rivet/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1 2006/06/10 20:06:56 minskim Exp $ + +--- src/rivetCore.c.orig 2004-02-24 02:24:34.000000000 -0800 ++++ src/rivetCore.c +@@ -635,7 +635,7 @@ TCL_CMD_HEADER( Rivet_Upload ) + if (TclWeb_UploadChannel(varname, &chan, globals->req) != TCL_OK) { + return TCL_ERROR; + } +- (CONST84 char *)channelname = Tcl_GetChannelName(chan); ++ channelname = (CONST84 char *)Tcl_GetChannelName(chan); + Tcl_SetStringObj(result, channelname, -1); + break; + } -- cgit v1.2.3