monotone-commits-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-commits-diffs] net.venge.monotone.issue-182: 0567ddefc130f0311


From: code
Subject: [Monotone-commits-diffs] net.venge.monotone.issue-182: 0567ddefc130f03116a1b8a4e3a9a277a9da87af
Date: Mon, 12 Sep 2011 13:09:10 +0200 (CEST)

revision:            0567ddefc130f03116a1b8a4e3a9a277a9da87af
date:                2011-09-08T08:33:09
author:              address@hidden
branch:              net.venge.monotone.issue-182
changelog:
Adjust botan runtime version check to accept 1.10.x.

manifest:
format_version "1"

new_manifest [8031e6dfd0e363586c53e3a66fefafd35e95b0bd]

old_revision [754a7a4e12aafce0cf45ab00329f0b6513502066]

patch "src/monotone.cc"
 from [a25ecdd170a601db798b63a60add7681609a34c4]
   to [2c5f57762bc687a90f75e732f39d2181fc50bd6d]
============================================================
--- src/monotone.cc	a25ecdd170a601db798b63a60add7681609a34c4
+++ src/monotone.cc	2c5f57762bc687a90f75e732f39d2181fc50bd6d
@@ -170,11 +170,16 @@ cpp_main(int argc, char ** argv)
       // versions, including all of the stable branch 1.8.x.
       E(linked_botan_version < BOTAN_VERSION_CODE_FOR(1,9,0), origin::system,
         F("this monotone binary does not work with Botan 1.9.x"));
-#else
+#elif BOTAN_VERSION_CODE < BOTAN_VERSION_CODE_FOR(1,9,11)
       E(linked_botan_version > BOTAN_VERSION_CODE_FOR(1,7,22), origin::system,
         F("this monotone binary requires Botan 1.7.22 or newer"));
       E(linked_botan_version < BOTAN_VERSION_CODE_FOR(1,9,0), origin::system,
         F("this monotone binary does not work with Botan 1.9.x"));
+#else
+      E(linked_botan_version > BOTAN_VERSION_CODE_FOR(1,9,11), origin::system,
+        F("this monotone binary requires Botan 1.9.11 or newer"));
+      E(linked_botan_version < BOTAN_VERSION_CODE_FOR(1,11,0), origin::system,
+        F("this monotone binary does not work with Botan 1.11.x"));
 #endif
 
       app_state app;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]