[packages/fpc] - fix building with gdb 7.11.x - rel 4

baggins baggins at pld-linux.org
Wed Oct 19 21:25:46 CEST 2016


commit e6fbfe5dfae0a8e2f8186dcfa3242ab8540e8d02
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Wed Oct 19 21:25:25 2016 +0200

    - fix building with gdb 7.11.x
    - rel 4

 fpc-gdb.patch | 13 ++++++++++++-
 fpc.spec      |  2 +-
 2 files changed, 13 insertions(+), 2 deletions(-)
---
diff --git a/fpc.spec b/fpc.spec
index 042824e..b7e637e 100644
--- a/fpc.spec
+++ b/fpc.spec
@@ -9,7 +9,7 @@ Summary(ru.UTF-8):	Свободный компилятор Pascal
 Summary(uk.UTF-8):	Вільний компілятор Pascal
 Name:		fpc
 Version:	3.0.0
-Release:	3
+Release:	4
 License:	GPL v2+
 Group:		Development/Languages
 Source0:	ftp://ftp.freepascal.org/pub/fpc/dist/%{version}/source/%{name}build-%{version}.tar.gz
diff --git a/fpc-gdb.patch b/fpc-gdb.patch
index 84ed8d9..e2ce752 100644
--- a/fpc-gdb.patch
+++ b/fpc-gdb.patch
@@ -1,9 +1,20 @@
 --- fpcbuild-2.6.4/fpcsrc/packages/gdbint/src/gdbint.pp~	2016-04-01 17:53:51.000000000 +0900
 +++ fpcbuild-2.6.4/fpcsrc/packages/gdbint/src/gdbint.pp	2016-04-01 23:08:14.978738263 +0900
-@@ -59,6 +59,17 @@
+@@ -59,6 +59,28 @@
  
  {$undef GDB_VERSION_RECOGNIZED}
  
++{ 7.11.x }
++{$ifdef GDB_V711}
++  {$info using gdb 7.11.x}
++  {$define GDB_VERSION_RECOGNIZED}
++  {$define GDB_VER_GE_711}
++{$endif}
++
++{$ifdef GDB_VER_GE_711}
++  {$define GDB_VER_GE_710}
++{$endif}
++
 +{ 7.10.x }
 +{$ifdef GDB_V710}
 +  {$info using gdb 7.10.x}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/fpc.git/commitdiff/e6fbfe5dfae0a8e2f8186dcfa3242ab8540e8d02



More information about the pld-cvs-commit mailing list