summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2006-06-06 21:22:09 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2006-06-06 21:22:09 +0000
commit2c9c571d182d32777089dd967b913b90a35a0a81 (patch)
tree66060653fd60ecce435fcff79a9929f2188c041f /games-strategy/gwp/files
parentStable on x86. (diff)
downloadgentoo-2-2c9c571d182d32777089dd967b913b90a35a0a81.tar.gz
gentoo-2-2c9c571d182d32777089dd967b913b90a35a0a81.tar.bz2
gentoo-2-2c9c571d182d32777089dd967b913b90a35a0a81.zip
Initial import. Original ebuild by James Jones <jcjones@ufl.edu> and edited by me. Updated ebuild provided by Tom Wesley <tom@tomaw.org> and edited by me. Closing bug #56533.
(Portage version: 2.1_rc3-r2)
Diffstat (limited to 'games-strategy/gwp/files')
-rw-r--r--games-strategy/gwp/files/digest-gwp-0.4.03
-rw-r--r--games-strategy/gwp/files/gwp-0.4.0-gcc41.patch126
2 files changed, 129 insertions, 0 deletions
diff --git a/games-strategy/gwp/files/digest-gwp-0.4.0 b/games-strategy/gwp/files/digest-gwp-0.4.0
new file mode 100644
index 000000000000..f76e7f947da9
--- /dev/null
+++ b/games-strategy/gwp/files/digest-gwp-0.4.0
@@ -0,0 +1,3 @@
+MD5 6f80f3c1b9dc50bbfeea80f4d949551f gwp-0.4.0.tar.gz 2294453
+RMD160 59b585551cb075c4823d7ccfa3172b55314f0a11 gwp-0.4.0.tar.gz 2294453
+SHA256 e2734e019e2c3ef28cb0abd524c193ec5beb35d2bc8ba3e10652fac45c8bbe99 gwp-0.4.0.tar.gz 2294453
diff --git a/games-strategy/gwp/files/gwp-0.4.0-gcc41.patch b/games-strategy/gwp/files/gwp-0.4.0-gcc41.patch
new file mode 100644
index 000000000000..264186e7b526
--- /dev/null
+++ b/games-strategy/gwp/files/gwp-0.4.0-gcc41.patch
@@ -0,0 +1,126 @@
+--- src/gwp-game-state.c.old 2006-03-05 00:56:48.000000000 +0900
++++ src/gwp-game-state.c 2006-03-05 00:57:38.000000000 +0900
+@@ -749,7 +749,7 @@
+ /* Connect to interesting signals */
+ /**********************************/
+ /* Selected planets */
+- static void planet_conn (gpointer key, gpointer value, gpointer self) {
++ void planet_conn (gpointer key, gpointer value, gpointer self) {
+ g_signal_connect (GWP_PLANET(value),
+ "selected",
+ G_CALLBACK(selected_planet_notification),
+@@ -757,7 +757,7 @@
+ }
+ g_hash_table_foreach (planet_list, (GHFunc) planet_conn, self);
+ /* Selected ships */
+- static void ship_conn (gpointer key, gpointer value, gpointer self) {
++ void ship_conn (gpointer key, gpointer value, gpointer self) {
+ g_signal_connect (GWP_SHIP(value),
+ "selected",
+ G_CALLBACK(selected_ship_notification),
+--- src/starchart.c.old 2006-03-05 01:13:39.000000000 +0900
++++ src/starchart.c 2006-03-05 01:18:04.000000000 +0900
+@@ -2111,7 +2111,7 @@
+ /*******************/
+ /* Planets signals */
+ /*******************/
+- static void planet_conn (gpointer key, gpointer value, gpointer data) {
++ void planet_conn (gpointer key, gpointer value, gpointer data) {
+ g_signal_connect (GWP_PLANET(value),
+ "property-changed",
+ G_CALLBACK(update_planet_notification),
+@@ -3199,7 +3199,7 @@
+ gdouble wx, wy;
+ gdouble ax, ay, bx, by, zoom;
+
+- static void add_item (gpointer key, gpointer value, gpointer user_data) {
++ void add_item (gpointer key, gpointer value, gpointer user_data) {
+ /* GSList *p_list = (GSList *)user_data; */
+ planets = g_slist_append (planets, value);
+ }
+--- src/vp_utils.c.old 2006-03-05 01:18:14.000000000 +0900
++++ src/vp_utils.c 2006-03-05 01:18:52.000000000 +0900
+@@ -2590,7 +2590,7 @@
+ gwp_planet_set_colonists (planet, atoi(p_clans));
+
+ /* Compare func */
+- static gint compare_race (gconstpointer race, gconstpointer adj) {
++ gint compare_race (gconstpointer race, gconstpointer adj) {
+ gchar *race_str = gwp_race_get_adjective(GWP_RACE(race));
+ if (strncmp(race_str, adj, strlen(adj)) == 0)
+ return 0;
+@@ -2639,7 +2639,7 @@
+ /* Assign known planet values */
+ gwp_planet_set_is_known (planet, TRUE);
+ /* Compare func */
+- static gint compare_race (gconstpointer race, gconstpointer adj) {
++ gint compare_race (gconstpointer race, gconstpointer adj) {
+ gchar *race_str = gwp_race_get_adjective(GWP_RACE(race));
+ if (strncmp(race_str, adj, strlen(adj)) == 0)
+ return 0;
+--- src/gwp-py-mappings.c.old 2006-03-05 01:28:39.000000000 +0900
++++ src/gwp-py-mappings.c 2006-03-05 01:29:30.000000000 +0900
+@@ -8657,7 +8657,7 @@
+ {
+ PyObject *ret = PyDict_New();
+
+- static void add_ship (gpointer key, gpointer value, gpointer user_data) {
++ void add_ship (gpointer key, gpointer value, gpointer user_data) {
+ PyObject *dict = (PyObject *)user_data;
+ GwpShip *ship = GWP_SHIP(value);
+
+@@ -8679,7 +8679,7 @@
+ {
+ PyObject *ret = PyDict_New();
+
+- static void add_planet (gpointer key, gpointer value, gpointer user_data) {
++ void add_planet (gpointer key, gpointer value, gpointer user_data) {
+ PyObject *dict = (PyObject *)user_data;
+ GwpPlanet *planet = GWP_PLANET(value);
+
+@@ -8701,7 +8701,7 @@
+ {
+ PyObject *ret = PyDict_New();
+
+- static void add_hullspec (gpointer value, gpointer user_data) {
++ void add_hullspec (gpointer value, gpointer user_data) {
+ PyObject *dict = (PyObject *)user_data;
+ GwpHullSpec *hullspec = GWP_HULLSPEC(value);
+
+@@ -8723,7 +8723,7 @@
+ {
+ PyObject *ret = PyDict_New();
+
+- static void add_engspec (gpointer value, gpointer user_data) {
++ void add_engspec (gpointer value, gpointer user_data) {
+ PyObject *dict = (PyObject *)user_data;
+ GwpEngSpec *engspec = GWP_ENGSPEC(value);
+
+@@ -8745,7 +8745,7 @@
+ {
+ PyObject *ret = PyDict_New();
+
+- static void add_beamspec (gpointer value, gpointer user_data) {
++ void add_beamspec (gpointer value, gpointer user_data) {
+ PyObject *dict = (PyObject *)user_data;
+ GwpBeamSpec *beamspec = GWP_BEAMSPEC(value);
+
+@@ -8767,7 +8767,7 @@
+ {
+ PyObject *ret = PyDict_New();
+
+- static void add_torpspec (gpointer value, gpointer user_data) {
++ void add_torpspec (gpointer value, gpointer user_data) {
+ PyObject *dict = (PyObject *)user_data;
+ GwpTorpSpec *torpspec = GWP_TORPSPEC(value);
+
+--- src/vcr.c.old 2006-03-05 01:25:37.000000000 +0900
++++ src/vcr.c 2006-03-05 01:40:19.000000000 +0900
+@@ -2692,7 +2692,6 @@
+ {
+ gchar *name;
+ gint *idlist;
+- static void foreach_func( gpointer key, gpointer value, gpointer user_data );
+
+ /* test if list is already populated */
+ idlist = (gint *)g_object_get_data(G_OBJECT(lookup_widget("vcr_comboboxentry_sel_ext_shp_a")), "shipidlist");