summaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-08-21 14:35:53 +0000
committerpav <pav@FreeBSD.org>2004-08-21 14:35:53 +0000
commitf968de5c32e3a27221f50e41ca9af45ca1af28be (patch)
tree60f426b5ee281eda74261e26fec0e5f9f003a336 /emulators
parentbf8f0db8ef884c9b0baf38c152de815f8c25be1e (diff)
downloadFreeBSD-ports-f968de5c32e3a27221f50e41ca9af45ca1af28be.zip
FreeBSD-ports-f968de5c32e3a27221f50e41ca9af45ca1af28be.tar.gz
- Fix build with gcc 3.4
Obtained from: Dosbox CVS
Diffstat (limited to 'emulators')
-rw-r--r--emulators/dosbox/files/patch-include-dos_inc.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/emulators/dosbox/files/patch-include-dos_inc.h b/emulators/dosbox/files/patch-include-dos_inc.h
new file mode 100644
index 0000000..08ea8b3
--- /dev/null
+++ b/emulators/dosbox/files/patch-include-dos_inc.h
@@ -0,0 +1,33 @@
+diff -u -r1.43 -r1.44
+--- include/dos_inc.h 2004/05/05 21:56:04 1.43
++++ include/dos_inc.h 2004/05/15 07:57:02 1.44
+@@ -214,22 +214,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);}
+
OpenPOWER on IntegriCloud