public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Tristan Heaven (nyhm)" <nyhm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in games-action/rafkill/files: rafkill-1.2.3-gcc43.patch
Date: Wed, 30 Apr 2008 16:46:32 +0000	[thread overview]
Message-ID: <E1JrFRw-0003ov-7x@stork.gentoo.org> (raw)

nyhm        08/04/30 16:46:32

  Added:                rafkill-1.2.3-gcc43.patch
  Log:
  Patch to fix building with gcc-4.3 from Peter Alfredsen, bug #219427
  (Portage version: 2.1.5_rc6)

Revision  Changes    Path
1.1                  games-action/rafkill/files/rafkill-1.2.3-gcc43.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/rafkill/files/rafkill-1.2.3-gcc43.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/rafkill/files/rafkill-1.2.3-gcc43.patch?rev=1.1&content-type=text/plain

Index: rafkill-1.2.3-gcc43.patch
===================================================================
Index: rafkill-1.2.2/src/guns/gun_findgun.cpp
===================================================================
--- rafkill-1.2.2.orig/src/guns/gun_findgun.cpp	2006-05-07 15:50:04.000000000 +0100
+++ rafkill-1.2.2/src/guns/gun_findgun.cpp	2008-04-09 22:54:54.000000000 +0100
@@ -5,6 +5,7 @@
 #include "weaponobj.h"
 #include "hulls/hull_weapon_machine.h"
 #include "spaceobj.h"
+#include <cstdlib>
 #include <vector>
 #include <math.h>
 
Index: rafkill-1.2.2/src/guns/gun_machine_circle.cpp
===================================================================
--- rafkill-1.2.2.orig/src/guns/gun_machine_circle.cpp	2006-05-02 02:50:40.000000000 +0100
+++ rafkill-1.2.2/src/guns/gun_machine_circle.cpp	2008-04-09 22:54:54.000000000 +0100
@@ -3,6 +3,7 @@
 #include "weaponobj.h"
 #include "hulls/hull_weapon_machine.h"
 #include "trigtable.h"
+#include <cstdlib>
 
 // #define d_circle_move (2.9*8)
 
Index: rafkill-1.2.2/src/guns/gun_saber.cpp
===================================================================
--- rafkill-1.2.2.orig/src/guns/gun_saber.cpp	2006-05-02 02:52:23.000000000 +0100
+++ rafkill-1.2.2/src/guns/gun_saber.cpp	2008-04-09 22:54:54.000000000 +0100
@@ -5,6 +5,7 @@
 #include "weapons/weapon_beam.h"
 #include "spaceobj.h"
 #include "ebox.h"
+#include <cstdlib>
 #include <vector>
 
 using namespace std;
Index: rafkill-1.2.2/src/menu.cpp
===================================================================
--- rafkill-1.2.2.orig/src/menu.cpp	2008-04-09 22:53:35.000000000 +0100
+++ rafkill-1.2.2/src/menu.cpp	2008-04-09 22:54:54.000000000 +0100
@@ -1,4 +1,5 @@
 #include <stdio.h>
+#include <cstdlib>
 #include "defs.h"
 #include "menu.h"
 #include "loadsave.h"
Index: rafkill-1.2.2/src/weapons/weapon_follow.cpp
===================================================================
--- rafkill-1.2.2.orig/src/weapons/weapon_follow.cpp	2006-03-25 23:29:05.000000000 +0000
+++ rafkill-1.2.2/src/weapons/weapon_follow.cpp	2008-04-09 22:54:54.000000000 +0100
@@ -3,6 +3,7 @@
 #include "weapon_follow.h"
 #include "hulls/hull_weapon_follow.h"
 #include "spaceobj.h"
+#include <cstdlib>
 #include <vector>
 
 using namespace std;
Index: rafkill-1.2.2/src/hulls/hull_weapon_beam.cpp
===================================================================
--- rafkill-1.2.2.orig/src/hulls/hull_weapon_beam.cpp	2006-05-02 03:12:50.000000000 +0100
+++ rafkill-1.2.2/src/hulls/hull_weapon_beam.cpp	2008-04-09 22:54:54.000000000 +0100
@@ -4,6 +4,7 @@
 #include "hull_weapon_beam.h"
 #include "trigtable.h"
 #include "ebox.h"
+#include <cstdlib>
 
 #ifndef debug
 #include <iostream>
Index: rafkill-1.2.2/src/drawer.cpp
===================================================================
--- rafkill-1.2.2.orig/src/drawer.cpp	2008-04-09 22:55:06.000000000 +0100
+++ rafkill-1.2.2/src/drawer.cpp	2008-04-09 22:55:55.000000000 +0100
@@ -11,6 +11,7 @@
 #include "trigtable.h"
 #include "pck.h"
 #include <iostream>
+#include <cstring>
 
 /* TODO:
  * Add weapon icons to HUD
Index: rafkill-1.2.2/src/loadsave.cpp
===================================================================
--- rafkill-1.2.2.orig/src/loadsave.cpp	2008-04-09 22:55:19.000000000 +0100
+++ rafkill-1.2.2/src/loadsave.cpp	2008-04-09 22:55:55.000000000 +0100
@@ -7,6 +7,7 @@
 #include "spaceobj.h"
 #include "strings.h"
 #include <string>
+#include <cstring>
 #include <vector>
 #include "gunobj.h"
 #include "hull.h"
Index: rafkill-1.2.2/src/system.cpp
===================================================================
--- rafkill-1.2.2.orig/src/system.cpp	2008-04-09 22:55:29.000000000 +0100
+++ rafkill-1.2.2/src/system.cpp	2008-04-09 22:55:55.000000000 +0100
@@ -1,6 +1,7 @@
 #include "system.h"
 #include <strings.h>
 #include <string>
+#include <cstring>
 
 #ifdef WINDOWS
 static const char * type(){



-- 
gentoo-commits@lists.gentoo.org mailing list



                 reply	other threads:[~2008-04-30 16:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1JrFRw-0003ov-7x@stork.gentoo.org \
    --to=nyhm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox