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

(-)devel/gdb/Makefile (-2 / +4 lines)
Lines 2-12 Link Here
2
# Date created:				16 November 2010
2
# Date created:				16 November 2010
3
# Whom:					Steven Kreuzer <skreuzer@FreeBSD.org>
3
# Whom:					Steven Kreuzer <skreuzer@FreeBSD.org>
4
#
4
#
5
# $FreeBSD: ports/devel/gdb/Makefile,v 1.23 2012/08/24 02:54:50 bdrewery Exp $
5
# $FreeBSD$
6
#
6
#
7
7
8
PORTNAME=	gdb
8
PORTNAME=	gdb
9
PORTVERSION=	7.5
9
PORTVERSION=	7.5
10
PORTREVISION=	1
10
CATEGORIES=	devel
11
CATEGORIES=	devel
11
MASTER_SITES=	GNU
12
MASTER_SITES=	GNU
12
13
Lines 30-36 Link Here
30
CFLAGS:=	${CFLAGS:C/ +$//}	# blanks at EOL creep in sometimes
31
CFLAGS:=	${CFLAGS:C/ +$//}	# blanks at EOL creep in sometimes
31
CFLAGS+=	-DRL_NO_COMPAT
32
CFLAGS+=	-DRL_NO_COMPAT
32
EXCLUDE=	dejagnu expect readline sim texinfo intl
33
EXCLUDE=	dejagnu expect readline sim texinfo intl
33
EXTRACT_AFTER_ARGS=| ${TAR} -xf - ${EXCLUDE:S/^/--exclude /}
34
EXTRACT_AFTER_ARGS=	| ${TAR} -xf - ${EXCLUDE:S/^/--exclude /} \
35
			--no-same-owner --no-same-permissions
34
VER=	${PORTVERSION:S/.//g}
36
VER=	${PORTVERSION:S/.//g}
35
PLIST_SUB=	VER=${VER}
37
PLIST_SUB=	VER=${VER}
36
MAN1=	gdb${VER}.1
38
MAN1=	gdb${VER}.1
(-)devel/gdb/files/extrapatch-gdb-Makefile.in (-1 / +10 lines)
Lines 1-5 Link Here
1
--- gdb/Makefile.in.orig	2012-07-02 17:29:33.000000000 +0200
1
--- gdb/Makefile.in.orig	2012-07-02 17:29:33.000000000 +0200
2
+++ gdb/Makefile.in	2012-08-22 16:50:26.000000000 +0200
2
+++ gdb/Makefile.in	2012-08-26 21:01:45.589052997 +0200
3
@@ -572,7 +572,7 @@
3
@@ -572,7 +572,7 @@
4
 	xstormy16-tdep.o \
4
 	xstormy16-tdep.o \
5
 	xtensa-config.o xtensa-tdep.o xtensa-linux-tdep.o \
5
 	xtensa-config.o xtensa-tdep.o xtensa-linux-tdep.o \
Lines 18-23 Link Here
18
 mdebugread.h m88k-tdep.h stabsread.h hppa-linux-offsets.h linux-fork.h \
18
 mdebugread.h m88k-tdep.h stabsread.h hppa-linux-offsets.h linux-fork.h \
19
 ser-unix.h inf-ptrace.h terminal.h ui-out.h frame-base.h \
19
 ser-unix.h inf-ptrace.h terminal.h ui-out.h frame-base.h \
20
 f-lang.h dwarf2loc.h value.h sparc-tdep.h defs.h target-descriptions.h \
20
 f-lang.h dwarf2loc.h value.h sparc-tdep.h defs.h target-descriptions.h \
21
@@ -1164,7 +1164,7 @@
22
 # Removing the old gdb first works better if it is running, at least on SunOS.
23
 gdb$(EXEEXT): gdb.o $(LIBGDB_OBS) $(ADD_DEPS) $(CDEPS) $(TDEPLIBS)
24
 	rm -f gdb$(EXEEXT)
25
-	$(CC_LD) $(INTERNAL_LDFLAGS) $(WIN32LDAPP) \
26
+	$(CC_LD) $(INTERNAL_LDFLAGS) $(WIN32LDAPP) -Wl,-E \
27
 		-o gdb$(EXEEXT) gdb.o $(LIBGDB_OBS) \
28
 		$(TDEPLIBS) $(TUI_LIBRARY) $(CLIBS) $(LOADLIBES)
29
 
21
@@ -1429,7 +1429,7 @@
30
@@ -1429,7 +1429,7 @@
22
 	armnbsd-nat.c armbsd-tdep.c armnbsd-tdep.c armobsd-tdep.c \
31
 	armnbsd-nat.c armbsd-tdep.c armnbsd-tdep.c armobsd-tdep.c \
23
 	avr-tdep.c \
32
 	avr-tdep.c \
(-)devel/gdb/files/patch-gdb-amd64-nat.h (-12 lines)
Lines 1-12 Link Here
1
--- gdb/amd64-nat.h.orig	2011-09-23 01:36:54.874780473 +0100
2
+++ gdb/amd64-nat.h	2011-09-23 01:28:46.964218514 +0100
3
@@ -50,9 +50,4 @@
4
 extern void amd64_collect_native_gregset (const struct regcache *regcache,
5
 					  void *gregs, int regnum);
6
 
7
-/* Create a prototype *BSD/amd64 target.  The client can override it
8
-   with local methods.  */
9
-
10
-extern struct target_ops *amd64bsd_target (void);
11
-
12
 #endif /* amd64-nat.h */
(-)devel/gdb/files/patch-gdb-configure (+22 lines)
Line 0 Link Here
1
--- gdb/configure.orig	2012-08-24 14:03:52.000000000 +0200
2
+++ gdb/configure	2012-08-24 14:05:06.000000000 +0200
3
@@ -10590,7 +10590,8 @@
4
 
5
 # See if <machine/reg.h> supports the %fs and %gs i386 segment registers.
6
 # Older i386 BSD's don't have the r_fs and r_gs members of `struct reg'.
7
-ac_fn_c_check_member "$LINENO" "struct reg" "r_fs" "ac_cv_member_struct_reg_r_fs" "#include <machine/reg.h>
8
+ac_fn_c_check_member "$LINENO" "struct reg" "r_fs" "ac_cv_member_struct_reg_r_fs" "#include <sys/types.h>
9
+#include <machine/reg.h>
10
 "
11
 if test "x$ac_cv_member_struct_reg_r_fs" = x""yes; then :
12
 
13
@@ -10600,7 +10601,8 @@
14
 
15
 
16
 fi
17
-ac_fn_c_check_member "$LINENO" "struct reg" "r_gs" "ac_cv_member_struct_reg_r_gs" "#include <machine/reg.h>
18
+ac_fn_c_check_member "$LINENO" "struct reg" "r_gs" "ac_cv_member_struct_reg_r_gs" "#include <sys/types.h>
19
+#include <machine/reg.h>
20
 "
21
 if test "x$ac_cv_member_struct_reg_r_gs" = x""yes; then :
22

Return to bug 171109