[Bug 207314] postgis2.0, postgis2.1 have compile error

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Feb 18 20:32:24 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207314

            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 at FreeBSD.org
          Reporter: vladka at webdevelop.pro

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

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 
-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/internal
-I/usr/local/include -I/usr/local/include  -c -o lwgeom_accum.o lwgeom_accum.c
lwgeom_accum.c:109:48: error: no member named 'aggcontext' in 'struct
AggState'; did you mean 'aggcontexts'?
                aggcontext = ((AggState *) fcinfo->context)->aggcontext;


It can be fixed with a small fix:

109 -                 aggcontext = ((AggState *) fcinfo->context)->aggcontext;
109 +                 aggcontext = ((AggState *) fcinfo->context)->aggcontexts;



Thats it.

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


More information about the freebsd-ports-bugs mailing list