Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-commits
Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-commits@g.o
From: "Michael Sterrett (mr_bones_)" <mr_bones_@g.o>
Subject: gentoo-x86 commit in games-action/btanks/files: btanks-0.8.7479-scons-blows.patch btanks-0.8.7479-build.patch
Date: Mon, 04 Aug 2008 20:47:10 +0000
mr_bones_    08/08/04 20:47:10

  Added:                btanks-0.8.7479-scons-blows.patch
                        btanks-0.8.7479-build.patch
  Log:
  version bump - ebuild submitted by Aleksandr Yakimov via bug #233461
  (Portage version: 2.1.4.4)

Revision  Changes    Path
1.1                  games-action/btanks/files/btanks-0.8.7479-scons-blows.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/btanks/files/btanks-0.8.7479-scons-blows.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/btanks/files/btanks-0.8.7479-scons-blows.patch?rev=1.1&content-type=text/plain

Index: btanks-0.8.7479-scons-blows.patch
===================================================================
Don't force crappy flags.

--- SConstruct.orig	2008-08-04 11:10:58.000000000 -0400
+++ SConstruct	2008-08-04 12:37:10.000000000 -0400
@@ -90,18 +90,8 @@
 		#env.Append(CPPDEFINES = ['NDEBUG']) 
 
 else:
-	if env['gcc_visibility']: 
-		env.Append(CCFLAGS=['-fvisibility=hidden']);
-		env.Append(CXXFLAGS=['-fvisibility-inlines-hidden', '-fvisibility=hidden']);
-	if debug:
-		env.Append(CCFLAGS=['-ggdb'])
-		env.Append(CPPFLAGS=['-ggdb'])
-	else: 
-		env.Append(CCFLAGS=['-O3'])
-		env.Append(CPPFLAGS=['-O3'])
-		
-	env.Append(CPPFLAGS=['-Wall', '-pedantic', '-Wno-long-long', '-pipe', '-pthread'])
-	env.Append(CCFLAGS=['-Wall', '-pedantic', '-Wno-long-long', '-pipe', '-pthread'])
+	env.Append(CPPFLAGS=['-Wall', '-pedantic', '-Wno-long-long', '-pthread'])
+	env.Append(CCFLAGS=['-Wall', '-pedantic', '-Wno-long-long', '-pthread'])
 
 
 conf_env = env.Clone()



1.1                  games-action/btanks/files/btanks-0.8.7479-build.patch

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

Index: btanks-0.8.7479-build.patch
===================================================================
diff -urN btanks-0.8.7479-orig/engine/src/finder.cpp btanks-0.8.7479/engine/src/finder.cpp
--- btanks-0.8.7479-orig/engine/src/finder.cpp	2008-06-08 13:02:39.000000000 +0400
+++ btanks-0.8.7479/engine/src/finder.cpp	2008-07-30 15:57:31.000000000 +0400
@@ -102,14 +102,14 @@
 					//LOG_DEBUG(("data_dir = %s", dname.c_str()));
 					path.push_back(dname.c_str());
 #ifdef PLUGINS_DIR
-					path.push_back(PLUGINS_DIR + "/" + dname); //plugins loaded from path ../bt_objects.
+					path.push_back(std::string(PLUGINS_DIR) + "/" + std::string(dname)); //plugins loaded from path ../bt_objects.
 #endif
 			}
 		} CATCH("scan", )
 	}
 #ifdef RESOURCES_DIR
 	std::string dname = RESOURCES_DIR "/data";
-	std::string rname = RESOURCES_DIR + "/resources.dat";
+	std::string rname = std::string(RESOURCES_DIR) + "/resources.dat";
 #else
 	std::string dname = "data";
 	std::string rname = "resources.dat";
diff -urN btanks-0.8.7479-orig/mrt/fs_node.cpp btanks-0.8.7479/mrt/fs_node.cpp
--- btanks-0.8.7479-orig/mrt/fs_node.cpp	2008-06-08 13:02:39.000000000 +0400
+++ btanks-0.8.7479/mrt/fs_node.cpp	2008-07-30 15:57:31.000000000 +0400
@@ -129,7 +129,8 @@
 		}
 		r.push_back(p[i]);
 	}
-	mrt::join(path, r, "/");
+// Commented because strip leading symbol '/'
+//	mrt::join(path, r, "/");
 	return path;
 }
 





Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
gentoo-x86 commit in games-action/btanks: ChangeLog btanks-0.8.7479.ebuild
Next by thread:
gentoo-x86 commit in games-action/btanks/files: btanks-0.8.7479-scons-blows.patch btanks-0.8.7479-build.patch
Previous by date:
gentoo-x86 commit in games-action/btanks: ChangeLog btanks-0.8.7479.ebuild
Next by date:
gentoo-x86 commit in net-misc/vinagre: ChangeLog vinagre-0.5.0.ebuild


Updated Jun 10, 2010

Summary: Archive of the gentoo-commits mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.