From e6fbfe5dfae0a8e2f8186dcfa3242ab8540e8d02 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Wed, 19 Oct 2016 21:25:25 +0200 Subject: [PATCH] - 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-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} 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 -- 2.44.0