aboutsummaryrefslogtreecommitdiff
path: root/devel/i386-rtems-gdb
diff options
context:
space:
mode:
authorJames E. Housley <jeh@FreeBSD.org>2004-08-16 01:48:50 +0000
committerJames E. Housley <jeh@FreeBSD.org>2004-08-16 01:48:50 +0000
commit4a65105005c202ebdbb38bae452ffd3ad85ca361 (patch)
tree77b704ebbd52a4213511dd5d70cfc329dd8e6b53 /devel/i386-rtems-gdb
parenta4ccad8524597394681718c3f99e4e5533bcf8a6 (diff)
downloadports-4a65105005c202ebdbb38bae452ffd3ad85ca361.tar.gz
ports-4a65105005c202ebdbb38bae452ffd3ad85ca361.zip
Notes
Diffstat (limited to 'devel/i386-rtems-gdb')
-rw-r--r--devel/i386-rtems-gdb/Makefile8
-rw-r--r--devel/i386-rtems-gdb/files/patch-sim::i960::sem-switch.c10
2 files changed, 7 insertions, 11 deletions
diff --git a/devel/i386-rtems-gdb/Makefile b/devel/i386-rtems-gdb/Makefile
index cd75559e1f8e..15b2027930b2 100644
--- a/devel/i386-rtems-gdb/Makefile
+++ b/devel/i386-rtems-gdb/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gdb
PORTVERSION= 5.2
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= gdb
@@ -52,6 +52,12 @@ PATCHFILES+= powerpc-gdb-5.2-hw_sem.c.diff:THN \
PATCH_SITES+= http://rtems.thehousleys.net/:THN
.endif
+# Need to patch a patch file
+.if ${LCLTARGET} == i960-rtems
+PATCHFILES+= i960-gdb-5.2-sem-switch.c.diff:THN
+PATCH_SITES+= http://rtems.thehousleys.net/:THN
+.endif
+
.if ${LCLTARGET} == sparc-rtems
.if ${OSVERSION} >= 502000
CONFIGURE_ARGS+= --verbose --disable-sim
diff --git a/devel/i386-rtems-gdb/files/patch-sim::i960::sem-switch.c b/devel/i386-rtems-gdb/files/patch-sim::i960::sem-switch.c
deleted file mode 100644
index d22cc12bae9d..000000000000
--- a/devel/i386-rtems-gdb/files/patch-sim::i960::sem-switch.c
+++ /dev/null
@@ -1,10 +0,0 @@
---- gdb-5.2/sim/i960/sem-switch.c.orig Sun Aug 15 13:19:00 2004
-+++ gdb-5.2/sim/i960/sem-switch.c Sun Aug 15 13:21:26 2004
-@@ -7337,6 +7337,7 @@
-
- }
- ENDSWITCH (sem) /* End of semantic switch. */
-+ ;
-
- /* At this point `vpc' contains the next insn to execute. */
- }