rpms/simh/F-11 simh-3.8.1-ppc-defines.patch, NONE, 1.1 simh.spec, 1.1, 1.2
Lucian Langa
lucilanga at fedoraproject.org
Sat Jan 9 15:05:05 UTC 2010
Author: lucilanga
Update of /cvs/pkgs/rpms/simh/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv989
Modified Files:
simh.spec
Added Files:
simh-3.8.1-ppc-defines.patch
Log Message:
* Sat Jan 09 2010 Lucian Langa <cooly at gnome.eu.org> - 3.8.1-6
- add ppc defines patch
simh-3.8.1-ppc-defines.patch:
eclipse_cpu.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
--- NEW FILE simh-3.8.1-ppc-defines.patch ---
diff -Naur simh-3.8.1/BIN/pdp1 simh-3.8.1-mod/BIN/pdp1
\ No newline at end of file
diff -Naur simh-3.8.1/BIN/pdp11 simh-3.8.1-mod/BIN/pdp11
\ No newline at end of file
diff -Naur simh-3.8.1/BIN/pdp15 simh-3.8.1-mod/BIN/pdp15
\ No newline at end of file
diff -Naur simh-3.8.1/BIN/pdp4 simh-3.8.1-mod/BIN/pdp4
\ No newline at end of file
diff -Naur simh-3.8.1/BIN/pdp7 simh-3.8.1-mod/BIN/pdp7
\ No newline at end of file
diff -Naur simh-3.8.1/BIN/pdp8 simh-3.8.1-mod/BIN/pdp8
\ No newline at end of file
diff -Naur simh-3.8.1/BIN/pdp9 simh-3.8.1-mod/BIN/pdp9
\ No newline at end of file
diff -Naur simh-3.8.1/NOVA/eclipse_cpu.c simh-3.8.1-mod/NOVA/eclipse_cpu.c
--- simh-3.8.1/NOVA/eclipse_cpu.c 2008-05-21 11:07:52.000000000 +0300
+++ simh-3.8.1-mod/NOVA/eclipse_cpu.c 2010-01-09 16:28:08.000000000 +0200
@@ -365,7 +365,7 @@
int32 XCT_mode = 0; /* 1 if XCT mode */
int32 XCT_inst = 0; /* XCT instruction */
-int32 PPC = -1;
+int32 _PPC = -1;
int32 AMASK = 077777;
struct ndev dev_table[64]; /* dispatch table */
@@ -850,14 +850,14 @@
}
if ((PC < 1 || PC > 077777) && Debug_Flags) {
- if (PPC != -1) { /* Don't break on 1st instruction */
- printf("\n<<Invalid PC=%o from %o>>\n\r", PC, PPC);
+ if (_PPC != -1) { /* Don't break on 1st instruction */
+ printf("\n<<Invalid PC=%o from %o>>\n\r", PC, _PPC);
reason = STOP_IBKPT;
break;
}
}
-PPC = PC;
+_PPC = PC;
if (Debug_Flags) {
if (!Tron) {
Index: simh.spec
===================================================================
RCS file: /cvs/pkgs/rpms/simh/F-11/simh.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- simh.spec 9 Jan 2010 14:01:25 -0000 1.1
+++ simh.spec 9 Jan 2010 15:05:04 -0000 1.2
@@ -1,6 +1,6 @@
Name: simh
Version: 3.8.1
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: A highly portable, multi-system emulator
Group: Applications/Emulators
@@ -84,6 +84,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Sat Jan 09 2010 Lucian Langa <cooly at gnome.eu.org> - 3.8.1-6
+- add ppc defines patch
+
* Sat Jan 09 2010 Lucian Langa <cooly at gnome.eu.org> - 3.8.1-5
- fix altair segfault
More information about the fedora-extras-commits
mailing list