1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00

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
This commit is contained in:
Olivier Cochard 2017-02-14 10:29:38 +00:00
parent c409805a2f
commit 32d3b42a57
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=434072
3 changed files with 20 additions and 9 deletions

View File

@ -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>

View File

@ -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

View File

@ -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);