diff --git a/package/stf/exult/exult-gcc4.patch b/package/stf/exult/exult-gcc4.patch new file mode 100644 index 000000000..4f2704f4c --- /dev/null +++ b/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 +-# 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 +-# 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 &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); diff --git a/package/stf/exult/exult.conf b/package/stf/exult/exult.conf new file mode 100644 index 000000000..84bb35ff7 --- /dev/null +++ b/package/stf/exult/exult.conf @@ -0,0 +1,3 @@ +var_append extraconfopt " " "--enable-exult-studio" +pkginstalled gimp && var_append extraconfopt " " "--enable-gimp-plugin" + diff --git a/package/stf/exult/exult.desc b/package/stf/exult/exult.desc new file mode 100644 index 000000000..0c52b1f57 --- /dev/null +++ b/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 +[A] Dancer Vesperman +[A] Willem Jan Palenstijn +[A] Tristan Tarrant +[A] Max Horn +[A] Coder Infidel +[A] Ryan Nunn +[A] Patrick Burke +[A] Dominik Reichardt +[A] Ruediger Hanke +[A] Simon Quinn + +[M] Stefan Fiedler + +[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/ +