mirror of
https://git.freebsd.org/ports.git
synced 2025-06-19 11:40:31 -04: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:
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
|
@ -2,8 +2,7 @@
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PORTNAME= gdb
|
PORTNAME= gdb
|
||||||
PORTVERSION= 7.12
|
PORTVERSION= 7.12.1
|
||||||
PORTREVISION= 1
|
|
||||||
CATEGORIES= devel
|
CATEGORIES= devel
|
||||||
MASTER_SITES= GNU
|
MASTER_SITES= GNU
|
||||||
|
|
||||||
|
@ -15,7 +14,7 @@ LICENSE= GPLv3
|
||||||
TEST_DEPENDS= runtest:misc/dejagnu
|
TEST_DEPENDS= runtest:misc/dejagnu
|
||||||
|
|
||||||
TEST_TARGET= check
|
TEST_TARGET= check
|
||||||
USES= cpe iconv gmake libtool tar:xz
|
USES= compiler:env cpe iconv gmake libtool tar:xz
|
||||||
USE_CSTD= gnu89
|
USE_CSTD= gnu89
|
||||||
CPE_VENDOR= gnu
|
CPE_VENDOR= gnu
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
|
@ -66,7 +65,7 @@ PYTHON_CONFIGURE_OFF= --without-python
|
||||||
PYTHON_USES= python:2
|
PYTHON_USES= python:2
|
||||||
TUI_CONFIGURE_ENABLE= tui
|
TUI_CONFIGURE_ENABLE= tui
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if ! ${PORT_OPTIONS:MBUNDLED_READLINE}
|
.if ! ${PORT_OPTIONS:MBUNDLED_READLINE}
|
||||||
EXCLUDE+= readline
|
EXCLUDE+= readline
|
||||||
|
@ -76,7 +75,7 @@ EXCLUDE+= readline
|
||||||
CONFIGURE_TARGET= x86_64-portbld-freebsd${OSREL}
|
CONFIGURE_TARGET= x86_64-portbld-freebsd${OSREL}
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if ${ARCH} != "mips"
|
.if ${COMPILER_TYPE} == "clang"
|
||||||
CFLAGS+= -Wno-extended-offsetof
|
CFLAGS+= -Wno-extended-offsetof
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
@ -122,4 +121,4 @@ do-install-GUILE-on:
|
||||||
(cd ${WRKSRC}/gdb/data-directory ; \
|
(cd ${WRKSRC}/gdb/data-directory ; \
|
||||||
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} install-guile )
|
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} install-guile )
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
TIMESTAMP = 1483525133
|
TIMESTAMP = 1485162707
|
||||||
SHA256 (gdb-7.12.tar.xz) = 834ff3c5948b30718343ea57b11cbc3235d7995c6a4f3a5cecec8c8114164f94
|
SHA256 (gdb-7.12.1.tar.xz) = 4607680b973d3ec92c30ad029f1b7dbde3876869e6b3a117d8a7e90081113186
|
||||||
SIZE (gdb-7.12.tar.xz) = 19219556
|
SIZE (gdb-7.12.1.tar.xz) = 19225392
|
||||||
|
|
12
devel/gdb/files/patch-gdb-corelow.c
Normal file
12
devel/gdb/files/patch-gdb-corelow.c
Normal 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);
|
Loading…
Add table
Reference in a new issue