Browse Source

Stefan Fiedler:


			
			
				rocklinux
			
			
		
Stefan Fiedler 17 years ago
parent
commit
34f3095bcc
3 changed files with 116 additions and 0 deletions
  1. +57
    -0
      package/stf/exult/exult-gcc4.patch
  2. +3
    -0
      package/stf/exult/exult.conf
  3. +56
    -0
      package/stf/exult/exult.desc

+ 57
- 0
package/stf/exult/exult-gcc4.patch

@ -0,0 +1,57 @@
diff -dur exult-1.2/audio/midi_drivers/fmopldrv.h exult-1.2-p/audio/midi_drivers/fmopldrv.h
--- exult-1.2/audio/midi_drivers/fmopldrv.h 2002-08-06 20:10:31.000000000 +0200
+++ exult-1.2-p/audio/midi_drivers/fmopldrv.h 2007-06-03 17:34:32.000000000 +0200
@@ -76,7 +76,7 @@
/* output a packed midi command to the midi stream
* valid only if mode is MO_SIMPLE
*/
- void OplDriver::send(uint32 b);
+ void send(uint32 b);
/* retrieve a string representation of an error code */
static const char *get_error_name(int error_code);
diff -dur exult-1.2/hash_utils.h exult-1.2-p/hash_utils.h
--- exult-1.2/hash_utils.h 2003-08-31 19:32:24.000000000 +0200
+++ exult-1.2-p/hash_utils.h 2007-06-03 17:22:29.000000000 +0200
@@ -26,7 +26,7 @@
#else
#if HAVE_EXT_HASH_MAP
# include <ext/hash_map>
-# if (defined(__GNUC__) && (__GNUC__ == 3) && ( __GNUC_MINOR__ > 0))
+# if ( defined(__GNUC__) && ( ((__GNUC__ == 3) && ( __GNUC_MINOR__ > 0)) || (__GNUC__ > 3) ) )
using __gnu_cxx::hash_map;
# else
using std::hash_map;
@@ -44,7 +44,7 @@
#else
#if HAVE_EXT_HASH_SET
# include <ext/hash_set>
-# if (defined(__GNUC__) && (__GNUC__ == 3) && ( __GNUC_MINOR__ > 0))
+# if ( defined(__GNUC__) && ( ((__GNUC__ == 3) && ( __GNUC_MINOR__ > 0)) || (__GNUC__ > 3) ) )
using __gnu_cxx::hash_set;
# else
using std::hash_set;
diff -dur exult-1.2/mouse.h exult-1.2-p/mouse.h
--- exult-1.2/mouse.h 2003-08-31 19:32:24.000000000 +0200
+++ exult-1.2-p/mouse.h 2007-06-03 17:33:53.000000000 +0200
@@ -27,6 +27,8 @@
#include "vgafile.h"
#include "glshape.h"
+class Game_window;
+
/*
* Handle custom mouse pointers.
*/
diff -dur exult-1.2/usecode/ucxt/include/ucfunc.h exult-1.2-p/usecode/ucxt/include/ucfunc.h
--- exult-1.2/usecode/ucxt/include/ucfunc.h 2003-08-31 19:32:28.000000000 +0200
+++ exult-1.2-p/usecode/ucxt/include/ucfunc.h 2007-06-03 17:37:05.000000000 +0200
@@ -206,7 +206,7 @@
bool output_list(std::ostream &o, unsigned int funcno, const UCOptions &options);
bool output_ucs(std::ostream &o, const FuncMap &funcmap, const std::map<unsigned int, std::string> &intrinsics, const UCOptions &options);
- std::ostream &UCFunc::output_ucs_funcname(std::ostream &o, const FuncMap &funcmap);
+ std::ostream &output_ucs_funcname(std::ostream &o, const FuncMap &funcmap);
std::ostream &output_ucs_funcname(std::ostream &o, const FuncMap &funcmap,
unsigned int funcid,
unsigned int numargs, bool return_var);

+ 3
- 0
package/stf/exult/exult.conf

@ -0,0 +1,3 @@
var_append extraconfopt " " "--enable-exult-studio"
pkginstalled gimp && var_append extraconfopt " " "--enable-gimp-plugin"

+ 56
- 0
package/stf/exult/exult.desc

@ -0,0 +1,56 @@
[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN ---
[COPY]
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY] Please add additional copyright information _after_ the line containing
[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
[COPY]
[COPY] ROCK Linux: rock-src/package/stf/exult/exult.desc
[COPY] ROCK Linux is Copyright (C) 1998 - 2007 Clifford Wolf
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; either version 2 of the License, or
[COPY] (at your option) any later version. A copy of the GNU General Public
[COPY] License can be found at Documentation/COPYING.
[COPY]
[COPY] Many people helped and are helping developing ROCK Linux. Please
[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM
[COPY] file for details.
[COPY]
[COPY] --- ROCK-COPYRIGHT-NOTE-END ---
[I] a version of Ultima VII for Unix, Windows, Mac and BeOS
[T] As computers evolve, we risk losing classic games from the not-so-distant
[T] past. One of these, Ultima 7, an RPG from the early 1990's, still has a
[T] huge following, and many consider it to be one of the most immersive games
[T] ever produced. Exult is a project to recreate Ultima 7 for modern operating
[T] systems, using the game's original plot, data, and graphics files.
[U] http://exult.sourceforge.net/
[A] Jeff S. Freedman <jeff at simutech.com>
[A] Dancer Vesperman <dancer at zeor.simegen.com>
[A] Willem Jan Palenstijn <wjpalenstijn at users.sourceforge.net>
[A] Tristan Tarrant <nadir at users.sourceforge.net>
[A] Max Horn <max at quendi.de>
[A] Coder Infidel <coder_infidel at hotmail.com>
[A] Ryan Nunn <triforce at merlin.net.au>
[A] Patrick Burke <takhisisii at yahoo.com.au>
[A] Dominik Reichardt <gigdr at tesionmail.de>
[A] Ruediger Hanke <tomjoad at muenster.de>
[A] Simon Quinn <email at simonquinn.co.uk>
[M] Stefan Fiedler <stefan.fiedler at students.jku.at>
[C] extra/game
[L] GPL
[S] Stable
[V] 1.2
[P] X -----5---9 800.000
[D] 3858181307 exult-1.2.tar.gz http://ovh.dl.sourceforge.net/sourceforge/exult/

Loading…
Cancel
Save