Index: head/databases/postgis21/files/patch-postgis-lwgeom_accum.c =================================================================== --- head/databases/postgis21/files/patch-postgis-lwgeom_accum.c (nonexistent) +++ head/databases/postgis21/files/patch-postgis-lwgeom_accum.c (revision 427768) @@ -0,0 +1,15 @@ +--- postgis/lwgeom_accum.c.orig 2014-12-01 08:47:21 UTC ++++ postgis/lwgeom_accum.c +@@ -106,7 +106,11 @@ pgis_geometry_accum_transfn(PG_FUNCTION_ + errmsg("could not determine input data type"))); + + if (fcinfo->context && IsA(fcinfo->context, AggState)) +- aggcontext = ((AggState *) fcinfo->context)->aggcontext; ++#if POSTGIS_PGSQL_VERSION >= 95 ++ aggcontext = ((AggState *) fcinfo->context)->aggcontexts; ++#else ++ aggcontext = ((AggState *) fcinfo->context)->aggcontext; ++#endif + else if (fcinfo->context && IsA(fcinfo->context, WindowAggState)) + aggcontext = ((WindowAggState *) fcinfo->context)->aggcontext; + Property changes on: head/databases/postgis21/files/patch-postgis-lwgeom_accum.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property