This patch fixes compilation with FPC 2.6.2. It mainly replaces version check
against 2.7.0 with checks against 2.6.2 for the merged changes.

--- lazarus/components/lazreport/source/lr_vers.inc	2013-05-17 19:07:26.000000000 +0200
+++ lazarus/components/lazreport/source/lr_vers.inc	2013-05-17 19:07:31.000000000 +0200
@@ -56,7 +56,7 @@
 {$ENDIF}
 {$DEFINE Delphi5}
 
-{$if FPC_FULLVERSION<20701}
+{$if FPC_FULLVERSION<20601}
   // in former FCL versions TBookmark was a simple pointer
   {$DEFINE noautomatedbookmark}
 {$endif}
--- lazarus/components/codetools/codetoolsstructs.pas	2013-05-17 19:08:13.000000000 +0200
+++ lazarus/components/codetools/codetoolsstructs.pas	2013-05-17 19:08:28.000000000 +0200
@@ -290,7 +290,7 @@
 
 function CompareAnsiStringPtrs(Data1, Data2: Pointer): integer;
 
-{$IF FPC_FULLVERSION<20701}
+{$IF FPC_FULLVERSION<20601}
   {$DEFINE EnableAVLFindPointerFix}
 {$ENDIF}
 function AVLFindPointer(Tree: TAVLTree; Data: Pointer): TAVLTreeNode; {$IFNDEF EnableAVLFindPointerFix}inline;{$ENDIF}
