r7872 - in packages/trunk/plee-the-bear/debian: . patches
Julien Jorge
j-jorge-guest at alioth.debian.org
Fri Jul 25 22:53:36 UTC 2008
Author: j-jorge-guest
Date: 2008-07-25 22:53:36 +0000 (Fri, 25 Jul 2008)
New Revision: 7872
Added:
packages/trunk/plee-the-bear/debian/patches/fix-create-file-in-current-dir.diff
Modified:
packages/trunk/plee-the-bear/debian/changelog
packages/trunk/plee-the-bear/debian/control
packages/trunk/plee-the-bear/debian/patches/series
Log:
- Do not create files in current directory.
- Updated list of architectures'
Modified: packages/trunk/plee-the-bear/debian/changelog
===================================================================
--- packages/trunk/plee-the-bear/debian/changelog 2008-07-25 22:07:59 UTC (rev 7871)
+++ packages/trunk/plee-the-bear/debian/changelog 2008-07-25 22:53:36 UTC (rev 7872)
@@ -1,3 +1,11 @@
+plee-the-bear (0.2.1-2) unstable; urgency=low
+
+ * Do not create files in current directory (Closes: #490757)
+
+ * Deactivate architectures alpha, powerpc and s390, not supported yet (Closes: #490020)
+
+ -- Julien Jorge <julien_jorge at yahoo.fr> Sat, 26 Jul 2008 00:45:13 +0200
+
plee-the-bear (0.2.1-1) unstable; urgency=low
* Initial release (Closes: #482663)
Modified: packages/trunk/plee-the-bear/debian/control
===================================================================
--- packages/trunk/plee-the-bear/debian/control 2008-07-25 22:07:59 UTC (rev 7871)
+++ packages/trunk/plee-the-bear/debian/control 2008-07-25 22:53:36 UTC (rev 7872)
@@ -15,7 +15,8 @@
Package: plee-the-bear
Section: games
-Architecture: any
+Architecture: amd64 hppa i386 ia64 m68k mips mipsel sparc kfreebsd-i386
+ kfreebsd-amd64
Depends: ${shlibs:Depends}, plee-the-bear-data (= ${source:Version})
Homepage: http://plee-the-bear.sourceforge.net/
Description: A 2D platform game
Added: packages/trunk/plee-the-bear/debian/patches/fix-create-file-in-current-dir.diff
===================================================================
--- packages/trunk/plee-the-bear/debian/patches/fix-create-file-in-current-dir.diff (rev 0)
+++ packages/trunk/plee-the-bear/debian/patches/fix-create-file-in-current-dir.diff 2008-07-25 22:53:36 UTC (rev 7872)
@@ -0,0 +1,32 @@
+Index: plee-the-bear-0.2.1/dev/bear_engine/src/core/engine/code/game.cpp
+===================================================================
+--- plee-the-bear-0.2.1.orig/dev/bear_engine/src/core/engine/code/game.cpp 2008-07-26 00:39:27.000000000 +0200
++++ plee-the-bear-0.2.1/dev/bear_engine/src/core/engine/code/game.cpp 2008-07-26 00:40:43.000000000 +0200
+@@ -108,15 +108,18 @@
+ */
+ bear::engine::game::~game()
+ {
+- std::list<unsigned int>::const_iterator it_p, it_r;
+- std::ofstream f("stats.dat");
+- unsigned int i=0;
+-
+- f << "#it\tprogress\trender" << std::endl;
+-
+- for ( it_p=m_progress_time.begin(), it_r=m_render_time.begin();
+- it_p!=m_progress_time.end(); ++it_p, ++it_r, ++i )
+- f << i << '\t' << *it_p << '\t' << *it_r << std::endl;
++ if ( !m_progress_time.empty() && !m_render_time.empty() )
++ {
++ std::list<unsigned int>::const_iterator it_p, it_r;
++ std::ofstream f("stats.dat");
++ unsigned int i=0;
++
++ f << "#it\tprogress\trender" << std::endl;
++
++ for ( it_p=m_progress_time.begin(), it_r=m_render_time.begin();
++ it_p!=m_progress_time.end(); ++it_p, ++it_r, ++i )
++ f << i << '\t' << *it_p << '\t' << *it_r << std::endl;
++ }
+
+ clear();
+ close_environment();
Modified: packages/trunk/plee-the-bear/debian/patches/series
===================================================================
--- packages/trunk/plee-the-bear/debian/patches/series 2008-07-25 22:07:59 UTC (rev 7871)
+++ packages/trunk/plee-the-bear/debian/patches/series 2008-07-25 22:53:36 UTC (rev 7872)
@@ -2,5 +2,6 @@
dont-compile-extra-stuff.diff -p1
fix-menu-section.diff -p1
install-author-files.diff -p1
+fix-create-file-in-current-dir.diff
cmake-version.diff -p1
fix_.desktop.diff -p0
More information about the Pkg-games-commits
mailing list