summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 cd75559..15b2027 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 d22cc12..0000000
--- 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. */
- }
OpenPOWER on IntegriCloud