r3901 - in packages/trunk/bulletml/debian: . patches

Miriam Ruiz baby-guest at alioth.debian.org
Tue Aug 28 09:53:08 UTC 2007


Author: baby-guest
Date: 2007-08-28 09:53:08 +0000 (Tue, 28 Aug 2007)
New Revision: 3901

Added:
   packages/trunk/bulletml/debian/patches/warnings.patch
Modified:
   packages/trunk/bulletml/debian/changelog
   packages/trunk/bulletml/debian/patches/fixes.patch
   packages/trunk/bulletml/debian/patches/series
Log:
Fixed warnings and makefile



Modified: packages/trunk/bulletml/debian/changelog
===================================================================
--- packages/trunk/bulletml/debian/changelog	2007-08-28 09:39:13 UTC (rev 3900)
+++ packages/trunk/bulletml/debian/changelog	2007-08-28 09:53:08 UTC (rev 3901)
@@ -1,6 +1,6 @@
 bulletml (0.0.6-1) unstable; urgency=low
 
-  * Initial release (Closes: #nnnn)  <nnnn is the bug number of your ITP>
+  * Initial release.
 
  -- Miriam Ruiz <little_miry at yahoo.es>  Mon, 27 Aug 2007 19:48:05 +0000
 

Modified: packages/trunk/bulletml/debian/patches/fixes.patch
===================================================================
--- packages/trunk/bulletml/debian/patches/fixes.patch	2007-08-28 09:39:13 UTC (rev 3900)
+++ packages/trunk/bulletml/debian/patches/fixes.patch	2007-08-28 09:53:08 UTC (rev 3901)
@@ -1,7 +1,7 @@
 Index: bulletml-0.0.6/src/bulletmlparser.h
 ===================================================================
---- bulletml-0.0.6.orig/src/bulletmlparser.h	2007-08-28 09:01:12.000000000 +0000
-+++ bulletml-0.0.6/src/bulletmlparser.h	2007-08-28 09:33:00.000000000 +0000
+--- bulletml-0.0.6.orig/src/bulletmlparser.h	2007-08-28 09:43:43.000000000 +0000
++++ bulletml-0.0.6/src/bulletmlparser.h	2007-08-28 09:43:45.000000000 +0000
 @@ -70,11 +70,10 @@
      bool isHorizontal_;
  
@@ -19,8 +19,8 @@
  
 Index: bulletml-0.0.6/src/bulletmlparser-tinyxml.cpp
 ===================================================================
---- bulletml-0.0.6.orig/src/bulletmlparser-tinyxml.cpp	2007-08-28 09:01:12.000000000 +0000
-+++ bulletml-0.0.6/src/bulletmlparser-tinyxml.cpp	2007-08-28 09:33:00.000000000 +0000
+--- bulletml-0.0.6.orig/src/bulletmlparser-tinyxml.cpp	2007-08-28 09:43:43.000000000 +0000
++++ bulletml-0.0.6/src/bulletmlparser-tinyxml.cpp	2007-08-28 09:43:45.000000000 +0000
 @@ -5,8 +5,8 @@
  
  #include <string>
@@ -43,8 +43,8 @@
  }
 Index: bulletml-0.0.6/src/bulletmlparser-tinyxml.h
 ===================================================================
---- bulletml-0.0.6.orig/src/bulletmlparser-tinyxml.h	2007-08-28 09:01:12.000000000 +0000
-+++ bulletml-0.0.6/src/bulletmlparser-tinyxml.h	2007-08-28 09:33:00.000000000 +0000
+--- bulletml-0.0.6.orig/src/bulletmlparser-tinyxml.h	2007-08-28 09:43:43.000000000 +0000
++++ bulletml-0.0.6/src/bulletmlparser-tinyxml.h	2007-08-28 09:43:45.000000000 +0000
 @@ -16,12 +16,12 @@
  
  class BulletMLParserTinyXML : public BulletMLParser {
@@ -70,8 +70,8 @@
  
 Index: bulletml-0.0.6/src/bulletmlparser-xerces.cpp
 ===================================================================
---- bulletml-0.0.6.orig/src/bulletmlparser-xerces.cpp	2007-08-28 09:01:12.000000000 +0000
-+++ bulletml-0.0.6/src/bulletmlparser-xerces.cpp	2007-08-28 09:33:00.000000000 +0000
+--- bulletml-0.0.6.orig/src/bulletmlparser-xerces.cpp	2007-08-28 09:43:43.000000000 +0000
++++ bulletml-0.0.6/src/bulletmlparser-xerces.cpp	2007-08-28 09:43:45.000000000 +0000
 @@ -19,9 +19,9 @@
  	BulletMLParserXercesSAXHandler(BulletMLParserXerces* parser);
  
@@ -105,8 +105,8 @@
  	}
 Index: bulletml-0.0.6/src/bulletmlparser-xerces.h
 ===================================================================
---- bulletml-0.0.6.orig/src/bulletmlparser-xerces.h	2007-08-28 09:01:12.000000000 +0000
-+++ bulletml-0.0.6/src/bulletmlparser-xerces.h	2007-08-28 09:33:00.000000000 +0000
+--- bulletml-0.0.6.orig/src/bulletmlparser-xerces.h	2007-08-28 09:43:44.000000000 +0000
++++ bulletml-0.0.6/src/bulletmlparser-xerces.h	2007-08-28 09:43:45.000000000 +0000
 @@ -8,18 +8,14 @@
  
  #ifdef USE_XERCES
@@ -129,8 +129,8 @@
  
 Index: bulletml-0.0.6/src/bulletmlparser-ygg.cpp
 ===================================================================
---- bulletml-0.0.6.orig/src/bulletmlparser-ygg.cpp	2007-08-28 09:01:12.000000000 +0000
-+++ bulletml-0.0.6/src/bulletmlparser-ygg.cpp	2007-08-28 09:33:00.000000000 +0000
+--- bulletml-0.0.6.orig/src/bulletmlparser-ygg.cpp	2007-08-28 09:43:43.000000000 +0000
++++ bulletml-0.0.6/src/bulletmlparser-ygg.cpp	2007-08-28 09:43:45.000000000 +0000
 @@ -63,8 +63,8 @@
  	curNode_->setValue(trimString(text.get_text()));
  }
@@ -154,8 +154,8 @@
  std::string BulletMLParserYggdrasil::trimString(const std::string& str) {
 Index: bulletml-0.0.6/src/bulletmlparser-ygg.h
 ===================================================================
---- bulletml-0.0.6.orig/src/bulletmlparser-ygg.h	2007-08-28 09:01:12.000000000 +0000
-+++ bulletml-0.0.6/src/bulletmlparser-ygg.h	2007-08-28 09:33:00.000000000 +0000
+--- bulletml-0.0.6.orig/src/bulletmlparser-ygg.h	2007-08-28 09:43:43.000000000 +0000
++++ bulletml-0.0.6/src/bulletmlparser-ygg.h	2007-08-28 09:43:45.000000000 +0000
 @@ -24,7 +24,7 @@
  	void catch_text(yggdrasil::ygg_node text);
  
@@ -175,8 +175,8 @@
  
 Index: bulletml-0.0.6/src/bulletmlrunnerimpl.cpp
 ===================================================================
---- bulletml-0.0.6.orig/src/bulletmlrunnerimpl.cpp	2007-08-28 09:01:12.000000000 +0000
-+++ bulletml-0.0.6/src/bulletmlrunnerimpl.cpp	2007-08-28 09:33:00.000000000 +0000
+--- bulletml-0.0.6.orig/src/bulletmlrunnerimpl.cpp	2007-08-28 09:43:43.000000000 +0000
++++ bulletml-0.0.6/src/bulletmlrunnerimpl.cpp	2007-08-28 09:43:45.000000000 +0000
 @@ -25,8 +25,7 @@
  	&BulletMLRunnerImpl::runVanish
  };
@@ -221,8 +221,8 @@
  	calcChangeDirection(dir, term, type == BulletMLNode::sequence);
 Index: bulletml-0.0.6/src/bulletmlrunnerimpl.h
 ===================================================================
---- bulletml-0.0.6.orig/src/bulletmlrunnerimpl.h	2007-08-28 09:01:12.000000000 +0000
-+++ bulletml-0.0.6/src/bulletmlrunnerimpl.h	2007-08-28 09:33:00.000000000 +0000
+--- bulletml-0.0.6.orig/src/bulletmlrunnerimpl.h	2007-08-28 09:43:43.000000000 +0000
++++ bulletml-0.0.6/src/bulletmlrunnerimpl.h	2007-08-28 09:43:45.000000000 +0000
 @@ -136,7 +136,7 @@
      double getNumberContents(const BulletMLNode* node);
      std::vector<double>* getParameters();
@@ -234,8 +234,8 @@
  private:
 Index: bulletml-0.0.6/src/calc.cpp
 ===================================================================
---- bulletml-0.0.6.orig/src/calc.cpp	2007-08-28 09:01:12.000000000 +0000
-+++ bulletml-0.0.6/src/calc.cpp	2007-08-28 09:33:00.000000000 +0000
+--- bulletml-0.0.6.orig/src/calc.cpp	2007-08-28 09:43:43.000000000 +0000
++++ bulletml-0.0.6/src/calc.cpp	2007-08-28 09:43:45.000000000 +0000
 @@ -1017,9 +1017,9 @@
  
  
@@ -286,8 +286,8 @@
  
 Index: bulletml-0.0.6/src/Makefile
 ===================================================================
---- bulletml-0.0.6.orig/src/Makefile	2007-08-28 09:01:12.000000000 +0000
-+++ bulletml-0.0.6/src/Makefile	2007-08-28 09:36:11.000000000 +0000
+--- bulletml-0.0.6.orig/src/Makefile	2007-08-28 09:43:44.000000000 +0000
++++ bulletml-0.0.6/src/Makefile	2007-08-28 09:44:09.000000000 +0000
 @@ -1,27 +1,38 @@
 -CC = g++
 -INCLUDES = -I.
@@ -325,7 +325,7 @@
  
  clean:
 -	rm -f *.o *.a
-+	rm -f *.o *.a test_bulletml
++	rm -f *.o *.a test_bulletml *.so *.so.*
  	$(MAKE) -C tinyxml clean
  
  calc.cpp: calc.yy

Modified: packages/trunk/bulletml/debian/patches/series
===================================================================
--- packages/trunk/bulletml/debian/patches/series	2007-08-28 09:39:13 UTC (rev 3900)
+++ packages/trunk/bulletml/debian/patches/series	2007-08-28 09:53:08 UTC (rev 3901)
@@ -1,3 +1,4 @@
 fixes.patch
 bulletml_d.patch
 d_cpp.patch
+warnings.patch

Added: packages/trunk/bulletml/debian/patches/warnings.patch
===================================================================
--- packages/trunk/bulletml/debian/patches/warnings.patch	                        (rev 0)
+++ packages/trunk/bulletml/debian/patches/warnings.patch	2007-08-28 09:53:08 UTC (rev 3901)
@@ -0,0 +1,35 @@
+Index: bulletml-0.0.6/src/bulletmlrunnerimpl.cpp
+===================================================================
+--- bulletml-0.0.6.orig/src/bulletmlrunnerimpl.cpp	2007-08-28 09:45:38.000000000 +0000
++++ bulletml-0.0.6/src/bulletmlrunnerimpl.cpp	2007-08-28 09:48:44.000000000 +0000
+@@ -467,7 +467,7 @@
+ 		double dirSpace2;
+ 		if (dirSpace1 > 0) dirSpace2 = dirSpace1 - 360;
+ 		else dirSpace2 = dirSpace1 + 360;
+-		if (abs(dirSpace1) < abs(dirSpace2)) dirSpace = dirSpace1;
++		if (fabs(dirSpace1) < fabs(dirSpace2)) dirSpace = dirSpace1;
+ 		else dirSpace = dirSpace2;
+ 
+ 		auto_ptr_copy(changeDir_, new LinearFunc<int, double>
+Index: bulletml-0.0.6/src/formula-variables.h
+===================================================================
+--- bulletml-0.0.6.orig/src/formula-variables.h	2007-08-28 09:45:50.000000000 +0000
++++ bulletml-0.0.6/src/formula-variables.h	2007-08-28 09:50:53.000000000 +0000
+@@ -33,7 +33,7 @@
+ template <typename Val_>
+ class Param : public AbstractNumber<Val_> {
+ public:
+-	DECLSPEC explicit Param(int id) : id_(id) {}
++	DECLSPEC explicit Param(unsigned int id) : id_(id) {}
+ 	DECLSPEC virtual Val_ value() const {
+ 		if (Variables::parameters && id_ < Variables::parameters->size()) {
+ 			return (*Variables::parameters)[id_];
+@@ -44,7 +44,7 @@
+ 	}
+ 
+ private:
+-	int id_;
++	unsigned int id_;
+ };
+ 
+ #endif // ! FORMULA_VARIABLE_H_




More information about the Pkg-games-commits mailing list