1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Fix build

This commit is contained in:
Johan van Selst 2014-07-06 15:32:06 +00:00
parent d3b3b80a46
commit 95275cebf5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=360925
2 changed files with 11 additions and 2 deletions

View File

@ -11,8 +11,6 @@ DISTNAME= Caudium-${DISTVERSION}
MAINTAINER= johans@FreeBSD.org
COMMENT= Free webserver based on the Roxen Challenger 1.3 code base
BROKEN= Fails to compile
BUILD_DEPENDS= pike78:${PORTSDIR}/lang/pike78
LIB_DEPENDS= libsablot.so:${PORTSDIR}/textproc/sablotron
RUN_DEPENDS= lsof:${PORTSDIR}/sysutils/lsof

View File

@ -0,0 +1,11 @@
--- src/cmods/_Caudium/nb_send.c.orig 2014-07-06 17:29:43.000000000 +0200
+++ src/cmods/_Caudium/nb_send.c 2014-07-06 17:29:21.000000000 +0200
@@ -92,7 +92,7 @@ static int sbuffers; /* size of allocat
static void push_callback(int no)
{
add_ref(Pike_sp->u.object = THISOBJ);
- Pike_sp->subtype = no + Pike_fp->context.identifier_level;
+ Pike_sp->subtype = no + Pike_fp->context->identifier_level;
Pike_sp->type = T_FUNCTION;
Pike_sp++;
}