Browse Source

fake:


			
			
				rocklinux
			
			
		
fake 20 years ago
parent
commit
1b42a37e32
2 changed files with 2 additions and 72 deletions
  1. +2
    -2
      package/mathieu/dosbox/dosbox.desc
  2. +0
    -70
      package/mathieu/dosbox/gcc34.patch

+ 2
- 2
package/mathieu/dosbox/dosbox.desc

@ -42,7 +42,7 @@
[L] GPL
[S] Beta
[V] 0.61
[V] 0.63
[P] X -?---5---9 210.300
[D] 2567770497 dosbox-0.61.tar.gz http://dl.sourceforge.net/dosbox/
[D] 384928539 dosbox-0.63.tar.gz http://dl.sourceforge.net/dosbox/

+ 0
- 70
package/mathieu/dosbox/gcc34.patch

@ -1,70 +0,0 @@
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
#
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# Please add additional copyright information _after_ the line containing
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
#
# ROCK Linux: rock-src/package/mathieu/dosbox/gcc34.patch
# ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
#
# --- ROCK-COPYRIGHT-NOTE-END ---
--- dosbox-0.61-orig/include/dos_inc.h 2004-01-10 15:03:33.000000000 +0100
+++ dosbox-0.61/include/dos_inc.h 2004-06-08 17:52:39.958890112 +0200
@@ -215,22 +215,22 @@
class MemStruct {
public:
- INLINE Bit8u GetIt(Bit8u&,PhysPt addr) {
+ INLINE Bit8u GetIt(Bit8u,PhysPt addr) {
return mem_readb(pt+addr);
}
- INLINE Bit16u GetIt(Bit16u&,PhysPt addr) {
+ INLINE Bit16u GetIt(Bit16u,PhysPt addr) {
return mem_readw(pt+addr);
}
- INLINE Bit32u GetIt(Bit32u&,PhysPt addr) {
+ INLINE Bit32u GetIt(Bit32u,PhysPt addr) {
return mem_readd(pt+addr);
}
- INLINE void SaveIt(Bit8u&,PhysPt addr,Bit8u val) {
+ INLINE void SaveIt(Bit8u,PhysPt addr,Bit8u val) {
mem_writeb(pt+addr,val);
}
- INLINE void SaveIt(Bit16u&,PhysPt addr,Bit16u val) {
+ INLINE void SaveIt(Bit16u,PhysPt addr,Bit16u val) {
mem_writew(pt+addr,val);
}
- INLINE void SaveIt(Bit32u&,PhysPt addr,Bit32u val) {
+ INLINE void SaveIt(Bit32u,PhysPt addr,Bit32u val) {
mem_writed(pt+addr,val);
}
INLINE void SetPt(Bit16u seg) { pt=PhysMake(seg,0);}
--- dosbox-0.61-orig/src/dos/dos_classes.cpp 2004-01-10 15:03:34.000000000 +0100
+++ dosbox-0.61/src/dos/dos_classes.cpp 2004-06-08 17:56:50.869745864 +0200
@@ -121,7 +121,7 @@
/* FCBs are filled with 0 */
// ....
/* Init file pointer and max_files */
- sSave(sPSP,file_table,RealMake(seg,offsetof(sPSP,files[0])));
+ sSave(sPSP,file_table,RealMake(seg,offsetof(sPSP,files)));
sSave(sPSP,max_files,20);
for (i=0;i<20;i++) SetFileHandle(i,0xff);
@@ -218,7 +218,7 @@
MEM_BlockCopy(pt+offsetof(sPSP,cmdtail),Real2Phys(src),128);
} else { // empty
sSave(sPSP,cmdtail.count,0x00);
- mem_writeb(pt+offsetof(sPSP,cmdtail.buffer[0]),0x0d);
+ mem_writeb(pt+offsetof(sPSP,cmdtail.buffer),0x0d);
};
};

Loading…
Cancel
Save