View | Details | Raw Unified | Return to bug 251106 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-1 / +1 lines)
Lines 1-7 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=	botan
3
PORTNAME=	botan
4
DISTVERSION=	2.17.1
4
DISTVERSION=	2.17.2
5
CATEGORIES=	security
5
CATEGORIES=	security
6
MASTER_SITES=	http://botan.randombit.net/releases/
6
MASTER_SITES=	http://botan.randombit.net/releases/
7
PKGNAMESUFFIX=	2
7
PKGNAMESUFFIX=	2
(-)distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1604775880
1
TIMESTAMP = 1605386323
2
SHA256 (Botan-2.17.1.tar.xz) = 741358b3f1638ed7d9b2f59b4e344aa46f4966b15958b5434c0ac1580df0c0c1
2
SHA256 (Botan-2.17.2.tar.xz) = ebe27dfe2b55d7e02bf520e926606c48b76b22facb483256b13ab38e018e1e6c
3
SIZE (Botan-2.17.1.tar.xz) = 5970240
3
SIZE (Botan-2.17.2.tar.xz) = 5940964
(-)files/patch-fix-link-paths (+36 lines)
Line 0 Link Here
1
From 639a5c4515a36bcbadb82145d755005620c535c3 Mon Sep 17 00:00:00 2001
2
From: Jack Lloyd <jack@randombit.net>
3
Date: Fri, 13 Nov 2020 18:04:09 -0500
4
Subject: [PATCH] Fix use of -L flag when combined with --external-libdir
5
6
GH #2496
7
--- configure.py.orig	2020-11-14 16:39:43 UTC
8
+++ configure.py
9
@@ -2118,9 +2118,9 @@ def create_template_vars(source_paths, build_paths, op
10
 
11
         'visibility_attribute': cc.gen_visibility_attribute(options),
12
 
13
-        'lib_link_cmd': cc.so_link_command_for(osinfo.basename, options) + ' ' + external_link_cmd(),
14
-        'exe_link_cmd': cc.binary_link_command_for(osinfo.basename, options) + ' ' + external_link_cmd(),
15
-        'post_link_cmd': '',
16
+        'lib_link_cmd': cc.so_link_command_for(osinfo.basename, options),
17
+        'exe_link_cmd': cc.binary_link_command_for(osinfo.basename, options),
18
+        'external_link_cmd': external_link_cmd(),
19
 
20
         'ar_command': ar_command(),
21
         'ar_options': options.ar_options or cc.ar_options or osinfo.ar_options,
22
 configure.py               | 6 +++---
23
 src/build-data/makefile.in | 2 +-
24
 2 files changed, 4 insertions(+), 4 deletions(-)
25
26
--- src/build-data/makefile.in.orig	2020-11-07 07:43:35 UTC
27
+++ src/build-data/makefile.in
28
@@ -20,7 +20,7 @@ LDFLAGS        = %{ldflags}
29
 
30
 EXE_LINK_CMD   = %{exe_link_cmd}
31
 
32
-LIB_LINKS_TO   = %{link_to}
33
+LIB_LINKS_TO   = %{external_link_cmd} %{link_to}
34
 EXE_LINKS_TO   = %{link_to_botan} $(LIB_LINKS_TO)
35
 
36
 BUILD_FLAGS    = $(ABI_FLAGS) $(LANG_FLAGS) $(CXXFLAGS) $(WARN_FLAGS)

Return to bug 251106