The attached patches fix two errors in previous propositions.
>From ec154cff3108e69ca3b90a1087bd4c9d9aa8eb05 Mon Sep 17 00:00:00 2001
From: Nicolas Boulenguez <nicolas.bouleng...@free.fr>
Date: Tue, 17 Jul 2018 11:25:34 +0200
Subject: [PATCH 1/2] Fix transmission of shared object version.

---
 debian/rules | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index bfadf9f..478a4a9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@
 # Replace eval with error to debug.
 $(foreach line,$(shell sed -n '\
   s/^ gnat, gnat-\([0-9.]\+\),$$/         gnat_version:=\1             /p;\
-  s/^Package: libahven\([0-9.]\+\)$$/     VERSION:=\1                  /p;\
+  s/^Package: libahven\([0-9.]\+\)$$/     ahven_soversion:=\1          /p;\
   ' debian/control),$(eval $(line)))
 
 doc_pkg := libahven-doc
@@ -15,7 +15,7 @@ include /usr/share/ada/debian_packaging-$(gnat_version).mk
 
 conf_args := \
   GNAT_BUILDER=gprbuild \
-  GNAT_BUILDER_FLAGS='$(BUILDER_OPTIONS)' \
+  GNAT_BUILDER_FLAGS='$(BUILDER_OPTIONS) -Xahven_soversion=$(ahven_soversion)' \
   $(foreach v,VERSION ADAFLAGS LDFLAGS,$(v)='$($(v))')
 
 %:
-- 
2.18.0

>From 2d4d51d72ae82b85a2986b817e3e2fb5c66b9da9 Mon Sep 17 00:00:00 2001
From: Nicolas Boulenguez <nicolas.bouleng...@free.fr>
Date: Tue, 17 Jul 2018 11:25:41 +0200
Subject: [PATCH 2/2] Actually bump the ALI and SO versions.

---
 debian/control | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 1ec0c58..371eae9 100644
--- a/debian/control
+++ b/debian/control
@@ -20,7 +20,7 @@ Homepage: https://www.ahven-framework.com/
 Vcs-Browser: https://git.codelabs.ch/?p=debian/ahven.git
 Vcs-Git: https://git.codelabs.ch/git/debian/ahven.git
 
-Package: libahven6-dev
+Package: libahven7-dev
 Section: libdevel
 Architecture: any
 Depends: ${misc:Depends}, ${ada:Depends}
@@ -33,7 +33,7 @@ Description: Unit test library for Ada (development)
  .
  This package contains the development files.
 
-Package: libahven27
+Package: libahven28
 # This line is parsed by debian/rules.
 Architecture: any
 Multi-Arch: same
-- 
2.18.0

Reply via email to