botan, add patch for configure.py for cmd:python3 (#7403)

This commit is contained in:
Schrijvers Luc
2022-11-13 08:56:05 +01:00
committed by GitHub
parent 9c93aafe4a
commit df9190a2ef
2 changed files with 22 additions and 2 deletions

View File

@@ -6,11 +6,12 @@ hardware support, password hashing, and post quantum crypto schemes. \
Botan also has a C89 API specifically designed to be easy to call from other \
languages."
HOMEPAGE="https://botan.randombit.net/"
COPYRIGHT="1999-2018 The Botan Authors"
COPYRIGHT="1999-2022 The Botan Authors"
LICENSE="BSD (2-clause)"
REVISION="1"
REVISION="2"
SOURCE_URI="https://github.com/randombit/botan/archive/refs/tags/$portVersion.tar.gz"
CHECKSUM_SHA256="47bb0330255cf1a439db3f2bc91894b2f41788e58eb71d27e0abf36038d93f1e"
PATCHES="botan-$portVersion.patchset"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"

View File

@@ -0,0 +1,19 @@
From 36ed1edcafba861515a6d5bac1b00f3306f98671 Mon Sep 17 00:00:00 2001
From: begasus <begasus@gmail.com>
Date: Sun, 13 Nov 2022 08:42:34 +0100
Subject: botan, add configure.py patch for cmd:python3
diff --git a/configure.py b/configure.py
index 72e02c3..7208e3f 100755
--- a/configure.py
+++ b/configure.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""
Configuration program for botan
--
2.37.3