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

(-)devel/gdb/Makefile (-4 / +4 lines)
Lines 15-21 LICENSE= GPLv3 Link Here
15
TEST_DEPENDS=	runtest:misc/dejagnu
15
TEST_DEPENDS=	runtest:misc/dejagnu
16
16
17
TEST_TARGET=	check
17
TEST_TARGET=	check
18
USES=		cpe iconv gmake libtool tar:xz
18
USES=		compiler:env cpe iconv gmake libtool tar:xz
19
USE_CSTD=	gnu89
19
USE_CSTD=	gnu89
20
CPE_VENDOR=	gnu
20
CPE_VENDOR=	gnu
21
GNU_CONFIGURE=	yes
21
GNU_CONFIGURE=	yes
Lines 66-72 PYTHON_CONFIGURE_OFF= --without-python Link Here
66
PYTHON_USES=		python:2
66
PYTHON_USES=		python:2
67
TUI_CONFIGURE_ENABLE=	tui
67
TUI_CONFIGURE_ENABLE=	tui
68
68
69
.include <bsd.port.options.mk>
69
.include <bsd.port.pre.mk>
70
70
71
.if ! ${PORT_OPTIONS:MBUNDLED_READLINE}
71
.if ! ${PORT_OPTIONS:MBUNDLED_READLINE}
72
EXCLUDE+=	readline
72
EXCLUDE+=	readline
Lines 76-82 EXCLUDE+= readline Link Here
76
CONFIGURE_TARGET=	x86_64-portbld-freebsd${OSREL}
76
CONFIGURE_TARGET=	x86_64-portbld-freebsd${OSREL}
77
.endif
77
.endif
78
78
79
.if ${ARCH} != "mips"
79
.if ${COMPILER_TYPE} == "clang"
80
CFLAGS+=	-Wno-extended-offsetof
80
CFLAGS+=	-Wno-extended-offsetof
81
.endif
81
.endif
82
82
Lines 122-125 do-install-GUILE-on: Link Here
122
	(cd ${WRKSRC}/gdb/data-directory ; \
122
	(cd ${WRKSRC}/gdb/data-directory ; \
123
		${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} install-guile )
123
		${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} install-guile )
124
124
125
.include <bsd.port.mk>
125
.include <bsd.port.post.mk>
(-)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 216132