Index: head/databases/postgis20/files/patch-postgis-lwgeom_accum.c =================================================================== --- head/databases/postgis20/files/patch-postgis-lwgeom_accum.c (nonexistent) +++ head/databases/postgis20/files/patch-postgis-lwgeom_accum.c (revision 427767) @@ -0,0 +1,14 @@ +--- postgis/lwgeom_accum.c.orig 2012-02-27 22:08:12 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)) ++#if POSTGIS_PGSQL_VERSION >= 95 ++ aggcontext = ((AggState *) fcinfo->context)->aggcontexts; ++#else + aggcontext = ((AggState *) fcinfo->context)->aggcontext; ++#endif + #if POSTGIS_PGSQL_VERSION == 84 + + else if (fcinfo->context && IsA(fcinfo->context, WindowAggState)) Property changes on: head/databases/postgis20/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