From c14b6beda71ab29cc773c8418f15cef3f0cb1d70 Mon Sep 17 00:00:00 2001 From: persan Date: Tue, 10 Apr 2018 06:28:41 +0200 Subject: [PATCH] Prepare for tag --- .gitignore | 1 + README.md | 14 ++++++-------- src/zmq-sockets.ads | 11 +++++++---- src/zmq.ads | 2 +- zmq.gpr | 2 +- 5 files changed, 16 insertions(+), 14 deletions(-) diff --git a/.gitignore b/.gitignore index 83b04ad..7dcb2d3 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,4 @@ temp.out _temp.sed libzmq.gpr libsodium.gpr +_ diff --git a/README.md b/README.md index 8f4f464..01911fe 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,15 @@ zeromq-Ada - provides an Ada-binding the 0MQ library + provides an Ada-binding the 0MQ library Prerequisits: - zeromq 4.x installed (Works with zeromq 3.x as well but will warn) + zeromq 4.x installed (Works with zeromq 3.x as well but will warn) a modern GCC (4.3 or better) with Ada enabled - + Install: $ ./configure $ make $ sudo make install -Tested on - Fedora 23 /native - - - +Tested on + Fedora 27 /native + GNATPro 19.0w diff --git a/src/zmq-sockets.ads b/src/zmq-sockets.ads index d674df8..6b1b2c7 100644 --- a/src/zmq-sockets.ads +++ b/src/zmq-sockets.ads @@ -51,10 +51,13 @@ package ZMQ.Sockets is XPUB, XSUB, STREAM); - XREQ : constant Socket_Type := DEALER; - pragma Obsolescent (XREQ, "use DEALER"); - XREP : constant Socket_Type := ROUTER; - pragma Obsolescent (XREP, "use ROUTER"); + + XREQ : constant Socket_Type := DEALER with + Obsolescent => "use DEALER"; + + XREP : constant Socket_Type := ROUTER with + Obsolescent => "use DEALER"; + type Socket is new Ada.Finalization.Limited_Controlled with private; type Any_Socket is access all Socket'Class; diff --git a/src/zmq.ads b/src/zmq.ads index 0361bd9..a7dd460 100644 --- a/src/zmq.ads +++ b/src/zmq.ads @@ -43,7 +43,7 @@ package ZMQ is Patch : aliased Natural; end record; - Binding_Version : constant Version_Type := (4, 1, 4); + Binding_Version : constant Version_Type := (4, 1, 5); function Library_Version return Version_Type; function Image (Item : Version_Type) return String; diff --git a/zmq.gpr b/zmq.gpr index 265f2ac..97166b5 100644 --- a/zmq.gpr +++ b/zmq.gpr @@ -35,7 +35,7 @@ project ZMQ is type ZMQ_Kind_Type is ("static", "relocatable"); ZMQ_Kind : ZMQ_Kind_Type := external ("LIBRARY_TYPE", "static"); - Version := "4.1.4"; + Version := "4.1.5"; for Library_Name use "zmqAda"; for Library_Version use "lib" & project'Library_Name & ".so." & Version;