Date: Tue, 14 Feb 2017 10:29:38 +0000 (UTC) From: Olivier Cochard <olivier@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r434072 - in head/devel/gdb: . files Message-ID: <201702141029.v1EATceQ078108@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: olivier Date: Tue Feb 14 10:29:38 2017 New Revision: 434072 URL: https://svnweb.freebsd.org/changeset/ports/434072 Log: Update to 7.12.1 Updating gdb to the last stable version and cleaning it up. PR: 217090 Submitted by: luca.pizzamiglio@gmail.com (maintainer) PR: 216027 - Recognizing the compiler to adopt options properly Reported by: julian@FreeBSD.org PR: 216132 - Fixing the segmentation fault, but arm core dump not yet usable Reported by: Mark Millard Added: head/devel/gdb/files/patch-gdb-corelow.c (contents, props changed) Modified: head/devel/gdb/Makefile head/devel/gdb/distinfo Modified: head/devel/gdb/Makefile ============================================================================== --- head/devel/gdb/Makefile Tue Feb 14 10:25:01 2017 (r434071) +++ head/devel/gdb/Makefile Tue Feb 14 10:29:38 2017 (r434072) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= gdb -PORTVERSION= 7.12 -PORTREVISION= 1 +PORTVERSION= 7.12.1 CATEGORIES= devel MASTER_SITES= GNU @@ -15,7 +14,7 @@ LICENSE= GPLv3 TEST_DEPENDS= runtest:misc/dejagnu TEST_TARGET= check -USES= cpe iconv gmake libtool tar:xz +USES= compiler:env cpe iconv gmake libtool tar:xz USE_CSTD= gnu89 CPE_VENDOR= gnu GNU_CONFIGURE= yes @@ -66,7 +65,7 @@ PYTHON_CONFIGURE_OFF= --without-python PYTHON_USES= python:2 TUI_CONFIGURE_ENABLE= tui -.include <bsd.port.options.mk> +.include <bsd.port.pre.mk> .if ! ${PORT_OPTIONS:MBUNDLED_READLINE} EXCLUDE+= readline @@ -76,7 +75,7 @@ EXCLUDE+= readline CONFIGURE_TARGET= x86_64-portbld-freebsd${OSREL} .endif -.if ${ARCH} != "mips" +.if ${COMPILER_TYPE} == "clang" CFLAGS+= -Wno-extended-offsetof .endif @@ -122,4 +121,4 @@ do-install-GUILE-on: (cd ${WRKSRC}/gdb/data-directory ; \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} install-guile ) -.include <bsd.port.mk> +.include <bsd.port.post.mk> Modified: head/devel/gdb/distinfo ============================================================================== --- head/devel/gdb/distinfo Tue Feb 14 10:25:01 2017 (r434071) +++ head/devel/gdb/distinfo Tue Feb 14 10:29:38 2017 (r434072) @@ -1,3 +1,3 @@ -TIMESTAMP = 1483525133 -SHA256 (gdb-7.12.tar.xz) = 834ff3c5948b30718343ea57b11cbc3235d7995c6a4f3a5cecec8c8114164f94 -SIZE (gdb-7.12.tar.xz) = 19219556 +TIMESTAMP = 1485162707 +SHA256 (gdb-7.12.1.tar.xz) = 4607680b973d3ec92c30ad029f1b7dbde3876869e6b3a117d8a7e90081113186 +SIZE (gdb-7.12.1.tar.xz) = 19225392 Added: head/devel/gdb/files/patch-gdb-corelow.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/gdb/files/patch-gdb-corelow.c Tue Feb 14 10:29:38 2017 (r434072) @@ -0,0 +1,12 @@ +--- gdb/corelow.c.orig 2017-01-16 10:40:23.118428000 +0100 ++++ gdb/corelow.c 2017-01-17 22:39:10.524216000 +0100 +@@ -541,7 +541,8 @@ + warning (_("Section `%s' in core file too small."), section_name); + return; + } +- if (size != min_size && !(regset->flags & REGSET_VARIABLE_SIZE)) ++ if (size != min_size && regset != NULL && ++ !(regset->flags & REGSET_VARIABLE_SIZE)) + { + warning (_("Unexpected size of section `%s' in core file."), + section_name);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702141029.v1EATceQ078108>