Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Feb 2016 20:32:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 207314] postgis2.0, postgis2.1 have compile error
Message-ID:  <bug-207314-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207314

            Bug ID: 207314
           Summary: postgis2.0, postgis2.1 have compile error
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: vladka@webdevelop.pro

$ cd /usr/posts/databases/postgis2.1=20
$ make config && make=20
....

cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement
-Wendif-labels -Wmissing-format-attribute -Wformat-security
-fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe=20
-fstack-protector -fno-strict-aliasing -fPIC -DPIC -I../liblwgeom
-I../libpgcommon  -I/usr/local/include  -I/usr/local/include/libxml2
-I/usr/include  -I/usr/local/include -fPIC -I. -I./
-I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/inte=
rnal
-I/usr/local/include -I/usr/local/include  -c -o lwgeom_accum.o lwgeom_accu=
m.c
lwgeom_accum.c:109:48: error: no member named 'aggcontext' in 'struct
AggState'; did you mean 'aggcontexts'?
                aggcontext =3D ((AggState *) fcinfo->context)->aggcontext;


It can be fixed with a small fix:

109 -                 aggcontext =3D ((AggState *) fcinfo->context)->aggcon=
text;
109 +                 aggcontext =3D ((AggState *) fcinfo->context)->aggcon=
texts;



Thats it.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-207314-13>