- Update to 2.3.0, fixing build with python 3.8

PR:		241791 [1], 241793 [2]
Submitted by:	yasu@utahime.org [1], osidorkin@gmail.com [2]
Reported by:	amdmi3 [1]
Approved by:	maintainer timeout (timur, 2 weeks)
This commit is contained in:
Dmitry Marakasov 2019-11-23 12:54:04 +00:00
parent b0fe6c86c1
commit a1c8d7a9fc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=518227
3 changed files with 9 additions and 10 deletions

View file

@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= talloc
PORTVERSION= 2.2.0
PORTVERSION= 2.3.0
PORTREVISION= 0
CATEGORIES= devel
MASTER_SITES= SAMBA

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1558143287
SHA256 (talloc-2.2.0.tar.gz) = 5c6f6a45ef96b3fd0b28942673a68d0c6af5dcca9d676a2e4d57ce7e86c22ebc
SIZE (talloc-2.2.0.tar.gz) = 633467
TIMESTAMP = 1573498827
SHA256 (talloc-2.3.0.tar.gz) = 75d5bcb34482545a82ffb06da8f6c797f963a0da450d0830c669267b14992fc6
SIZE (talloc-2.3.0.tar.gz) = 642364

View file

@ -1,4 +1,4 @@
--- buildtools/wafsamba/samba_autoconf.py.orig 2019-03-21 10:12:32 UTC
--- buildtools/wafsamba/samba_autoconf.py.orig 2019-09-03 13:59:55 UTC
+++ buildtools/wafsamba/samba_autoconf.py
@@ -573,7 +573,7 @@ def library_flags(self, libs):
@ -26,11 +26,10 @@
if not res:
if mandatory:
@@ -925,6 +928,5 @@ def SAMBA_CHECK_UNDEFINED_SYMBOL_FLAGS(c
@@ -944,5 +947,5 @@ def SAMBA_CHECK_UNDEFINED_SYMBOL_FLAGS(conf):
conf.env.undefined_ldflags = conf.ADD_LDFLAGS('-Wl,-no-undefined', testflags=True)
if not sys.platform.startswith("openbsd") and conf.env.undefined_ignore_ldflags == []:
- if conf.CHECK_LDFLAGS(['-undefined', 'dynamic_lookup']):
+ if conf.CHECK_LDFLAGS(['-undefined', 'dynamic_lookup'] + conf.env.WERROR_CFLAGS):
if (conf.env.undefined_ignore_ldflags == [] and
- conf.CHECK_LDFLAGS(['-undefined', 'dynamic_lookup'])):
+ conf.CHECK_LDFLAGS(['-undefined', 'dynamic_lookup'] + conf.env.WERROR_CFLAGS)):
conf.env.undefined_ignore_ldflags = ['-undefined', 'dynamic_lookup']
-