pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/databases

Module Name:    pkgsrc
Committed By:   marino
Date:           Sun Oct  7 10:24:54 UTC 2012

Modified Files:
        pkgsrc/databases/postgresql91: distinfo
        pkgsrc/databases/postgresql91-client: Makefile
Added Files:
            patch-src_include_access_htup.h patch-src_include_access_itup.h

Log Message:
databases/postgresql91(-client): Fix build for gcc46 and gcc47

Postgresql91 uses non-constant array sizes in record definitions which
gcc enforces starting with 4.6.  These index sizes are defined as macros
using functions such as offsetof.  These patches introduce enums where
the macros become constant expressions which gcc 4.6+ will accept.

GCC 4.7 also introduces the unused-but-set-variable warning which is
popping up all over the place in pgsql91, so silence these warnings -
they are harmless and get optimized out anyway.

No revbump because functionality won't change on binaries generated with
gcc4.5 and below.

To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/databases/postgresql91/distinfo
cvs rdiff -u -r1.8 -r1.9 pkgsrc/databases/postgresql91-client/Makefile
cvs rdiff -u -r0 -r1.1 \
pkgsrc/databases/postgresql91/patches/patch-src_backend_access_gist_gistutil.c \
    pkgsrc/databases/postgresql91/patches/patch-src_include_access_htup.h \

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index