« Return to Thread: PATCH: Small patches

PATCH: Small patches

by Seika van Olstroem :: Rate this Message:

Reply to Author | View in Thread

Dear lists,

attached please find just 2 small patches.

The first patch let the makefile generator generate a correct "clean"-target.

The second patch was already mentioned before by marco, it adds an include for
algorithm to narray.h. I'm not sure why it wasn't not yet within the
SVN but I think
something was wrong the way he tried to commit it.

Please comment. :-)

--
-Seika

[include_algorithm_for_std_sort.patch]

Index: code/nebula2/inc/util/narray.h
===================================================================
--- code/nebula2/inc/util/narray.h (Revision 3233)
+++ code/nebula2/inc/util/narray.h (Arbeitskopie)
@@ -17,6 +17,8 @@
 */
 #include "kernel/ntypes.h"
 
+#include <algorithm>
+
 //------------------------------------------------------------------------------
 template<class TYPE> class nArray
 {


[remove_interdir_contents_makefile.patch]

Index: buildsys3/generators/makefile.py
===================================================================
--- buildsys3/generators/makefile.py (Revision 3233)
+++ buildsys3/generators/makefile.py (Arbeitskopie)
@@ -107,7 +107,7 @@
             # spring clean
             makeFile.write("clean: \n")
             makeFile.write("\t$(RM) $(N_TARGETDIR)*\n")
-            makeFile.write("\t$(RM) $(N_INTERDIR)\n")
+            makeFile.write("\t$(RM) $(N_INTERDIR)*\n")
 
             makeFile.write("default: all\n")
 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

*** NOTE: To reply to the list use "reply to all",  ***
***       to reply direct to the sender use "reply" ***
_______________________________________________
Nebuladevice-discuss mailing list
Nebuladevice-discuss@...
https://lists.sourceforge.net/lists/listinfo/nebuladevice-discuss

 « Return to Thread: PATCH: Small patches