]> git.pld-linux.org Git - packages/dosbox.git/commitdiff
- dosbox-c++.patch: needed for gcc4 ("extra qualification" error).
authorqrczak <qrczak@pld-linux.org>
Mon, 12 Dec 2005 16:44:45 +0000 (16:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dosbox-c++.patch -> 1.1
    dosbox.spec -> 1.24

dosbox-c++.patch [new file with mode: 0644]
dosbox.spec

diff --git a/dosbox-c++.patch b/dosbox-c++.patch
new file mode 100644 (file)
index 0000000..fcbd9eb
--- /dev/null
@@ -0,0 +1,11 @@
+--- dosbox-0.63/include/programs.h~    2004-08-04 11:12:51.000000000 +0200
++++ dosbox-0.63/include/programs.h     2005-12-12 17:37:59.000000000 +0100
+@@ -40,7 +40,7 @@
+       CommandLine * cmd;
+       DOS_PSP * psp;
+       virtual void Run(void)=0;
+-      bool Program::GetEnvStr(const char * entry,std::string & result);
++      bool GetEnvStr(const char * entry,std::string & result);
+       bool GetEnvNum(Bitu num,std::string & result);
+       Bitu GetEnvCount(void);
+       bool SetEnv(const char * entry,const char * new_string);
index 0c7043931fa291f9d7bb0192ac764b005d3b3aa3..d2629cf1d48c5f71ac85d3b61c6e64d9f55fcefb 100644 (file)
@@ -17,6 +17,7 @@ Source3:      %{name}.conf
 Patch0:                %{name}-hq2x.patch
 # http://home.amis.net/lkslavi/dosbox.html
 Patch1:                %{name}_coreswitch.patch
+Patch2:                %{name}-c++.patch
 URL:           http://dosbox.sourceforge.net/
 BuildRequires: SDL_net-devel
 BuildRequires: SDL_sound-devel
@@ -54,6 +55,7 @@ komputerach.
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 # kill AM_PATH_SDL and AM_PATH_ALSA, leave only AH_{TOP,BOTTOM}
This page took 0.101644 seconds and 4 git commands to generate.