File librecad-oldstd.patch of Package LibreCAD2
diff -U 3 -H -d -r -N -- a/custom.pro b/custom.pro --- a/custom.pro 2011-08-14 07:28:00.000000000 +0200 +++ b/custom.pro 2011-08-15 11:47:16.000000000 +0200 @@ -0,0 +1,3 @@ +QMAKE_CXXFLAGS_DEBUG += -std=c++0x -g +QMAKE_CXXFLAGS += -std=c++0x -g +CXX_CPP11_FLAG += -std=c++0x -g diff -U 3 -H -d -r -N -- a/custom.pro b/custom.pro --- a/librecad/src/lib/engine/rs_layerlist.cpp 2011-08-14 07:28:00.000000000 +0200 +++ b/librecad/src/lib/engine/rs_layerlist.cpp 2011-08-15 11:47:16.000000000 +0200 @@ -25,6 +25,7 @@ **********************************************************************/ +#include <algorithm> #include "rs_debug.h" #include "rs_layerlist.h" #include "rs_layer.h"