View | Details | Raw Unified | Return to bug 217090
Collapse All | Expand All

(-)devel/gdb/Makefile (-6 / +5 lines)
Lines 2-9 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	gdb
4
PORTNAME=	gdb
5
PORTVERSION=	7.12
5
PORTVERSION=	7.12.1
6
PORTREVISION=	1
7
CATEGORIES=	devel
6
CATEGORIES=	devel
8
MASTER_SITES=	GNU
7
MASTER_SITES=	GNU
9
8
Lines 15-21 LICENSE= GPLv3 Link Here
15
TEST_DEPENDS=	runtest:misc/dejagnu
14
TEST_DEPENDS=	runtest:misc/dejagnu
16
15
17
TEST_TARGET=	check
16
TEST_TARGET=	check
18
USES=		cpe iconv gmake libtool tar:xz
17
USES=		compiler:env cpe iconv gmake libtool tar:xz
19
USE_CSTD=	gnu89
18
USE_CSTD=	gnu89
20
CPE_VENDOR=	gnu
19
CPE_VENDOR=	gnu
21
GNU_CONFIGURE=	yes
20
GNU_CONFIGURE=	yes
Lines 66-72 PYTHON_CONFIGURE_OFF= --without-python Link Here
66
PYTHON_USES=		python:2
65
PYTHON_USES=		python:2
67
TUI_CONFIGURE_ENABLE=	tui
66
TUI_CONFIGURE_ENABLE=	tui
68
67
69
.include <bsd.port.options.mk>
68
.include <bsd.port.pre.mk>
70
69
71
.if ! ${PORT_OPTIONS:MBUNDLED_READLINE}
70
.if ! ${PORT_OPTIONS:MBUNDLED_READLINE}
72
EXCLUDE+=	readline
71
EXCLUDE+=	readline
Lines 76-82 EXCLUDE+= readline Link Here
76
CONFIGURE_TARGET=	x86_64-portbld-freebsd${OSREL}
75
CONFIGURE_TARGET=	x86_64-portbld-freebsd${OSREL}
77
.endif
76
.endif
78
77
79
.if ${ARCH} != "mips"
78
.if ${COMPILER_TYPE} == "clang"
80
CFLAGS+=	-Wno-extended-offsetof
79
CFLAGS+=	-Wno-extended-offsetof
81
.endif
80
.endif
82
81
Lines 122-125 do-install-GUILE-on: Link Here
122
	(cd ${WRKSRC}/gdb/data-directory ; \
121
	(cd ${WRKSRC}/gdb/data-directory ; \
123
		${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} install-guile )
122
		${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} install-guile )
124
123
125
.include <bsd.port.mk>
124
.include <bsd.port.post.mk>
(-)devel/gdb/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1483525133
1
TIMESTAMP = 1485162707
2
SHA256 (gdb-7.12.tar.xz) = 834ff3c5948b30718343ea57b11cbc3235d7995c6a4f3a5cecec8c8114164f94
2
SHA256 (gdb-7.12.1.tar.xz) = 4607680b973d3ec92c30ad029f1b7dbde3876869e6b3a117d8a7e90081113186
3
SIZE (gdb-7.12.tar.xz) = 19219556
3
SIZE (gdb-7.12.1.tar.xz) = 19225392
(-)devel/gdb/files/patch-gdb-corelow.c (+12 lines)
Added Link Here
1
--- gdb/corelow.c.orig	2017-01-16 10:40:23.118428000 +0100
2
+++ gdb/corelow.c	2017-01-17 22:39:10.524216000 +0100
3
@@ -541,7 +541,8 @@
4
       warning (_("Section `%s' in core file too small."), section_name);
5
       return;
6
     }
7
-  if (size != min_size && !(regset->flags & REGSET_VARIABLE_SIZE))
8
+  if (size != min_size && regset != NULL &&
9
+	!(regset->flags & REGSET_VARIABLE_SIZE))
10
     {
11
       warning (_("Unexpected size of section `%s' in core file."),
12
 	       section_name);

Return to bug 217090